linux/drivers/video/backlight
Rafael J. Wysocki 04d8f3fd0b backlight: apple_bl: Convert to a platform driver
In all cases in which a struct acpi_driver is used for binding a driver
to an ACPI device object, a corresponding platform device is created by
the ACPI core and that device is regarded as a proper representation of
underlying hardware.  Accordingly, a struct platform_driver should be
used by driver code to bind to that device.  There are multiple reasons
why drivers should not bind directly to ACPI device objects [1].

Overall, it is better to bind drivers to platform devices than to their
ACPI companions, so convert the Apple Backlight ACPI driver to a
platform one.

While this is not expected to alter functionality, it changes sysfs
layout and so it will be visible to user space.

Link: https://lore.kernel.org/all/2396510.ElGaqSPkdT@rafael.j.wysocki/ [1]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org>
Link: https://patch.msgid.link/5084777.GXAFRqVoOG@rafael.j.wysocki
Signed-off-by: Lee Jones <lee@kernel.org>
2026-03-31 11:48:10 +01:00
..
88pm860x_bl.c
Kconfig backlight: Add Congatec Board Controller (CGBC) backlight support 2026-01-08 11:15:00 +00:00
Makefile backlight: Add Congatec Board Controller (CGBC) backlight support 2026-01-08 11:15:00 +00:00
aat2870_bl.c
adp5520_bl.c
adp8860_bl.c
adp8870_bl.c
ams369fg06.c
apple_bl.c backlight: apple_bl: Convert to a platform driver 2026-03-31 11:48:10 +01:00
apple_dwi_bl.c backlight: apple_dwi_bl: Include <linux/mod_devicetable.h> 2025-09-16 17:05:19 +01:00
arcxcnn_bl.c
as3711_bl.c backlight: as3711_bl: Include <linux/of.h> 2025-09-16 17:05:19 +01:00
aw99706.c backlight: aw99706: Fix build errors caused by wrong gpio header 2026-01-20 16:07:48 +00:00
backlight.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
bd6107.c
cgbc_bl.c backlight: Add Congatec Board Controller (CGBC) backlight support 2026-01-08 11:15:00 +00:00
corgi_lcd.c
da903x_bl.c
da9052_bl.c backlight: da9052_bl: Include <linux/mod_devicetable.h> 2025-09-16 17:05:19 +01:00
ep93xx_bl.c
gpio_backlight.c
hp680_bl.c
hx8357.c
ili922x.c
ili9320.c
ili9320.h
ipaq_micro_bl.c
jornada720_bl.c backlight: jornada720: Include <linux/io.h> 2025-09-16 17:05:19 +01:00
jornada720_lcd.c
kb3886_bl.c
ktd253-backlight.c
ktd2801-backlight.c backlight: ktd2801: Include <linux/mod_devicetable.h> 2025-09-16 17:05:19 +01:00
ktz8866.c
l4f00242t03.c
lcd.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
led_bl.c backlight: led-bl: Add devlink to supplier LEDs 2025-11-25 12:54:10 +00:00
lm3509_bl.c
lm3533_bl.c
lm3630a_bl.c
lm3639_bl.c
lms283gf05.c
lms501kf03.c
locomolcd.c
lp855x_bl.c video: backlight: lp855x_bl: Set correct EPROM start for LP8556 2025-09-16 16:50:50 +01:00
lp8788_bl.c
ltv350qv.c
ltv350qv.h
lv5207lp.c
max8925_bl.c
mp3309c.c
mt6370-backlight.c
omap1_bl.c
otm3225a.c
pandora_bl.c
platform_lcd.c
pwm_bl.c
qcom-wled.c backlight: qcom-wled: Change PM8950 WLED configurations 2026-02-04 10:26:03 +00:00
rave-sp-backlight.c backlight: rave-sp: Include <linux/of.h> and <linux/mod_devicetable.h> 2025-09-16 17:05:19 +01:00
rt4831-backlight.c backlight: rt4831: Include <linux/mod_devicetable.h> 2025-09-16 17:05:19 +01:00
sky81452-backlight.c backlight: sky81452-backlight: Check return value of devm_gpiod_get_optional() in sky81452_bl_parse_dt() 2026-03-06 14:21:07 +00:00
tdo24m.c
tps65217_bl.c
vgg2432a4.c
wm831x_bl.c