commit | de7b490cdfe46e34e3eb567019b4e3b3747b5c0b | [log] [tgz] |
---|---|---|
author | Sam Ravnborg <sam@ravnborg.org> | Sun Jul 19 10:07:39 2020 +0200 |
committer | Lee Jones <lee.jones@linaro.org> | Mon Jul 20 10:27:05 2020 +0100 |
tree | 1126fa018b078b770743e83419af90d7a471d45a | |
parent | 24d34617c24f9d41953f76f2fbf282334584f5db [diff] |
backlight: gpio_backlight: Simplify update_status() Introduce the use of backlight_get_brightness() to simplify the update_status() operation. With the simpler implementation drop the gpio_backlight_get_next_brightness() helper as it was now a one-liner. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>