aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util
diff options
context:
space:
mode:
authorStephen Kitt <[email protected]>2022-06-07 21:23:35 +0200
committerHelge Deller <[email protected]>2023-01-09 09:57:51 +0100
commit8791906e667e44eddd62b341196f93911da8a578 (patch)
treebf3db100509030a4ab7fefdb7f16698f5ea9e793 /tools/perf/scripts/python/Perf-Trace-Util
parent450afd92d9cb177e0337c9ac26677765aeeff81a (diff)
fbdev: riva: Use backlight helper
Instead of retrieving the backlight brightness in struct backlight_properties manually, and then checking whether the backlight should be on at all, use backlight_get_brightness() which does all this and insulates this from future changes. Signed-off-by: Stephen Kitt <[email protected]> Cc: Antonino Daplas <[email protected]> Cc: Helge Deller <[email protected]> Cc: [email protected] Cc: [email protected] Reviewed-by: Daniel Thompson <[email protected]> Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions