]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wacom: generic: Strip off excessive name prefixing
authorJason Gerecke <killertofu@gmail.com>
Thu, 20 Oct 2016 01:03:41 +0000 (18:03 -0700)
committerJiri Kosina <jkosina@suse.cz>
Thu, 20 Oct 2016 07:53:56 +0000 (09:53 +0200)
commita3a8b791b2d790477f1c7e34010dca9716564a5b
tree1f41f1d452726e29fdd6311df81da0f3eb72e79b
parent013d628bd578c07dcd5eaf045dbaa0b6b84809ae
HID: wacom: generic: Strip off excessive name prefixing

The product name received from the string descriptor in the new MobileStudio
Pro line of tablets begins with "Wacom", which leads to unnecessary visual
noise in the device name when appended to the vendor name which also includes
"Wacom". Look for and fix cases like this.

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_sys.c