remoteproc: ingenic: fix platform_get_irq.cocci warnings
Subsystems (2)
PATCH 1/1 remoteproc: ingenic: fix platform_get_irq.cocci warnings
From: kbuild test robot <[email protected]>
Remove dev_err() messages after platform_get_irq*() failures as platform_get_irq already prints an error message.
Generated by: scripts/coccinelle/api/platform_get_irq.cocci
Fixes 7cb488f13ccb ("remoteproc: ingenic: Added remoteproc driver")
CC Paul Cercueil <[email protected]>
Signed-off-by kbuild test robot <[email protected]>
Signed-off-by Julia Lawall <[email protected]>
---
The extra {} will have to go as well.
url: https://github.com/0day-ci/linux/commits/Paul-Cercueil/dt-bindings-Document-JZ47xx-VPU-auxiliary-processor/20191117-011034 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
:::::: branch date: 2 days ago
:::::: commit date: 2 days ago
Please take the patch only if it's a positive warning. Thanks!
ingenic_rproc.c | 1 - 1 file changed, 1 deletion(-)
drivers/remoteproc/ingenic_rproc.c +0 -1
@@ -201,7 +201,6 @@ static int ingenic_rproc_probe(struct pl vpu->irq =platform_get_irq (pdev,0 );if (vpu->irq <0 ) { -dev_err (dev,"Failed to get platform IRQ" );return vpu->irq; }