Input: novatek-nvt-ts - fix input_register_device() failure error message

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>
Link: https://lore.kernel.org/r/20230710123633.323937-1-hdegoede@redhat.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
Hans de Goede 2023-07-10 14:36:32 +02:00 committed by Dmitry Torokhov
parent 685b37704c
commit 8542937688

View File

@ -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;
}