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)
commitf2209d4aefac246772152c5294af49f2800f646b
tree1f41f1d452726e29fdd6311df81da0f3eb72e79b
parent6005a13c90a31501f3c21797b567e845c7098f25
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