public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] remoteproc: ingenic: fix platform_get_irq.cocci warnings
@ 2019-11-18 16:12 Julia Lawall
  0 siblings, 0 replies; only message in thread
From: Julia Lawall @ 2019-11-18 16:12 UTC (permalink / raw)
  To: Paul Cercueil
  Cc: Ohad Ben-Cohen, Bjorn Andersson, Rob Herring, Mark Rutland, od,
	linux-remoteproc, devicetree, linux-kernel, Paul Cercueil,
	kbuild-all

From: kbuild test robot <lkp@intel.com>

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 <paul@crapouillou.net>
Signed-off-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
---

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(-)

--- a/drivers/remoteproc/ingenic_rproc.c
+++ b/drivers/remoteproc/ingenic_rproc.c
@@ -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;
 	}


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-18 16:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-18 16:12 [PATCH] remoteproc: ingenic: fix platform_get_irq.cocci warnings Julia Lawall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox