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

Commit 0654b5440a62 ("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