Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <tangbin@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20220519130855.7664-1-tangbin@cmss.chinamobile.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Tang Bin and committed by
Vinod Koul
8f64c2a4 a94a098a

+1 -3
+1 -3
drivers/dma/xilinx/xilinx_dpdma.c
··· 1652 1652 dpdma_hw_init(xdev); 1653 1653 1654 1654 xdev->irq = platform_get_irq(pdev, 0); 1655 - if (xdev->irq < 0) { 1656 - dev_err(xdev->dev, "failed to get platform irq\n"); 1655 + if (xdev->irq < 0) 1657 1656 return xdev->irq; 1658 - } 1659 1657 1660 1658 ret = request_irq(xdev->irq, xilinx_dpdma_irq_handler, IRQF_SHARED, 1661 1659 dev_name(xdev->dev), xdev);