diff options
author | 2013-02-13 22:22:08 -0800 | |
---|---|---|
committer | 2013-02-14 09:18:01 -0800 | |
commit | 24af5cb95f1b93c6c72a73113494ace4bcbee5a2 (patch) | |
tree | 4fbce336278f640e92f98b58ddb216bad0161cfe /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Input: ALPS - rework detection sequence (diff) | |
download | linux-dev-24af5cb95f1b93c6c72a73113494ace4bcbee5a2.tar.xz linux-dev-24af5cb95f1b93c6c72a73113494ace4bcbee5a2.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions