hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/input/serio/ps2-gpio.c
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * GPIO based serio bus driver for bit banging the PS/2 protocol
34 *
45 * Author: Danilo Krummrich <danilokrummrich@dk-develop.de>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
96 */
107
118 #include <linux/gpio/consumer.h>
....@@ -372,8 +369,6 @@
372369
373370 drvdata->irq = platform_get_irq(pdev, 0);
374371 if (drvdata->irq < 0) {
375
- dev_err(dev, "failed to get irq from platform resource: %d\n",
376
- drvdata->irq);
377372 error = drvdata->irq;
378373 goto err_free_serio;
379374 }