HID: logitech: Simplify wheel detection scheme
authorSimon Wood <simon@mungewell.org>
Mon, 2 Nov 2015 14:56:51 +0000 (07:56 -0700)
committerJiri Kosina <jkosina@suse.cz>
Fri, 6 Nov 2015 20:18:05 +0000 (21:18 +0100)
commitbbec1bd0faa211a0a0abaf947cd4a236d080ad28
tree7c1d61b6215fa5af6e77d01e4c7530cc73e2ecba
parent90cdd986335eddb7cac6e456f7c48c1ce76fd095
HID: logitech: Simplify wheel detection scheme

Simplfy how hid-logitech driver detects the native mode of the wheel,
done by looking at the USB-ID revision and comparing bit mask.

Signed-off-by: Simon Wood <simon@mungewell.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lg4ff.c