diff mbox series

Input: wacom_w8001: Correct device name generation

Message ID 20240605164656.61623-1-jason.gerecke@wacom.com (mailing list archive)
State Mainlined
Commit 7ba38c2a9e1a8d11d5286ef8e14f86247d5443ff
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(-)

Comments

Dmitry Torokhov June 6, 2024, 9:09 p.m. UTC | #1
On Wed, Jun 05, 2024 at 09:46:56AM -0700, Gerecke, Jason wrote:
> 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>

Applied, thank you.
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);