Input: wacom_w8001 - correct device name generation

Fixes: 6c7cc1a29d1e ("Input: wacom_w8001 - simplify device name generation")
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Link: https://lore.kernel.org/r/20240605164656.61623-1-jason.gerecke@wacom.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
Jason Gerecke 2024-06-06 13:41:01 -07:00 committed by Dmitry Torokhov
parent 2960d4c8e7
commit 7ba38c2a9e

View File

@ -649,7 +649,7 @@ static int w8001_connect(struct serio *serio, struct serio_driver *drv)
}
if (!err_touch) {
snprintf(w8001->pen_name, sizeof(w8001->pen_name),
snprintf(w8001->touch_name, sizeof(w8001->touch_name),
"%s Finger", basename);
input_dev_touch->name = w8001->touch_name;