]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ALPS - copy "model" info into alps_data struct
authorKevin Cernekee <cernekee@gmail.com>
Thu, 14 Feb 2013 04:56:33 +0000 (20:56 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 14 Feb 2013 17:17:43 +0000 (09:17 -0800)
commitc7a1e6aa45fcea8e794430cd07344ed941788177
tree64cf9740392adaf35030b2d2fc1b536e1c41eac1
parent514078d753740cc7e9ca29ec7f663372f6773036
Input: ALPS - copy "model" info into alps_data struct

Not every type of ALPS touchpad is well-suited to table-based detection.
Start moving the various alps_model_data attributes into the alps_data
struct so that we don't need a unique table entry for every possible
permutation of protocol version, flags, byte0/mask0, etc.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Tested-by: Dave Turvene <dturvene@dahetral.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/alps.c
drivers/input/mouse/alps.h