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)
commit99df65e705503a97a5fceb30317086a091b4052d
tree64cf9740392adaf35030b2d2fc1b536e1c41eac1
parent88a803482c4165642409bab77424a27939d51500
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