From 102a0743326a03cd1a1202ceda21e175b7d3575c Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 20 Feb 2024 01:20:52 +0000
Subject: [PATCH] add new system file

---
 kernel/drivers/input/keyboard/bcm-keypad.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/kernel/drivers/input/keyboard/bcm-keypad.c b/kernel/drivers/input/keyboard/bcm-keypad.c
index e1cf63e..2b771c3 100644
--- a/kernel/drivers/input/keyboard/bcm-keypad.c
+++ b/kernel/drivers/input/keyboard/bcm-keypad.c
@@ -413,10 +413,8 @@
 	bcm_kp_stop(kp);
 
 	kp->irq = platform_get_irq(pdev, 0);
-	if (kp->irq < 0) {
-		dev_err(&pdev->dev, "no IRQ specified\n");
+	if (kp->irq < 0)
 		return -EINVAL;
-	}
 
 	error = devm_request_threaded_irq(&pdev->dev, kp->irq,
 					  NULL, bcm_kp_isr_thread,

--
Gitblit v1.6.2