]> git.baikalelectronics.ru Git - kernel.git/commit
Input: tm2-touchkey - use LEN_ON as boolean value instead of LED_FULL
authorAndi Shyti <andi.shyti@samsung.com>
Fri, 2 Jun 2017 05:05:40 +0000 (22:05 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 2 Jun 2017 05:08:05 +0000 (22:08 -0700)
commit35a5ba956b88ffe186d0f8c51e482159e5b5cbaa
tree0b48020c57b89f46682946a40b4a3a4ecc7a17b0
parent2398dc7f49f9e4fd5daab2afc7cfafd8efaac7c7
Input: tm2-touchkey - use LEN_ON as boolean value instead of LED_FULL

Commit 5077f0760f82 ("leds: add LED_ON brightness as boolean value")
has introduced the LED_ON enumeration value that can be used
instead of LED_FULL which has more of a linear value.

Because the tm2-touchscreen doesn't have brightness levels, but
it's a simple on/off led, use LED_ON instead of LED_FULL.

Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Reviewed-by: Jaechul Lee <jcsing.lee@samsung.com>
Tested-by: Jaechul Lee <jcsing.lee@samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/tm2-touchkey.c