diff options
author | 2017-02-09 16:44:12 +0100 | |
---|---|---|
committer | 2017-02-24 23:48:51 -0800 | |
commit | 86ec0c2c0b527dc1574e5e95436bec5499102a3d (patch) | |
tree | 639011a0bcc384d33e08587196ee0982a99fffa2 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | platform/x86: thinkpad_acpi: Stop setting led_classdev brightness directly (diff) | |
download | wireguard-linux-86ec0c2c0b527dc1574e5e95436bec5499102a3d.tar.xz wireguard-linux-86ec0c2c0b527dc1574e5e95436bec5499102a3d.zip |
platform/x86: thinkpad_acpi: Use brightness_set_blocking callback for LEDs
Now a days the LED core can take care of executing brightness_set from
a workqueue if it needs to sleep, make use of this and remove a bunch
of DIY code for this.
Since this commit removes the workqueue usage for LEDs, the
led_sysfs_blink_set callback may now also sleep, this is fine.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions