]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wacom: Set default device name to value from wacom->features
authorJason Gerecke <killertofu@gmail.com>
Tue, 14 Jul 2015 01:03:45 +0000 (18:03 -0700)
committerJiri Kosina <jkosina@suse.com>
Fri, 17 Jul 2015 09:25:20 +0000 (11:25 +0200)
commitac59e767725eeb7586ad90d6bca26c20e9a0cfdf
tree7f7d1800b7a71040427ee6454b9aef1a1ccab59f
parent3d9b7cd3cdc2f9cb0e16e8f5e4e5efbe9b4d10c3
HID: wacom: Set default device name to value from wacom->features

Allocated input devices should not use the 'pen_name' by default since
we do not know at that point in time if that is an appropriate choice
of name. Instead, use the (tool-agnostic) name that is stored in the
device's 'wacom_features' structure. This also has the nice side-effect
of requring us to be explicit about the naming of the pen device, as
we already are for touch and pad devices.

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/wacom_sys.c