diff options
| author | Michał Kępień <kernel@kempniu.pl> | 2017-05-19 10:44:46 +0300 |
|---|---|---|
| committer | Darren Hart (VMware) <dvhart@infradead.org> | 2017-06-03 22:04:37 +0300 |
| commit | 84631e0c8b90411b424682eec4084006fae3f2cc (patch) | |
| tree | 230774a90d3b4f015214f9001ff4cc5aa6ecde02 /include/linux/memory_hotplug.h | |
| parent | ca0d9eab0fb5b92c94de049241d639c2db66c3a6 (diff) | |
| download | linux-84631e0c8b90411b424682eec4084006fae3f2cc.tar.xz | |
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 'include/linux/memory_hotplug.h')
0 files changed, 0 insertions, 0 deletions
