aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2022-02-03 15:32:19 +0100
committerJiri Kosina <jkosina@suse.cz>2022-03-01 15:46:02 +0100
commitf2d4ddfa640d2371bad55891159102acd2504108 (patch)
treee6cadbb82e7c427bbf8cffcd42ada172ca4a2746 /tools/perf/util/scripting-engines/trace-event-python.c
parentHID: input: tag touchscreens as such if the physical is not there (diff)
downloadwireguard-linux-f2d4ddfa640d2371bad55891159102acd2504108.tar.xz
wireguard-linux-f2d4ddfa640d2371bad55891159102acd2504108.zip
HID: input: rework spaghetti code with switch statements
Instead of using multiple `if (a == b)`, use the switch statement which has been done exactly for that. There should be no functional change (I don't expect moving down HID_QUIRK_{X|Y}_INVERT having any impact. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Reviewed-by: Ping Cheng <ping.cheng@wacom.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions