diff options
author | 2020-07-19 10:07:39 +0200 | |
---|---|---|
committer | 2020-07-20 10:27:05 +0100 | |
commit | de7b490cdfe46e34e3eb567019b4e3b3747b5c0b (patch) | |
tree | 1126fa018b078b770743e83419af90d7a471d45a /scripts/bpf_helpers_doc.py | |
parent | backlight: cr_bllcd: Introduce gpio-backlight semantics (diff) | |
download | linux-dev-de7b490cdfe46e34e3eb567019b4e3b3747b5c0b.tar.xz linux-dev-de7b490cdfe46e34e3eb567019b4e3b3747b5c0b.zip |
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>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions