diff options
author | Stephen Kitt <steve@sk2.org> | 2022-06-07 21:23:30 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-01-09 09:57:50 +0100 |
commit | 1535ec976414d2ea8d29d40da6b5b99c91e0f2bf (patch) | |
tree | 6387b76cee96c8d0ca97038c413b2cd26b7f1d09 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5b3fc9988d1e4be268d834c2aaae85c75fa34253 (diff) |
fbdev: atyfb: 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 <steve@sk2.org>
Cc: Helge Deller <deller@gmx.de>
Cc: linux-fbdev@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions