[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211126130141.1811848-3-tero.kristo@linux.intel.com>
Date: Fri, 26 Nov 2021 15:01:35 +0200
From: Tero Kristo <tero.kristo@...ux.intel.com>
To: linux-input@...r.kernel.org, benjamin.tissoires@...hat.com,
jikos@...nel.org, mika.westerberg@...ux.intel.com,
tero.kristo@...ux.intel.com
Cc: linux-kernel@...r.kernel.org, dmitry.torokhov@...il.com,
peter.hutterer@...-t.net
Subject: [RFCv2 2/8] HID: hid-input: Add suffix also for HID_DG_PEN
From: Mika Westerberg <mika.westerberg@...ux.intel.com>
This and HID_DG_STYLUS are pretty much the same thing so add suffix for
HID_DG_PEN too. This makes the input device name look better.
Signed-off-by: Mika Westerberg <mika.westerberg@...ux.intel.com>
---
drivers/hid/hid-input.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c
index 39ebedb2323b..73c2edda742e 100644
--- a/drivers/hid/hid-input.c
+++ b/drivers/hid/hid-input.c
@@ -1737,6 +1737,7 @@ static struct hid_input *hidinput_allocate(struct hid_device *hid,
case HID_GD_MOUSE:
suffix = "Mouse";
break;
+ case HID_DG_PEN:
case HID_DG_STYLUS:
suffix = "Pen";
break;
--
2.25.1
Powered by blists - more mailing lists