aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorMichał Kępień <kernel@kempniu.pl>2017-05-19 09:44:43 +0200
committerDarren Hart (VMware) <dvhart@infradead.org>2017-06-03 12:03:52 -0700
commitf2db7c646b716160dbb8832c24d47a35e9ac299a (patch)
treef513e836b2f3db14231fd84678c09478bc28bca3 /tools/perf/scripts/python/sctop.py
parentplatform/x86: fujitsu-laptop: allocate fujitsu_bl in acpi_fujitsu_bl_add() (diff)
downloadlinux-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/sctop.py')
0 files changed, 0 insertions, 0 deletions