diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2024-01-05 03:06:01 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2024-01-21 08:49:56 +0100 |
commit | fead90507a37e73d41f6059b325b34412ed8d84b (patch) | |
tree | 9eab98f31595745f8935eea0130e1dcc651bb022 /drivers/video/fbdev/vt8500lcdfb.c | |
parent | Merge tag 'v6.8-rc-part2-smb-client' of git://git.samba.org/sfrench/cifs-2.6 (diff) | |
download | linux-fead90507a37e73d41f6059b325b34412ed8d84b.tar.xz linux-fead90507a37e73d41f6059b325b34412ed8d84b.zip |
fbdev: vt8500lcdfb: Remove unnecessary print function dev_err()
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>
Diffstat (limited to 'drivers/video/fbdev/vt8500lcdfb.c')
-rw-r--r-- | drivers/video/fbdev/vt8500lcdfb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/fbdev/vt8500lcdfb.c b/drivers/video/fbdev/vt8500lcdfb.c index 42c25dc85197..ac73937073a7 100644 --- 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; } |