Skip to content

Commit fead905

Browse files
wb-zjp846396hdeller
authored andcommitted
fbdev: vt8500lcdfb: Remove unnecessary print function dev_err()
The print function dev_err() is redundant because platform_get_irq() already prints an error. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7824 Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Helge Deller <deller@gmx.de>
1 parent 7a39682 commit fead905

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/video/fbdev/vt8500lcdfb.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,6 @@ static int vt8500lcd_probe(struct platform_device *pdev)
374374

375375
irq = platform_get_irq(pdev, 0);
376376
if (irq < 0) {
377-
dev_err(&pdev->dev, "no IRQ defined\n");
378377
ret = -ENODEV;
379378
goto failed_free_palette;
380379
}

0 commit comments

Comments
 (0)