linux/drivers/video/backlight
Thomas Zimmermann 4551978bb5 backlight: Remove fb_blank from struct backlight_properties
Remove the field fb_blank from struct backlight_properties and remove
all code that still sets or reads it. Backlight blank status is now
tracked exclusively in struct backlight_properties.state.

The core backlight code keeps the fb_blank and state fields in sync,
but doesn't do anything else with fb_blank. Several drivers initialize
fb_blank to FB_BLANK_UNBLANK to enable the backlight. This is already
the default for the state field. So we can delete the fb_blank code
from core and drivers and rely on the state field.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Flavio Suligoi <f.suligoi@asem.it>
Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Tested-by: Flavio Suligoi <f.suligoi@asem.it>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20240319093915.31778-7-tzimmermann@suse.de
Signed-off-by: Lee Jones <lee@kernel.org>
2024-03-28 10:16:26 +00:00
..
88pm860x_bl.c
aat2870_bl.c backlight: aat2870_bl: Convert to platform remove callback returning void 2023-03-16 15:08:35 +00:00
adp5520_bl.c backlight: adp5520_bl: Convert to platform remove callback returning void 2023-03-16 15:08:35 +00:00
adp8860_bl.c backlight: Switch i2c drivers back to use .probe() 2023-05-25 12:25:26 +01:00
adp8870_bl.c backlight: Switch i2c drivers back to use .probe() 2023-05-25 12:25:26 +01:00
ams369fg06.c
apple_bl.c backlight: apple_bl: Use acpi_video_get_backlight_type() 2023-03-16 13:33:11 +01:00
arcxcnn_bl.c backlight: Switch i2c drivers back to use .probe() 2023-05-25 12:25:26 +01:00
as3711_bl.c backlight: as3711_bl: Handle deferred probe 2024-03-07 09:03:29 +00:00
backlight.c backlight: Remove fb_blank from struct backlight_properties 2024-03-28 10:16:26 +00:00
bd6107.c backlight: bd6107: Handle deferred probe 2024-03-07 09:03:29 +00:00
corgi_lcd.c backlight/corgi-lcd: Include <linux/backlight.h> 2024-02-28 09:59:25 +01:00
da903x_bl.c
da9052_bl.c backlight: da9052: Fully initialize backlight_properties during probe 2024-03-07 09:03:29 +00:00
ep93xx_bl.c
gpio_backlight.c backlight: gpio: Simplify with dev_err_probe() 2024-03-07 09:03:29 +00:00
hp680_bl.c backlight: hp680_bl: Convert to platform remove callback returning void 2023-03-16 15:08:35 +00:00
hx8357.c backlight: hx8357: Utilise temporary variable for struct device 2024-03-07 09:03:28 +00:00
ili922x.c backlight: ili922x: Add an error code check in ili922x_write() 2023-12-07 15:54:55 +00:00
ili9320.c
ili9320.h
ipaq_micro_bl.c backlight: ipaq_micro: Use backlight helper 2023-02-22 10:55:27 +00:00
jornada720_bl.c
jornada720_lcd.c
kb3886_bl.c
Kconfig backlight: Add Kinetic KTD2801 Backlight support 2024-03-07 08:45:16 +00:00
ktd253-backlight.c backlight: ktd253: Switch to use dev_err_probe() helper 2023-02-22 10:54:59 +00:00
ktd2801-backlight.c backlight: ktd2801: Make timing struct static 2024-03-07 08:45:20 +00:00
ktz8866.c backlight: ktz8866: Correct the check for of_property_read_u32 2024-03-07 09:03:28 +00:00
l4f00242t03.c backlight: l4f00242t03: Simplify with dev_err_probe() 2024-03-07 09:03:29 +00:00
lcd.c driver core: class: remove module * from class_create() 2023-03-17 15:16:33 +01:00
led_bl.c backlight: led_bl: Remove redundant of_match_ptr() 2023-08-21 12:16:56 +01:00
lm3533_bl.c backlight: lm3533_bl: Convert to platform remove callback returning void 2023-03-16 15:08:36 +00:00
lm3630a_bl.c backlight: lm3630a_bl: Simplify probe return on gpio request error 2024-03-07 09:03:29 +00:00
lm3639_bl.c backlight: lm3639: Fully initialize backlight_properties during probe 2024-03-07 09:03:29 +00:00
lms283gf05.c
lms501kf03.c
locomolcd.c ARM: pxa: remove unused board files 2023-01-20 11:23:44 +01:00
lp855x_bl.c pwm: Rename pwm_apply_state() to pwm_apply_might_sleep() 2023-12-20 16:07:04 +01:00
lp8788_bl.c backlight: lp8788: Fully initialize backlight_properties during probe 2024-03-07 09:03:29 +00:00
ltv350qv.c video:backlight: remove reference to AVR32 architecture in ltv350qv 2022-08-03 11:11:26 +02:00
ltv350qv.h
lv5207lp.c drm-misc-next for v6.6: 2023-07-17 15:37:57 +02:00
Makefile backlight: Add Kinetic KTD2801 Backlight support 2024-03-07 08:45:16 +00:00
max8925_bl.c
mp3309c.c backlight: Remove fb_blank from struct backlight_properties 2024-03-28 10:16:26 +00:00
mt6370-backlight.c backlight: mt6370-backlight: Convert to platform remove callback returning void 2023-03-16 15:08:36 +00:00
omap1_bl.c backlight: Remove fb_blank from struct backlight_properties 2024-03-28 10:16:26 +00:00
otm3225a.c
pandora_bl.c backlight: pandora_bl: Drop unneeded ENOMEM error message 2024-03-07 09:03:29 +00:00
pcf50633-backlight.c
platform_lcd.c
pwm_bl.c - New Drivers 2024-01-18 16:53:35 -08:00
qcom-wled.c backlight: qcom-wled: Explicitly include correct DT includes 2023-07-28 10:01:28 +01:00
rave-sp-backlight.c
rt4831-backlight.c backlight: rt4831-backlight: Convert to platform remove callback returning void 2023-03-16 15:08:37 +00:00
sky81452-backlight.c backlight: sky81452-backlight: Convert to platform remove callback returning void 2023-03-16 15:08:37 +00:00
tdo24m.c
tps65217_bl.c
vgg2432a4.c
wm831x_bl.c