diff options
author | Yihao Han <hanyihao@vivo.com> | 2022-03-01 19:44:08 -0800 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-03-03 11:13:30 +0100 |
commit | 961e366c85314c31a367fcf32fa944be64167d75 (patch) | |
tree | 46334658123c98e0493bf2e453d96a323f5a958a /drivers | |
parent | bd771cf5c4254511cc4abb88f3dab3bd58bdf8e8 (diff) |
video: fbdev: s3c-fb: fix platform_get_irq.cocci warning
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/fbdev/s3c-fb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/fbdev/s3c-fb.c b/drivers/video/fbdev/s3c-fb.c index 576b0d9b8803..fe3c8b6935cf 100644 --- 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; } |