diff options
author | 2017-01-09 14:14:17 +0100 | |
---|---|---|
committer | 2017-02-04 02:47:07 +0100 | |
commit | 5c461e8e74a6a67cbd31ce0c9db5f8d0a41dccdd (patch) | |
tree | 930d581a3ad88abd4d3729330ea3f9bd57a069da /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | platform/x86: fujitsu-laptop: rework logolamp_set() to properly handle errors (diff) | |
download | wireguard-linux-5c461e8e74a6a67cbd31ce0c9db5f8d0a41dccdd.tar.xz wireguard-linux-5c461e8e74a6a67cbd31ce0c9db5f8d0a41dccdd.zip |
platform/x86: fujitsu-laptop: simplify logolamp_get()
Now that call_fext_func() is invoked by logolamp_set() for both
LOGOLAMP_POWERON and LOGOLAMP_ALWAYS for every brightness value,
logolamp_get() can be simplified to decrease indentation and number of
local variables.
Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Acked-by: Jonathan Woithe <jwoithe@just42.net>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions