diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2020-07-19 11:07:38 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-07-20 12:27:04 +0300 |
commit | 24d34617c24f9d41953f76f2fbf282334584f5db (patch) | |
tree | d14f7c8ffa955bdb2fede9dfa9f434d30f629788 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 5a09765ddedd34f176275c72ffbe567e428e2dfc (diff) | |
download | linux-24d34617c24f9d41953f76f2fbf282334584f5db.tar.xz |
backlight: cr_bllcd: Introduce gpio-backlight semantics
cr_bllcd can turn backlight ON or OFF.
Fix semantitics so they equals what we know from gpio-backlight.
brightness == 0 => backlight off
brightness == 1 => backlight on
Use the backlight_get_brightness() helper to simplify the code.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions