hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/input/keyboard/spear-keyboard.c
....@@ -191,10 +191,8 @@
191191 int error;
192192
193193 irq = platform_get_irq(pdev, 0);
194
- if (irq < 0) {
195
- dev_err(&pdev->dev, "not able to get irq for the device\n");
194
+ if (irq < 0)
196195 return irq;
197
- }
198196
199197 kbd = devm_kzalloc(&pdev->dev, sizeof(*kbd), GFP_KERNEL);
200198 if (!kbd) {