Commit d5a158ce authored by Jonathan Bakker's avatar Jonathan Bakker Committed by Dmitry Torokhov

Input: tm2-touchkey - correct initial brightness

tm2-touchkey doesn't have brightness levels, but only on/off states,
so replace LED_FULL with LED_ON.
Signed-off-by: default avatarJonathan Bakker <xc-racer2@live.ca>
Signed-off-by: default avatarPaweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent d6f66f61
...@@ -230,7 +230,7 @@ static int tm2_touchkey_probe(struct i2c_client *client, ...@@ -230,7 +230,7 @@ static int tm2_touchkey_probe(struct i2c_client *client,
/* led device */ /* led device */
touchkey->led_dev.name = TM2_TOUCHKEY_DEV_NAME; touchkey->led_dev.name = TM2_TOUCHKEY_DEV_NAME;
touchkey->led_dev.brightness = LED_FULL; touchkey->led_dev.brightness = LED_ON;
touchkey->led_dev.max_brightness = LED_ON; touchkey->led_dev.max_brightness = LED_ON;
touchkey->led_dev.brightness_set = tm2_touchkey_led_brightness_set; touchkey->led_dev.brightness_set = tm2_touchkey_led_brightness_set;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment