dmaengine: milbeaut-hdmac: remove redundant error log
Subsystems (2)
Vinod Koul
maintainerPATCH 1/2 dmaengine: milbeaut-hdmac: remove redundant error log
platform_get_irq() prints the error message, so caller need not do so, remove the error line in this driver for platform_get_irq()
Reported-by kbuild test robot <[email protected]>
Signed-off-by Vinod Koul <[email protected]>
--- drivers/dma/milbeaut-hdmac.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/dma/milbeaut-hdmac.c +1 -4
@@ -431,11 +431,8 @@ static int milbeaut_hdmac_chan_init(struct platform_device *pdev,int irq, ret; irq =platform_get_irq (pdev, chan_id); -if (irq <0 ) { -dev_err (&pdev->dev,"failed to get IRQ number for ch%d\n" , - chan_id); +if (irq <0 )return irq; - } irq_name =devm_kasprintf (dev,GFP_KERNEL ,"milbeaut-hdmac-%d" , chan_id);
Signature · 1 line
2.23.0
Vinod Koul
maintainerPATCH 2/2 dmaengine: milbeaut-xdmac: remove redundant error log
platform_get_irq() prints the error message, so caller need not do so, remove the error line in this driver for platform_get_irq()
Reported-by kbuild test robot <[email protected]>
Signed-off-by Vinod Koul <[email protected]>
--- drivers/dma/milbeaut-xdmac.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/dma/milbeaut-xdmac.c +1 -4
@@ -269,11 +269,8 @@ static int milbeaut_xdmac_chan_init(struct platform_device *pdev,int irq, ret; irq =platform_get_irq (pdev, chan_id); -if (irq <0 ) { -dev_err (&pdev->dev,"failed to get IRQ number for ch%d\n" , - chan_id); +if (irq <0 )return irq; - } irq_name =devm_kasprintf (dev,GFP_KERNEL ,"milbeaut-xdmac-%d" , chan_id);
Signature · 1 line
2.23.0
Vinod Koul
maintainerQuoted 2 lines · Vinod Koul
platform_get_irq()prints the error message, so caller need not do so, remove the error line in this driver forplatform_get_irq()
Applied these now
Signature · 1 line
~Vinod