summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2017-02-08 23:02:07 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-02-10 00:01:33 +0300
commitbf3e8502eefdbb7ac1b8163e5c3acdcb505ae745 (patch)
treeec769b5cce72393a5a6cbfa30750123ff6bd606b /tools/perf/scripts/python/export-to-postgresql.py
parentbf23cfc34317dcc10d5a52f27affb1c4dcc60a98 (diff)
downloadlinux-bf3e8502eefdbb7ac1b8163e5c3acdcb505ae745.tar.xz
Input: synaptics-rmi4 - clean up F30 implementation
This patch does several cleanup changes to F30 code - switch to using BIT() macro - use DIV_ROUND_UP() where appropriate - factor out code setting up and reporting buttons - use single loop when reporting buttons: arithmetic is cheap compared to conditionals and associated branch misprediction. Tested-By: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions