diff options
author | 2017-05-19 09:44:46 +0200 | |
---|---|---|
committer | 2017-06-03 12:04:37 -0700 | |
commit | 84631e0c8b90411b424682eec4084006fae3f2cc (patch) | |
tree | 230774a90d3b4f015214f9001ff4cc5aa6ecde02 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | platform/x86: fujitsu-laptop: track the last instantiated FUJ02E3 ACPI device (diff) | |
download | linux-dev-84631e0c8b90411b424682eec4084006fae3f2cc.tar.xz linux-dev-84631e0c8b90411b424682eec4084006fae3f2cc.zip |
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ń <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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions