hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/input/keyboard/pxa27x_keypad.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * linux/drivers/input/keyboard/pxa27x_keypad.c
34 *
....@@ -9,10 +10,6 @@
910 * Based on a previous implementations by Kevin O'Connor
1011 * <kevin_at_koconnor.net> and Alex Osborne <bobofdoom@gmail.com> and
1112 * on some suggestions by Nicolas Pitre <nico@fluxnic.net>.
12
- *
13
- * This program is free software; you can redistribute it and/or modify
14
- * it under the terms of the GNU General Public License version 2 as
15
- * published by the Free Software Foundation.
1613 */
1714
1815
....@@ -730,10 +727,8 @@
730727 return -EINVAL;
731728
732729 irq = platform_get_irq(pdev, 0);
733
- if (irq < 0) {
734
- dev_err(&pdev->dev, "failed to get keypad irq\n");
730
+ if (irq < 0)
735731 return -ENXIO;
736
- }
737732
738733 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
739734 if (res == NULL) {