]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
HID: hid-input: Add suffix also for HID_DG_PEN
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 10 Dec 2021 11:11:35 +0000 (13:11 +0200)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Tue, 14 Dec 2021 09:08:40 +0000 (10:08 +0100)
commitc0ee1d571626d659535becdc3d9f2583be3b9208
treec4994b49fa8a6bf201ebc1c3944c64c6f6dc63ef
parent8aa45b544db9788b0fcc7a300eba8a3ade5d3d50
HID: hid-input: Add suffix also for HID_DG_PEN

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.

While doing this, remove the suffix override from hid-multitouch, as it
is now handled by hid-input. Also, the suffix override done by
hid-multitouch was wrong, as it mapped HID_DG_PEN => "Stylus" and
HID_DG_STYLUS => "Pen".

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Tero Kristo <tero.kristo@linux.intel.com>
[bentiss: amended to keep the same name for hid-multitouch devices]
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Link: https://lore.kernel.org/r/20211210111138.1248187-3-tero.kristo@linux.intel.com
drivers/hid/hid-input.c
drivers/hid/hid-multitouch.c