aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorMichał Kępień <[email protected]>2017-01-11 09:59:31 +0100
committerDarren Hart <[email protected]>2017-02-04 02:47:18 +0100
commit2451d19d5d6a4659e5345024efdef3fc5336938a (patch)
treece04823c82543025bb987bcd5f8eed9d08aaa884 /tools/perf/util/c++/clang.cpp
parenteb357cbaf7018342699386e93d292233181e8262 (diff)
platform/x86: fujitsu-laptop: move keycode processing to separate functions
acpi_fujitsu_hotkey_notify() is pretty deeply nested, which hurts readability. Move the keycode processing part to two separate functions to make the code easier to understand and save a few line breaks. Rename variable keycode_r to keycode as there is no longer any need to differentiate between the two. Tweak indentations to make checkpatch happy. Signed-off-by: Michał Kępień <[email protected]> Acked-by: Jonathan Woithe <[email protected]> Signed-off-by: Darren Hart <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions