mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-07 13:43:51 +00:00
fbdev: omap: Remove unnecessary print function dev_err()
The print function dev_err() is redundant because platform_get_irq() already prints an error. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=1957 Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
07c55c9803
commit
144c467398
@ -1643,14 +1643,12 @@ static int omapfb_do_probe(struct platform_device *pdev,
|
||||
}
|
||||
fbdev->int_irq = platform_get_irq(pdev, 0);
|
||||
if (fbdev->int_irq < 0) {
|
||||
dev_err(&pdev->dev, "unable to get irq\n");
|
||||
r = ENXIO;
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
fbdev->ext_irq = platform_get_irq(pdev, 1);
|
||||
if (fbdev->ext_irq < 0) {
|
||||
dev_err(&pdev->dev, "unable to get irq\n");
|
||||
r = ENXIO;
|
||||
goto cleanup;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user