From: Jason Gerecke Date: Thu, 6 Jun 2024 20:41:01 +0000 (-0700) Subject: Input: wacom_w8001 - correct device name generation X-Git-Tag: v6.11-rc1~98^2^2~64 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ba38c2a9e1a8d11d5286ef8e14f86247d5443ff;p=thirdparty%2Fkernel%2Flinux.git 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 --- diff --git a/drivers/input/touchscreen/wacom_w8001.c b/drivers/input/touchscreen/wacom_w8001.c index c61908518afe6..4ddb6b3baba53 100644 --- a/drivers/input/touchscreen/wacom_w8001.c +++ b/drivers/input/touchscreen/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;