Re: [PATCH v2] Input: apanel - switch to using brightness_set_blocking()

From: Sven Van Asbroeck
Date: Mon Feb 11 2019 - 20:21:37 EST


On Mon, Feb 11, 2019 at 5:47 PM Dmitry Torokhov
<dmitry.torokhov@xxxxxxxxx> wrote:
>
> Now that LEDs core allows "blocking" flavor of "set brightness" method we
> can use it and get rid of private work item. As a bonus, we are no longer
> forgetting to cancel it when we unbind the driver.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> ---
> v2: get rid of led_bits member (Sven)

Looking good !

Reviewed-by: Sven Van Asbroeck <TheSven73@xxxxxxxxx>