projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6697255
)
dmaengine: uniphier-xdmac: Remove redandant error log for platform_get_irq
author
Vinod Koul
<vkoul@kernel.org>
Mon, 23 Mar 2020 17:19:28 +0000
(22:49 +0530)
committer
Vinod Koul
<vkoul@kernel.org>
Thu, 26 Mar 2020 06:52:56 +0000
(12:22 +0530)
platform_get_irq prints the error on failure, so there is no need to
have caller add a log.
Remove the log in uniphier_xdmac_probe() for platform_get_irq() failure
Reported-by: kbuild test robot <lkp@intel.com>
Link:
https://lore.kernel.org/r/20200323171928.424223-1-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/uniphier-xdmac.c
patch
|
blob
|
history
diff --git
a/drivers/dma/uniphier-xdmac.c
b/drivers/dma/uniphier-xdmac.c
index 2f6fd518d18008df833987d2eb151589aeb05aec..7b2f8a8c2d31939699a70b2a6c7bd3fd648ab7ed 100644
(file)
--- a/
drivers/dma/uniphier-xdmac.c
+++ b/
drivers/dma/uniphier-xdmac.c
@@
-525,10
+525,8
@@
static int uniphier_xdmac_probe(struct platform_device *pdev)
uniphier_xdmac_chan_init(xdev, i);
irq = platform_get_irq(pdev, 0);
- if (irq < 0) {
- dev_err(dev, "Failed to get IRQ\n");
+ if (irq < 0)
return irq;
- }
ret = devm_request_irq(dev, irq, uniphier_xdmac_irq_handler,
IRQF_SHARED, "xdmac", xdev);