diff options
author | Sam Ravnborg <[email protected]> | 2020-07-19 10:07:37 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2020-07-20 10:27:03 +0100 |
commit | 5a09765ddedd34f176275c72ffbe567e428e2dfc (patch) | |
tree | 068e056f32ef45103974c23ebf73b2e91f0f67f9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2144d00ed0db28c764513080f95e4c49ea9133b0 (diff) |
backlight: as3711_bl: Simplify update_status
Replaces the open-coded checks of the state, with the
backlight_get_brightness() helper. This increases readability of the
code and align the functionality across the drivers.
Furthermore drop the debug prints in update_status().
If we need debug printing then we can add it to the backlight core.
Signed-off-by: Sam Ravnborg <[email protected]>
Reviewed-by: Daniel Thompson <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions