projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a39682
)
fbdev: vt8500lcdfb: Remove unnecessary print function dev_err()
author
Jiapeng Chong
<jiapeng.chong@linux.alibaba.com>
Fri, 5 Jan 2024 02:06:01 +0000
(10:06 +0800)
committer
Helge Deller
<deller@gmx.de>
Sun, 21 Jan 2024 07:49:56 +0000
(08:49 +0100)
The print function dev_err() is redundant because platform_get_irq()
already prints an error.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7824
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/vt8500lcdfb.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/vt8500lcdfb.c
b/drivers/video/fbdev/vt8500lcdfb.c
index 42c25dc851976c5fa823b89fc4f72e5826d17459..ac73937073a76f7d22df39a503ac59bda2d4a7da 100644
(file)
--- a/
drivers/video/fbdev/vt8500lcdfb.c
+++ b/
drivers/video/fbdev/vt8500lcdfb.c
@@
-374,7
+374,6
@@
static int vt8500lcd_probe(struct platform_device *pdev)
irq = platform_get_irq(pdev, 0);
if (irq < 0) {
- dev_err(&pdev->dev, "no IRQ defined\n");
ret = -ENODEV;
goto failed_free_palette;
}