projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd771cf
)
video: fbdev: s3c-fb: fix platform_get_irq.cocci warning
author
Yihao Han
<hanyihao@vivo.com>
Wed, 2 Mar 2022 03:44:08 +0000
(19:44 -0800)
committer
Helge Deller
<deller@gmx.de>
Thu, 3 Mar 2022 10:13:30 +0000
(11:13 +0100)
Remove dev_err() messages after platform_get_irq*() failures.
platform_get_irq() already prints an error.
Generated by: scripts/coccinelle/api/platform_get_irq.cocci
Signed-off-by: Yihao Han <hanyihao@vivo.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/s3c-fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/s3c-fb.c
b/drivers/video/fbdev/s3c-fb.c
index
576b0d9
..
fe3c8b6
100644
(file)
--- a/
drivers/video/fbdev/s3c-fb.c
+++ b/
drivers/video/fbdev/s3c-fb.c
@@
-1418,7
+1418,6
@@
static int s3c_fb_probe(struct platform_device *pdev)
sfb->irq_no = platform_get_irq(pdev, 0);
if (sfb->irq_no < 0) {
- dev_err(dev, "failed to acquire irq resource\n");
ret = -ENOENT;
goto err_lcd_clk;
}