summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen
diff options
context:
space:
mode:
authorJason Gerecke <jason.gerecke@wacom.com>2024-06-06 22:41:01 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-06-06 22:43:10 +0200
commit7ba38c2a9e1a8d11d5286ef8e14f86247d5443ff (patch)
tree9c25200f0ac0c8bdbad4500ebe77c9acab608499 /drivers/input/touchscreen
parentInput: tablet - use sizeof(*pointer) instead of sizeof(type) (diff)
downloadlinux-7ba38c2a9e1a8d11d5286ef8e14f86247d5443ff.tar.xz
linux-7ba38c2a9e1a8d11d5286ef8e14f86247d5443ff.zip
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>
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r--drivers/input/touchscreen/wacom_w8001.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/wacom_w8001.c b/drivers/input/touchscreen/wacom_w8001.c
index c61908518afe..4ddb6b3baba5 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;