forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/tty/serial/8250/8250_lpc18xx.c
....@@ -106,10 +106,8 @@
106106 int irq, ret;
107107
108108 irq = platform_get_irq(pdev, 0);
109
- if (irq < 0) {
110
- dev_err(&pdev->dev, "irq not found");
109
+ if (irq < 0)
111110 return irq;
112
- }
113111
114112 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
115113 if (!res) {