From bedbef8ad3e75a304af6361af235302bcc61d06b Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 14 May 2024 06:39:01 +0000 Subject: [PATCH] 修改内核路径 --- kernel/drivers/input/serio/ps2-gpio.c | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/kernel/drivers/input/serio/ps2-gpio.c b/kernel/drivers/input/serio/ps2-gpio.c index 5e8d838..8970b49 100644 --- a/kernel/drivers/input/serio/ps2-gpio.c +++ b/kernel/drivers/input/serio/ps2-gpio.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * GPIO based serio bus driver for bit banging the PS/2 protocol * * Author: Danilo Krummrich <danilokrummrich@dk-develop.de> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include <linux/gpio/consumer.h> @@ -372,8 +369,6 @@ drvdata->irq = platform_get_irq(pdev, 0); if (drvdata->irq < 0) { - dev_err(dev, "failed to get irq from platform resource: %d\n", - drvdata->irq); error = drvdata->irq; goto err_free_serio; } -- Gitblit v1.6.2