aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorMichał Kępień <kernel@kempniu.pl>2017-05-19 09:44:48 +0200
committerDarren Hart (VMware) <dvhart@infradead.org>2017-06-03 12:04:47 -0700
commitd659d11ad37b2bfa8192fdf0ca2850eba955fee5 (patch)
tree438c326a0835310ea64db5a079682a7adf9cd022 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentplatform/x86: fujitsu-laptop: use device-specific data in LED-related code (diff)
downloadlinux-dev-d659d11ad37b2bfa8192fdf0ca2850eba955fee5.tar.xz
linux-dev-d659d11ad37b2bfa8192fdf0ca2850eba955fee5.zip
platform/x86: fujitsu-laptop: use device-specific data in remaining module code
To avoid using module-wide data in remaining module code, employ acpi_driver_data() and dev_get_drvdata() to fetch device-specific data to work on in each function. This makes the input local variables in hotkey-related callbacks and the module-wide struct fujitsu_laptop redundant, so remove them. Adjust whitespace to make checkpatch happy. 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