[PATCH v2 8/8] platform/x86: fujitsu-laptop: use device-specific data in remaining module code

2017-05-19 Thread Michał Kępień
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

[PATCH v2 8/8] platform/x86: fujitsu-laptop: use device-specific data in remaining module code

2017-05-19 Thread Michał Kępień
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