video: fbdev: don't print error message on platform_get_irq() failure
authorTang Bin <tangbin@cmss.chinamobile.com>
Mon, 6 Apr 2020 05:34:50 +0000 (13:34 +0800)
committerSam Ravnborg <sam@ravnborg.org>
Tue, 7 Apr 2020 18:10:59 +0000 (20:10 +0200)
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
drivers/video/fbdev/atmel_lcdfb.c

index d567f5d..1e25219 100644 (file)
@@ -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;
        }