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)
commit1cd48dc51857899e8fb28dd45d4b936c94ea1dab
tree45c8e70dcdda61416021920cef485c455db5bdd9
parentf420c54e4b12c1361c6ed313002ee7bd7ac58362
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