[PATCH 3/3] Input: tsc2007 - drop redundant error message on IRQ request failure

From: Dmitry Torokhov

Date: Fri Nov 13 2026 - 19:02:56 EST


devm_request_threaded_irq() already logs an error message when
requesting the interrupt fails, so the additional dev_err() call in
tsc2007_input_configure() is redundant. Remove it.

Suggested-by: Andy Shevchenko <andy@xxxxxxxxxx>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
---
drivers/input/touchscreen/tsc2007_core.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/tsc2007_core.c b/drivers/input/touchscreen/tsc2007_core.c
index d55034914808..3597f71f6c33 100644
--- a/drivers/input/touchscreen/tsc2007_core.c
+++ b/drivers/input/touchscreen/tsc2007_core.c
@@ -276,10 +276,8 @@ static int tsc2007_input_configure(struct tsc2007 *ts)
NULL, tsc2007_soft_irq,
IRQF_ONESHOT | IRQF_NO_AUTOEN,
dev->driver->name, ts);
- if (err) {
- dev_err(dev, "Failed to request irq %d: %d\n", ts->irq, err);
+ if (err)
return err;
- }

err = input_register_device(input_dev);
if (err) {
--
2.56.0.679.gc527c65306-goog