and switch to using brightness_set_blocking op. Signed-off-by: Andrew Lunn <and...@lunn.ch> Cc: Antonio Ospite <osp...@studenti.unina.it> Signed-off-by: Jacek Anaszewski <j.anaszew...@samsung.com> --- drivers/leds/leds-regulator.c | 46 +++++--- 1 file changed, 12 insertions...
> Signed-off-by: Andrew Lunn <and...@lunn.ch> > Cc: Antonio Ospite <osp...@studenti.unina.it> I can't test the changes, but they look good to me. Acked-by: Antonio Ospite Maybe regulator_led_set_value() can even be folded into regulator_led_brightness_set() adjusting the call...
Signed-off-by: Andrew Lunn <and...@lunn.ch> Cc: Antonio Ospite <osp...@studenti.unina.it> Signed-off-by: Jacek Anaszewski <j.anaszew...@samsung.com> --- drivers/leds/leds-lp3944.c | 32 +++++--- 1 file changed, 8 insertions(+), 24 deletions(-) diff --git a/drivers/leds...
Now the core implements the work queue, remove it from the drivers. Signed-off-by: Andrew Lunn <and...@lunn.ch> Cc: Antonio Ospite <osp...@studenti.unina.it> --- drivers/leds/leds-regulator.c | 34 +++++--- 1 file changed, 9 insertions(+), 25 deletions(-) diff --git a/dri...