[PATCH 0/5] LED flash: Set brightness in a sync way on demand
From: Jacek Anaszewski
Date: Mon Sep 21 2015 - 10:31:00 EST
Since it has become apparent that user should decide whether brightness
is to be set in a synchronous or an asynchronousi way, export internal
led_set_brightness_sync API and remove SET_BRIGHTNESS_SYNC and
SET_BRIGHTNESS_ASYNC flags from the LED core. After patch set [1] flash
LED drivers don't longer have to implement brightness_set op and use work
queues internally. Remove the redundant code from them.
Thanks,
Jacek Anaszewski
[1] https://lkml.org/lkml/2015/9/16/299
Jacek Anaszewski (5):
leds: core: Drivers shouldn't enforce SYNC/ASYNC brightness setting
Documentation: leds: Add description of brightness setting API
leds: max77693: Remove work queue
leds: aat1290: Remove work queue
leds: ktd2692: Remove work queue
Documentation/leds/leds-class.txt | 21 ++++++++++++++
drivers/leds/led-class-flash.c | 4 ---
drivers/leds/led-class.c | 2 --
drivers/leds/led-core.c | 33 ++++++++++++---------
drivers/leds/leds-aat1290.c | 50 +++++++++-----------------------
drivers/leds/leds-ktd2692.c | 41 ++++----------------------
drivers/leds/leds-max77693.c | 57 ++++++-------------------------------
drivers/leds/leds.h | 13 ---------
include/linux/leds.h | 19 +++++++++++--
9 files changed, 84 insertions(+), 156 deletions(-)
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/