aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorStephen Kitt <[email protected]>2022-06-07 21:00:49 +0200
committerGreg Kroah-Hartman <[email protected]>2022-06-10 09:00:43 +0200
commit72aef4f60ff90984fe7aa8b09698120a73373d7f (patch)
treeb86d7dbac64bd0214d63986fbca846b9e61e7bcf /tools/perf/scripts/python/bin/stackcollapse-record
parent18697b479330508491928a0d8593ba6c005591b7 (diff)
staging: olpc_dcon: 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. Cc: Jens Frederich <[email protected]> Cc: Jon Nettleton <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: [email protected] Signed-off-by: Stephen Kitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions