提交 961e366c 编写于 作者: Y Yihao Han 提交者: Helge Deller

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: NYihao Han <hanyihao@vivo.com>
Signed-off-by: NHelge Deller <deller@gmx.de>
上级 bd771cf5
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册