Input: ALPS - introduce helper function for repeated commands
authorKevin Cernekee <cernekee@gmail.com>
Thu, 14 Feb 2013 06:19:01 +0000 (22:19 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 14 Feb 2013 17:17:52 +0000 (09:17 -0800)
Several ALPS driver init sequences repeat a command three times, then
issue PSMOUSE_CMD_GETINFO to read the result.  Move this into a helper
function to simplify the code.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Tested-by: Dave Turvene <dturvene@dahetral.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

No differences found