From 23fa18eaa71266feff7ba8d83022d9e1cc83c65a Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 07:42:03 +0000
Subject: [PATCH] disable pwm7

---
 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