[PATCH v2 7/8] platform/x86: fujitsu-laptop: use device-specific data in LED-related code

2017-05-19 Thread Michał Kępień
In order to perform their duties, all LED callbacks need a pointer to the struct acpi_device representing the FUJ02E3 ACPI device. To limit the use of the module-wide pointer, the same pointer should be extracted from data that gets passed to LED callbacks as arguments. However, LED core does

[PATCH v2 7/8] platform/x86: fujitsu-laptop: use device-specific data in LED-related code

2017-05-19 Thread Michał Kępień
In order to perform their duties, all LED callbacks need a pointer to the struct acpi_device representing the FUJ02E3 ACPI device. To limit the use of the module-wide pointer, the same pointer should be extracted from data that gets passed to LED callbacks as arguments. However, LED core does