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

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

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

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