commit | 24ba9707829818daab711eed7e41313d5e56d0b4 | [log] [tgz] |
---|---|---|
author | Kevin Cernekee <cernekee@gmail.com> | Wed Feb 13 22:19:01 2013 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Thu Feb 14 09:17:52 2013 -0800 |
tree | d0b765cca4a754b8f5c53f4dfddc91a092540d5a | |
parent | 2e992cc030d8e4e42632bcc9e16605e629886778 [diff] |
Input: ALPS - introduce helper function for repeated commands 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>