leds: ipaq-micro: Implement brightness_set_blocking op
authorJacek Anaszewski <j.anaszewski@samsung.com>
Fri, 20 Nov 2015 15:47:51 +0000 (16:47 +0100)
committerJacek Anaszewski <j.anaszewski@samsung.com>
Mon, 4 Jan 2016 08:57:38 +0000 (09:57 +0100)
commitba1c8179c3b8e742eee65bc50bdd1396ac763e0e
tree7671ecc6ff3d127139bdb5085654c1076f319bf6
parent5a7c536f26186c313e521502f942d5cdaf05b8ee
leds: ipaq-micro: Implement brightness_set_blocking op

Since brightness setting can sleep for this driver, implement
brightness_set_blocking op, instead of brightness_set.
It makes this driver compatible with LED triggers.

Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
drivers/leds/leds-ipaq-micro.c