diff options
| author | Michał Kępień <kernel@kempniu.pl> | 2017-05-19 10:44:43 +0300 |
|---|---|---|
| committer | Darren Hart (VMware) <dvhart@infradead.org> | 2017-06-03 22:03:52 +0300 |
| commit | f2db7c646b716160dbb8832c24d47a35e9ac299a (patch) | |
| tree | f513e836b2f3db14231fd84678c09478bc28bca3 /include/linux/memory.h | |
| parent | 679374e49c6f6691f5b19751b3a2e36cba0c4a4d (diff) | |
| download | linux-f2db7c646b716160dbb8832c24d47a35e9ac299a.tar.xz | |
platform/x86: fujitsu-laptop: use device-specific data in backlight code
To prevent using module-wide data in backlight-related code, employ
acpi_driver_data() and bl_get_data() where possible to fetch
device-specific data to work on in each function. This makes the input
local variable in acpi_fujitsu_bl_notify() and the acpi_handle field of
struct fujitsu_bl redundant, so remove them.
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.h')
0 files changed, 0 insertions, 0 deletions
