diff options
author | Michał Kępień <kernel@kempniu.pl> | 2017-04-03 11:38:58 +0200 |
---|---|---|
committer | Darren Hart (VMware) <dvhart@infradead.org> | 2017-04-13 10:14:35 -0700 |
commit | 17e23555616116e1668e83029d26354c2479c78b (patch) | |
tree | 6836ea35982b78f7c43bab12af4b69b4f8a176bd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b10664105df0d26d1150f90ac508be0125fe5b42 (diff) |
platform/x86: fujitsu-laptop: simplify call_fext_func()
acpi_evaluate_integer() takes a pathname parameter which contains the
name of the entity to evaluate underneath the given handle, so calling
acpi_get_handle() beforehand is redundant. Replace the call to
acpi_get_handle() with a call to acpi_evaluate_integer(), thus
eliminating the need for a local variable storing the handle. Adjust
whitespace to make checkpatch happy.
Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Reviewed-by: Jonathan Woithe <jwoithe@just42.net>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions