diff options
author | Kevin Cernekee <cernekee@gmail.com> | 2013-02-13 22:19:01 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-02-14 09:17:52 -0800 |
commit | 24ba9707829818daab711eed7e41313d5e56d0b4 (patch) | |
tree | d0b765cca4a754b8f5c53f4dfddc91a092540d5a /lib/bcd.c | |
parent | 2e992cc030d8e4e42632bcc9e16605e629886778 (diff) | |
download | linux-24ba9707829818daab711eed7e41313d5e56d0b4.tar.gz linux-24ba9707829818daab711eed7e41313d5e56d0b4.tar.bz2 linux-24ba9707829818daab711eed7e41313d5e56d0b4.zip |
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>
Diffstat (limited to 'lib/bcd.c')
0 files changed, 0 insertions, 0 deletions