diff options
author | Vinod Koul <vkoul@kernel.org> | 2019-11-06 22:01:27 +0530 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-11-08 09:26:17 +0530 |
commit | 7d4a069c5889b4f36f89841d5dea538aef88a9e1 (patch) | |
tree | 1d27e29250f6fdc41dabfc29bfb58ab65b8aaf40 /drivers | |
parent | 9568feda4e2914bc50c5cd4fbca57210815f9dc9 (diff) | |
download | linux-7d4a069c5889b4f36f89841d5dea538aef88a9e1.tar.gz linux-7d4a069c5889b4f36f89841d5dea538aef88a9e1.tar.bz2 linux-7d4a069c5889b4f36f89841d5dea538aef88a9e1.zip |
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 <lkp@intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20191106163128.1980714-1-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dma/milbeaut-hdmac.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/dma/milbeaut-hdmac.c b/drivers/dma/milbeaut-hdmac.c index 2bb33535ab9e..8853d442430b 100644 --- a/drivers/dma/milbeaut-hdmac.c +++ b/drivers/dma/milbeaut-hdmac.c @@ -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); |