HID: uclogic: make input_mapping independent of usb
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Sun, 15 Mar 2015 18:26:27 +0000 (14:26 -0400)
committerJiri Kosina <jkosina@suse.cz>
Mon, 16 Mar 2015 14:46:47 +0000 (15:46 +0100)
commitee20fe2386e4390285cfbd52b9a67596d1f1e894
treeb2b8ab13477f008debf2522a8676b5fd4277f811
parentbbb2d8a890733256d12b2c796eadaf54e70e9af5
HID: uclogic: make input_mapping independent of usb

No need to retrieve the USB handle in input_mapping() when we already
do that in probe. It also allows to use the quirk without having to
add the product ID matching.

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