aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichał Kępień <[email protected]>2017-03-01 07:42:53 +0100
committerDarren Hart <[email protected]>2017-03-14 22:57:14 -0700
commit5efc800463bc340abf6b5e7abd84f7a9522a428d (patch)
treefdbde647b0b38fd5e34d687509e623c8219991ed /tools/perf/scripts/python
parent1f3bc53d843f92d6e7e7cf56ee79acec918e6421 (diff)
platform/x86: fujitsu-laptop: decrease indentation in acpi_fujitsu_bl_notify()
acpi_fujitsu_bl_notify() is pretty deeply nested, which hurts readability. Strip off one level of indentation by returning early when the event code supplied as argument is not ACPI_FUJITSU_NOTIFY_CODE1. Signed-off-by: Michał Kępień <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-and-tested-by: Jonathan Woithe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions