This series refactor backlight users to avoid use of the deprecated backlight_properties.fb_blank member. Stephen Kitt <steve@xxxxxxx> and others already did a lot of work and this is the final touches. Patches 1-13 are independent and can be applied individually. Patch 14 was already sent by Stephen and included here to make the series complete. The last patch may have to wait to avoid breaking the build as it depends on all the other patches. The series touches several sub-systems, so with acks I could take them all in drm-misc. Or we can let the subsystems take them and wait until next merge window with the final removal. As new users of fb_blank do not pop up that often, waiting one merge cycle is fine. Sam To: Nicolas Ferre <nicolas.ferre@xxxxxxxxxxxxx> To: Helge Deller <deller@xxxxxx> To: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx> To: Claudiu Beznea <claudiu.beznea@xxxxxxxxxxxxx> To: Antonino Daplas <adaplas@xxxxxxxxx> To: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> To: Paul Mackerras <paulus@xxxxxxxxx> To: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> To: Robin van der Gracht <robin@xxxxxxxxxxx> To: Miguel Ojeda <ojeda@xxxxxxxxxx> To: Lee Jones <lee@xxxxxxxxxx> To: Daniel Thompson <daniel.thompson@xxxxxxxxxx> To: Jingoo Han <jingoohan1@xxxxxxxxx> Cc: linux-fbdev@xxxxxxxxxxxxxxx Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx Cc: linux-kernel@xxxxxxxxxxxxxxx Cc: linux-omap@xxxxxxxxxxxxxxx Cc: linux-staging@xxxxxxxxxxxxxxx Cc: linuxppc-dev@xxxxxxxxxxxxxxxx Cc: Stephen Kitt <steve@xxxxxxx> Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx> --- Sam Ravnborg (14): video: fbdev: atmel_lcdfb: Rework backlight handling video: fbdev: atyfb: Introduce backlight_get_brightness() video: fbdev: nvidia: Introduce backlight_get_brightness() video: fbdev: radeon: Introduce backlight_get_brightness() video: fbdev: riva: Introduce backlight_get_brightness() video: fbdev: aty128fb: Introduce backlight_get_brightness() video: fbdev: mx3fb: Introduce backlight_get_brightness() video: fbdev: omap2: Introduce backlight_get_brightness() staging: fbtft: fb_ssd1351.c: Introduce backlight_is_blank() staging: fbtft: core: Introduce backlight_is_blank() powerpc: via-pmu-backlight: Introduce backlight_get_brightness() auxdisplay: ht16k33: Introduce backlight_get_brightness() backlight: omap1: Use backlight helpers backlight: backlight: Drop the deprecated fb_blank property Stephen Kitt (1): backlight: tosa: Use backlight helper drivers/auxdisplay/ht16k33.c | 7 +-- drivers/macintosh/via-pmu-backlight.c | 7 +-- drivers/staging/fbtft/fb_ssd1351.c | 9 +-- drivers/staging/fbtft/fbtft-core.c | 12 ++-- drivers/video/backlight/backlight.c | 2 - drivers/video/backlight/omap1_bl.c | 67 +++------------------- drivers/video/backlight/tosa_bl.c | 7 +-- drivers/video/fbdev/atmel_lcdfb.c | 24 +------- drivers/video/fbdev/aty/aty128fb.c | 11 +--- drivers/video/fbdev/aty/atyfb_base.c | 8 +-- drivers/video/fbdev/aty/radeon_backlight.c | 10 +--- drivers/video/fbdev/mx3fb.c | 8 +-- drivers/video/fbdev/nvidia/nv_backlight.c | 8 +-- .../fbdev/omap2/omapfb/displays/panel-dsi-cm.c | 19 +----- .../omap2/omapfb/displays/panel-sony-acx565akm.c | 23 +++----- drivers/video/fbdev/riva/fbdev.c | 8 +-- include/linux/backlight.h | 22 ------- 17 files changed, 41 insertions(+), 211 deletions(-) --- base-commit: a53be8dae86fe5d3567db245177e814e58210632 change-id: 20230107-sam-video-backlight-drop-fb_blank-d6feb73572ff Best regards, -- Sam Ravnborg <sam@xxxxxxxxxxxx>