]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
HID: logitech-hidpp: separate HID++ from WTP processing
authorPeter Wu <peter@lekensteyn.nl>
Tue, 16 Dec 2014 23:23:51 +0000 (00:23 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 17 Dec 2014 07:53:51 +0000 (08:53 +0100)
commite529fea919872c6568bbda7873c64ac5d807ee83
tree4b433d3bae5412bca305ea5d9bbc5a820bd65e4a
parent0349678ccd74d16c1f2bb58ecafec13ef7110e36
HID: logitech-hidpp: separate HID++ from WTP processing

Previously wtp_raw_event would be called through
hidpp_raw_hidpp_event (for the touchpad report) and hidpp_raw_event
(for the mouse report).

This patch removes one calling surface, making a clearer distinction
between "generic HID++ processing" (matching internal reports) and
device-specific event processing.

Suggested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-logitech-hidpp.c