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)
commitc4beedb8a914af9c8c1b6e67c753adf411e05160
tree0b48020c57b89f46682946a40b4a3a4ecc7a17b0
parent2fef826e45c6a1e63f55ab72546f7d795300d9a8
Input: tm2-touchkey - use LEN_ON as boolean value instead of LED_FULL

Commit 4e552c8cb5bc ("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