Commit 85429376 authored by Hans de Goede's avatar Hans de Goede Committed by Dmitry Torokhov

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: default avatarPeter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20230710123633.323937-1-hdegoede@redhat.comSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 685b3770
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment