]> git.baikalelectronics.ru Git - kernel.git/commit
Input: apanel - switch to using brightness_set_blocking()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 6 Feb 2019 18:32:46 +0000 (10:32 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 17 Feb 2019 05:43:56 +0000 (21:43 -0800)
commit84a9c04016f84272aefdd432d5f3587df5365ace
tree45c8e70dcdda61416021920cef485c455db5bdd9
parent7e49ce24f0bc47efc98a79ab3b4a890511669203
Input: apanel - switch to using brightness_set_blocking()

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.

Reviewed-by: Sven Van Asbroeck <TheSven73@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/apanel.c