Commit 76066626 authored by Tang Bin's avatar Tang Bin Committed by Sam Ravnborg

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: default avatarTang Bin <tangbin@cmss.chinamobile.com>
Acked-by: default avatarNicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200406053450.8380-1-tangbin@cmss.chinamobile.com
parent 56b165fe
...@@ -1114,7 +1114,6 @@ static int __init atmel_lcdfb_probe(struct platform_device *pdev) ...@@ -1114,7 +1114,6 @@ static int __init atmel_lcdfb_probe(struct platform_device *pdev)
sinfo->irq_base = platform_get_irq(pdev, 0); sinfo->irq_base = platform_get_irq(pdev, 0);
if (sinfo->irq_base < 0) { if (sinfo->irq_base < 0) {
dev_err(dev, "unable to get irq\n");
ret = sinfo->irq_base; ret = sinfo->irq_base;
goto stop_clk; goto stop_clk;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment