linux/drivers/video/fbdev/aty
Stephen Kitt c28509ef9c fbdev: radeon: 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: Benjamin Herrenschmidt <benh@kernel.crashing.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>
2023-01-09 09:57:50 +01:00
..
ati_ids.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
aty128fb.c fbdev: aty128fb: Use backlight helper 2023-01-09 09:57:50 +01:00
atyfb_base.c fbdev: atyfb: Use backlight helper 2023-01-09 09:57:50 +01:00
atyfb.h fbdev: atyfb: always declare aty_{ld,st}_lcd() 2021-03-11 11:11:32 +01:00
mach64_accel.c mach64: optimize wait_for_fifo 2018-10-08 12:57:35 +02:00
mach64_ct.c video: fbdev: mach64_ct: remove redundant res variable 2022-01-29 22:24:24 +01:00
mach64_cursor.c video: fbdev: atyfb: mach64_cursor.c: deleted the repeated word 2021-06-03 10:32:49 +02:00
mach64_gx.c video: fbdev: atyfb: Remove assigned but never used variable statements 2022-01-29 22:24:26 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
radeon_accel.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
radeon_backlight.c fbdev: radeon: Use backlight helper 2023-01-09 09:57:50 +01:00
radeon_base.c fbdev: Add support for the nomodeset kernel parameter 2022-11-16 13:26:25 +01:00
radeon_i2c.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
radeon_monitor.c video: fbdev: aty: Delete unused variable in radeon_monitor 2020-11-30 19:28:09 +01:00
radeon_pm.c video: fbdev: aty/matrox/...: Prepare cleanup of powerpc's asm/prom.h 2022-04-04 08:55:23 +02:00
radeonfb.h video: fbdev: aty/matrox/...: Prepare cleanup of powerpc's asm/prom.h 2022-04-04 08:55:23 +02:00