linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH resend 1/2] Input: novatek-nvt-ts - fix input_register_device() failure error message
@ 2023-07-10 12:36 Hans de Goede
  2023-07-10 12:36 ` [PATCH resend 2/2] Input: novatek-nvt-ts - add touchscreen model number to description Hans de Goede
  2023-07-10 18:50 ` [PATCH resend 1/2] Input: novatek-nvt-ts - fix input_register_device() failure error message Dmitry Torokhov
  0 siblings, 2 replies; 4+ messages in thread
From: Hans de Goede @ 2023-07-10 12:36 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: Hans de Goede, linux-input, Peter Hutterer

Fix input_register_device() failure logging "failed to request irq"
as error message.

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/input/touchscreen/novatek-nvt-ts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/touchscreen/novatek-nvt-ts.c b/drivers/input/touchscreen/novatek-nvt-ts.c
index 7f7d879aac6d..047e371448ce 100644
--- a/drivers/input/touchscreen/novatek-nvt-ts.c
+++ b/drivers/input/touchscreen/novatek-nvt-ts.c
@@ -272,7 +272,7 @@ static int nvt_ts_probe(struct i2c_client *client)
 
 	error = input_register_device(input);
 	if (error) {
-		dev_err(dev, "failed to request irq: %d\n", error);
+		dev_err(dev, "failed to register input device: %d\n", error);
 		return error;
 	}
 
-- 
2.41.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-07-10 18:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-10 12:36 [PATCH resend 1/2] Input: novatek-nvt-ts - fix input_register_device() failure error message Hans de Goede
2023-07-10 12:36 ` [PATCH resend 2/2] Input: novatek-nvt-ts - add touchscreen model number to description Hans de Goede
2023-07-10 18:51   ` Dmitry Torokhov
2023-07-10 18:50 ` [PATCH resend 1/2] Input: novatek-nvt-ts - fix input_register_device() failure error message Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).