leds: add LED_ON brightness as boolean value
authorAndi Shyti <andi.shyti@samsung.com>
Thu, 5 Jan 2017 02:34:12 +0000 (11:34 +0900)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>
Thu, 5 Jan 2017 22:01:05 +0000 (23:01 +0100)
commit4e552c8cb5bc9137e67e035bab8df6dddbca7384
tree34331a79af07fc74c710768dbc6188d6001c47c8
parente64b8cc72bf9958efd4f38e55d2980c95e0ce679
leds: add LED_ON brightness as boolean value

Some devices do not handle the led brightness or simply don't
care about it. Conceptually said devices want to just switch on
or off the led. It is useless in this case to have a 255 range
of brightness, while just having an LED_ON and LED_OFF improves
the boolean meaning of the led status.

Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
include/linux/leds.h