]> git.baikalelectronics.ru Git - kernel.git/commit
HID: asus: Parameterize the touchpad code
authorHans de Goede <hdegoede@redhat.com>
Sun, 2 Jul 2017 14:34:12 +0000 (16:34 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 20 Jul 2017 14:01:10 +0000 (16:01 +0200)
commit374cb37d435b85e8a5461d69fe9cf978c2cfafb3
treeb93b5d3c3c38785f60f469f69d76ad79168433ca
parent8d749aaf535d61b5cd817beb91724c03a2ec199d
HID: asus: Parameterize the touchpad code

Instead of having hardcoded (#define-d) values use a struct describing
the various touchpad parameters. This is a preparation patch for
improving the T100TA touchpad support as well as for adding T100CHI
touchpad support.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-asus.c