HID: lenovo-tpkbd: remove usb dependency
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 11 Sep 2013 20:12:24 +0000 (22:12 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 24 Sep 2013 09:47:47 +0000 (11:47 +0200)
commit0c5218362b429ab9cbf295dfe069ce410d180493
tree56b2d893485168173b3253f39e72eeacb83779c8
parent01ab35f14aafbc6e159254f52444895661c2f604
HID: lenovo-tpkbd: remove usb dependency

lenovo tpkbd currently relies on the usb interface number to detect
if it is dealing with the touchpad interface or not.
As the report descriptors of the interface 0 does not contain the
button 3, we can use this to remove the need to check for usb.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/hid-lenovo-tpkbd.c