commit | 24af5cb95f1b93c6c72a73113494ace4bcbee5a2 | [log] [tgz] |
---|---|---|
author | Kevin Cernekee <cernekee@gmail.com> | Wed Feb 13 22:22:08 2013 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Thu Feb 14 09:18:01 2013 -0800 |
tree | 4fbce336278f640e92f98b58ddb216bad0161cfe | |
parent | b5d6b851eab7f346ea5e69f46247b363b32b3670 [diff] |
Input: ALPS - use function pointers for different protocol handlers In anticipation of adding more ALPS protocols and more per-device quirks, use function pointers instead of switch statements to call functions that differ from one device to the next. Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Tested-by: Dave Turvene <dturvene@dahetral.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>