dmaengine: xilinx_dpdma: Omit superfluous error message in xilinx_dpdma_probe()
Subsystems (3)
PATCH 1/1 dmaengine: xilinx_dpdma: Omit superfluous error message in xilinx_dpdma_probe()
In the function xilinx_dpdma_probe(), when get irq failed, the function platform_get_irq() logs an error message, so remove redundant message here.
Signed-off-by Tang Bin <[email protected]>
--- drivers/dma/xilinx/xilinx_dpdma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/dma/xilinx/xilinx_dpdma.c +1 -3
@@ -1652,10 +1652,8 @@ static int xilinx_dpdma_probe(struct platform_device *pdev)dpdma_hw_init (xdev); xdev->irq =platform_get_irq (pdev,0 ); -if (xdev->irq <0 ) { -dev_err (xdev->dev,"failed to get platform irq\n" ); +if (xdev->irq <0 )return xdev->irq; - } ret =request_irq (xdev->irq, xilinx_dpdma_irq_handler,IRQF_SHARED ,dev_name (xdev->dev), xdev);
Signature · 1 line
2.20.1.windows.1
Quoted 3 lines · Tang Bin
In the function
xilinx_dpdma_probe(), when get irq failed, the functionplatform_get_irq()logs an error message, so remove redundant message here.
Applied, thanks
Signature · 1 line
~Vinod