summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorTang Bin <tangbin@cmss.chinamobile.com>2020-04-06 13:34:50 +0800
committerSam Ravnborg <sam@ravnborg.org>2020-04-07 20:10:59 +0200
commit7606662686154d28d53b5acd41fc8678aefaec71 (patch)
treee8aae8249b3e86ed3a2b3fa9bd1388bed628fc33 /drivers/video
parent56b165feaf9bf0e3111d814bad0e4a2e11231a9e (diff)
downloadlinux-7606662686154d28d53b5acd41fc8678aefaec71.tar.gz
linux-7606662686154d28d53b5acd41fc8678aefaec71.tar.bz2
linux-7606662686154d28d53b5acd41fc8678aefaec71.zip
video: fbdev: don't print error message on platform_get_irq() failure
The platform_get_irq() can print error message, so remove the redundant dev_err() here. Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20200406053450.8380-1-tangbin@cmss.chinamobile.com
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/atmel_lcdfb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/fbdev/atmel_lcdfb.c b/drivers/video/fbdev/atmel_lcdfb.c
index d567f5d56c13..1e252192569a 100644
--- a/drivers/video/fbdev/atmel_lcdfb.c
+++ b/drivers/video/fbdev/atmel_lcdfb.c
@@ -1114,7 +1114,6 @@ static int __init atmel_lcdfb_probe(struct platform_device *pdev)
sinfo->irq_base = platform_get_irq(pdev, 0);
if (sinfo->irq_base < 0) {
- dev_err(dev, "unable to get irq\n");
ret = sinfo->irq_base;
goto stop_clk;
}