aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorLuca Weiss <[email protected]>2024-02-20 00:11:21 +0100
committerLee Jones <[email protected]>2024-03-07 09:03:29 +0000
commitdc0ba74e51a7497c3c88ab7c31aa3723645c6f9a (patch)
tree6a2ce5e556b3e56750bff3df9114683bcaccf7c7 /tools/perf/util/trace-event-scripting.c
parent4bf7ddd2d2f0f8826f25f74c7eba4e2c323a1446 (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 <[email protected]> Reviewed-by: Daniel Thompson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions