leds: powernv: Implement brightness_set_blocking op
authorJacek Anaszewski <j.anaszewski@samsung.com>
Fri, 20 Nov 2015 15:38:50 +0000 (16:38 +0100)
committerJacek Anaszewski <j.anaszewski@samsung.com>
Mon, 4 Jan 2016 08:57:38 +0000 (09:57 +0100)
commitf5db6b8301bf11d8f5422ba8e6cff43add8bd861
tree279e069cf77a3fed45f0f22ca47f6de1bf2afde6
parentba1c8179c3b8e742eee65bc50bdd1396ac763e0e
leds: powernv: 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>
Cc: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
drivers/leds/leds-powernv.c