diff mbox series

Input: wacom_w8001: Correct device name generation

Message ID 20240605164656.61623-1-jason.gerecke@wacom.com
State New
Headers show
Series Input: wacom_w8001: Correct device name generation | expand

Commit Message

Gerecke, Jason June 5, 2024, 4:46 p.m. UTC
From: Jason Gerecke <jason.gerecke@wacom.com>

Fixes: 6c7cc1a29d1e ("Input: wacom_w8001 - simplify device name generation")
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
---
 drivers/input/touchscreen/wacom_w8001.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/input/touchscreen/wacom_w8001.c b/drivers/input/touchscreen/wacom_w8001.c
index e3767db8a664b..ed9cfdd616cac 100644
--- a/drivers/input/touchscreen/wacom_w8001.c
+++ b/drivers/input/touchscreen/wacom_w8001.c
@@ -648,7 +648,7 @@  static int w8001_connect(struct serio *serio, struct serio_driver *drv)
 	}
 
 	if (!err_touch) {
-		snprintf(w8001->pen_name, sizeof(w8001->pen_name), "%s Finger", basename);
+		snprintf(w8001->touch_name, sizeof(w8001->touch_name), "%s Finger", basename);
 		input_dev_touch->name = w8001->touch_name;
 
 		w8001_set_devdata(input_dev_touch, w8001, serio);