diff options
author | 2013-02-13 22:19:01 -0800 | |
---|---|---|
committer | 2013-02-14 09:17:52 -0800 | |
commit | 24ba9707829818daab711eed7e41313d5e56d0b4 (patch) | |
tree | d0b765cca4a754b8f5c53f4dfddc91a092540d5a /tools/perf/scripts/python | |
parent | Input: ALPS - move alps_get_model() down below hw_init code (diff) | |
download | linux-dev-24ba9707829818daab711eed7e41313d5e56d0b4.tar.xz linux-dev-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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions