diff options
author | 2017-05-19 09:44:43 +0200 | |
---|---|---|
committer | 2017-06-03 12:03:52 -0700 | |
commit | f2db7c646b716160dbb8832c24d47a35e9ac299a (patch) | |
tree | f513e836b2f3db14231fd84678c09478bc28bca3 /tools/perf/scripts/python/syscall-counts.py | |
parent | platform/x86: fujitsu-laptop: allocate fujitsu_bl in acpi_fujitsu_bl_add() (diff) | |
download | linux-dev-f2db7c646b716160dbb8832c24d47a35e9ac299a.tar.xz linux-dev-f2db7c646b716160dbb8832c24d47a35e9ac299a.zip |
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 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions