greybus: kernel_ver: add handle for lights in 4.5
authorRui Miguel Silva <rui.silva@linaro.org>
Tue, 12 Jan 2016 14:35:48 +0000 (14:35 +0000)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 13 Jan 2016 23:26:49 +0000 (15:26 -0800)
commitb827e1137ca9b495f10f3215ed6dd6ff738f0c81
tree5444d3dfcaa7acd8647f4d863ad8f22f26fffdca
parentde141314498b3e52cec7a0e5100e4dd278bde4c7
greybus: kernel_ver: add handle for lights in 4.5

In v4.5 the LED API is changed related to the set brightness
operations, set_sync is removed and the workqueue handling is now done
by leds core, so no need for individual drivers to have one.
This will be done by removing the SET_SYNC macro and add a new
SET_BLOCKING.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/kernel_ver.h