From 696639cc6872c500c746553cd4c5c2bad5e54730 Mon Sep 17 00:00:00 2001 From: Jason Gerecke Date: Thu, 6 Jun 2024 13:41:01 -0700 Subject: [PATCH] Input: wacom_w8001 - correct device name generation Fixes: 6c7cc1a29d1e ("Input: wacom_w8001 - simplify device name generation") Signed-off-by: Jason Gerecke Link: https://lore.kernel.org/r/20240605164656.61623-1-jason.gerecke@wacom.com Signed-off-by: Dmitry Torokhov [jason.gerecke@wacom.com: Imported into input-wacom (7ba38c2a9e1a)] Signed-off-by: Jason Gerecke --- 4.5/wacom_w8001.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/4.5/wacom_w8001.c b/4.5/wacom_w8001.c index c6190851..4ddb6b3b 100644 --- a/4.5/wacom_w8001.c +++ b/4.5/wacom_w8001.c @@ -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;