diff options
author | Luca Weiss <luca@z3ntu.xyz> | 2024-02-20 00:11:21 +0100 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-03-07 09:03:29 +0000 |
commit | dc0ba74e51a7497c3c88ab7c31aa3723645c6f9a (patch) | |
tree | 6a2ce5e556b3e56750bff3df9114683bcaccf7c7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4bf7ddd2d2f0f8826f25f74c7eba4e2c323a1446 (diff) |
backlight: lm3630a: Use backlight_get_brightness helper in update_status
As per documentation "drivers are expected to use this function in their
update_status() operation to get the brightness value.".
With this we can also drop the manual backlight_is_blank() handling
since backlight_get_brightness() is already handling this correctly.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20240220-lm3630a-fixups-v1-3-9ca62f7e4a33@z3ntu.xyz
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions