[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.2001042140310.6944@hadrien>
Date: Sat, 4 Jan 2020 21:43:31 +0100 (CET)
From: Julia Lawall <julia.lawall@...ia.fr>
To: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
cc: kbuild-all@...ts.01.org, Andrzej Hajda <a.hajda@...sung.com>,
Allison Randal <allison@...utok.net>,
Jilayne Lovejoy <opensource@...ayne.com>,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>,
Steve Winslow <swinslow@...il.com>,
Thomas Gleixner <tglx@...utronix.de>,
dri-devel@...ts.freedesktop.org, linux-fbdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] video: fbdev: mmp: fix platform_get_irq.cocci warnings
From: kbuild test robot <lkp@...el.com>
Remove dev_err() messages after platform_get_irq*() failures.
Line 450 is redundant because platform_get_irq() already prints
an error.
Generated by: scripts/coccinelle/api/platform_get_irq.cocci
Fixes: dd90e9ae55a1 ("video: fbdev: mmp: add COMPILE_TEST support")
Signed-off-by: kbuild test robot <lkp@...el.com>
Signed-off-by: Julia Lawall <julia.lawall@...ia.fr>
---
tree: git://anongit.freedesktop.org/drm/drm-misc for-linux-next
head: 80805774fc354f9ae7755a8e649a01dedfd0dcf8
commit: dd90e9ae55a1e7efd3ac036afe9f7ae7bb64d39d [2/16] video: fbdev: mmp: add COMPILE_TEST support
:::::: branch date: 11 hours ago
:::::: commit date: 11 hours ago
mmp_ctrl.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/video/fbdev/mmp/hw/mmp_ctrl.c
+++ b/drivers/video/fbdev/mmp/hw/mmp_ctrl.c
@@ -447,7 +447,6 @@ static int mmphw_probe(struct platform_d
irq = platform_get_irq(pdev, 0);
if (irq < 0) {
- dev_err(&pdev->dev, "%s: no IRQ defined\n", __func__);
ret = -ENOENT;
goto failed;
}
Powered by blists - more mailing lists