diff options
author | Tang Bin <tangbin@cmss.chinamobile.com> | 2022-05-19 15:08:55 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-07-06 07:18:14 +0200 |
commit | 8f64c2a4c8b59fe6dfc29add92c55947b1299da3 (patch) | |
tree | e32026f05e15b384cf9a87fcdb771b7b89bf4375 /drivers/dma/xilinx | |
parent | dmaengine: sun4i: Set the maximum segment size (diff) | |
download | linux-8f64c2a4c8b59fe6dfc29add92c55947b1299da3.tar.xz linux-8f64c2a4c8b59fe6dfc29add92c55947b1299da3.zip |
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>
Diffstat (limited to 'drivers/dma/xilinx')
-rw-r--r-- | drivers/dma/xilinx/xilinx_dpdma.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/dma/xilinx/xilinx_dpdma.c b/drivers/dma/xilinx/xilinx_dpdma.c index b0f4948b00a5..f708808d73ba 100644 --- a/drivers/dma/xilinx/xilinx_dpdma.c +++ b/drivers/dma/xilinx/xilinx_dpdma.c @@ -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); |