diff options
| author | Michał Kępień <[email protected]> | 2017-04-03 11:38:58 +0200 |
|---|---|---|
| committer | Darren Hart (VMware) <[email protected]> | 2017-04-13 10:14:35 -0700 |
| commit | 17e23555616116e1668e83029d26354c2479c78b (patch) | |
| tree | 6836ea35982b78f7c43bab12af4b69b4f8a176bd /tools/perf/scripts/python/bin/stackcollapse-record | |
| 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ń <[email protected]>
Reviewed-by: Jonathan Woithe <[email protected]>
Signed-off-by: Darren Hart (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions