aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDarren Hart (VMware) <[email protected]>2018-03-22 18:11:22 -0700
committerDarren Hart (VMware) <[email protected]>2018-04-19 16:25:54 -0700
commitde15b94f87d1e55c51e45127d761ebfab000232e (patch)
tree4478014c1aea73cd9522edf3cc345c54b741f511 /tools/perf/scripts/python/export-to-postgresql.py
parent60cc43fc888428bb2f18f08997432d426a243338 (diff)
platform/x86: fujitsu-laptop: Simplify soft key handling
The hardcoded BIT(X) used in the soft key handling can be confusing and prone to errors. Instead, use the status FLAG_* defines for the sparse keymap index. Rather than check for each known bit, use a bitmask to filter for all known soft keys, and use the for_each_set_bit iterator. Cc: Jan-Marek Glogowski <[email protected]> Cc: Michał Kępień <[email protected]> Reviewed-by: Jonathan Woithe <[email protected]> Signed-off-by: Darren Hart (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions