diff options
| author | Michał Kępień <[email protected]> | 2017-05-19 09:44:46 +0200 |
|---|---|---|
| committer | Darren Hart (VMware) <[email protected]> | 2017-06-03 12:04:37 -0700 |
| commit | 84631e0c8b90411b424682eec4084006fae3f2cc (patch) | |
| tree | 230774a90d3b4f015214f9001ff4cc5aa6ecde02 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | ca0d9eab0fb5b92c94de049241d639c2db66c3a6 (diff) | |
platform/x86: fujitsu-laptop: explicitly pass ACPI device to call_fext_func()
Prepare for not using module-wide data in call_fext_func() by explicitly
passing it a pointer to struct acpi_device while still using a
module-wide pointer in each call.
Doing this enables call_fext_func() to fetch the ACPI handle from its
argument, making the acpi_handle field of struct fujitsu_laptop useless,
so remove that field. While we are at it, the dev field of the same
structure is assigned in acpi_fujitsu_laptop_add() but not used for
anything, so remove it as well.
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/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions