From: Kevin Cernekee Date: Thu, 14 Feb 2013 06:19:01 +0000 (-0800) Subject: Input: ALPS - introduce helper function for repeated commands X-Git-Tag: v3.9-rc1~150^2^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24ba9707829818daab711eed7e41313d5e56d0b4;p=pandora-kernel.git 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 Tested-by: Dave Turvene Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed