linux/drivers/video/backlight
Uwe Kleine-König (The Capable Hub) b3c8bb2e69 backlight: Use named initializers for arrays of i2c_device_data
While being less compact, using named initializers allows to more easily
see which members of the structs are assigned which value without having
to lookup the declaration of the struct. And it's also more robust
against changes to the struct definition.

The mentioned robustness is relevant for a planned change to struct
i2c_device_id that replaces .driver_data by an anonymous union.

While touching all these arrays, unify usage of whitespace in the list
terminator.

This patch doesn't modify the compiled arrays, only their representation
in source form benefits. The former was confirmed with x86 and arm64
builds.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org>
Link: https://patch.msgid.link/20260518111203.639603-2-u.kleine-koenig@baylibre.com
Signed-off-by: Lee Jones <lee@kernel.org>
2026-06-11 15:12:12 +01:00
..
88pm860x_bl.c backlight: 88pm860x_bl: Do not include <linux/fb.h> 2025-02-11 10:20:18 +00:00
aat2870_bl.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
adp5520_bl.c backlight: adp5520_bl: Do not include <linux/fb.h> 2025-02-11 10:20:18 +00:00
adp8860_bl.c backlight: Use named initializers for arrays of i2c_device_data 2026-06-11 15:12:12 +01:00
adp8870_bl.c backlight: Use named initializers for arrays of i2c_device_data 2026-06-11 15:12:12 +01:00
ams369fg06.c backlight: ams369fb06: Use backlight power constants 2024-07-04 16:45:25 +01:00
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 backlight: Use named initializers for arrays of i2c_device_data 2026-06-11 15:12:12 +01:00
as3711_bl.c backlight: as3711_bl: Include <linux/of.h> 2025-09-16 17:05:19 +01:00
aw99706.c backlight: Use named initializers for arrays of i2c_device_data 2026-06-11 15:12:12 +01: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 backlight: Use named initializers for arrays of i2c_device_data 2026-06-11 15:12:12 +01:00
cgbc_bl.c backlight: Add Congatec Board Controller (CGBC) backlight support 2026-01-08 11:15:00 +00:00
corgi_lcd.c backlight: lcd: Remove struct fb_videomode from set_mode callback 2024-09-30 16:49:42 +01:00
da903x_bl.c backlight: da903x_bl: Do not include <linux/fb.h> 2025-02-11 10:20:18 +00:00
da9052_bl.c backlight: da9052_bl: Include <linux/mod_devicetable.h> 2025-09-16 17:05:19 +01:00
ep93xx_bl.c backlight: ep93xx_bl: Do not include <linux/fb.h> 2025-02-11 10:20:18 +00:00
gpio_backlight.c backlight: gpio-backlight: Use backlight power constants 2024-07-04 16:45:25 +01:00
hp680_bl.c backlight: hp680_bl: Do not include <linux/fb.h> 2025-02-11 10:20:18 +00:00
hx8357.c backlight: hx8357: Use lcd power constants 2024-09-30 16:49:41 +01:00
ili922x.c backlight: ili922x: Use lcd power constants 2024-09-30 16:49:41 +01:00
ili9320.c backlight: ili9320: Use lcd power constants 2024-09-30 16:49:41 +01:00
ili9320.h video: backlight: ili9320: Make ili9320_remove() return void 2021-10-20 15:13:59 +01:00
ipaq_micro_bl.c backlight: ipaq-micro-backlight: Use backlight power constants 2024-07-04 16:45:25 +01:00
jornada720_bl.c backlight: jornada720: Include <linux/io.h> 2025-09-16 17:05:19 +01:00
jornada720_lcd.c backlight: jornada720_lcd: Use lcd power constants 2024-09-30 16:49:41 +01:00
kb3886_bl.c backlight: kb3886-bl: Use backlight power constants 2024-07-04 16:45:25 +01:00
Kconfig backlight: cgbc: Remove redundant X86 dependency 2026-05-07 14:25:19 +01:00
ktd253-backlight.c backlight: ktd253-backlight: Use backlight power constants 2024-07-04 16:45:25 +01:00
ktd2801-backlight.c backlight: ktd2801: Enable BL_CORE_SUSPENDRESUME 2026-04-30 14:34:38 +01:00
ktz8866.c backlight: Use named initializers for arrays of i2c_device_data 2026-06-11 15:12:12 +01:00
l4f00242t03.c backlight: l4f00242t03: Use lcd power constants 2024-09-30 16:49:41 +01:00
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 backlight: Use named initializers for arrays of i2c_device_data 2026-06-11 15:12:12 +01:00
lm3533_bl.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
lm3630a_bl.c backlight: Use named initializers for arrays of i2c_device_data 2026-06-11 15:12:12 +01:00
lm3639_bl.c backlight: Use named initializers for arrays of i2c_device_data 2026-06-11 15:12:12 +01:00
lms283gf05.c backlight: lms283gf05: Use lcd power constants 2024-09-30 16:49:41 +01:00
lms501kf03.c backlight: lms501kf03: Use lcd power constants 2024-09-30 16:49:42 +01:00
locomolcd.c backlight: locomolcd: Do not include <linux/fb.h> 2025-02-11 10:20:18 +00:00
lp855x_bl.c backlight: Use named initializers for arrays of i2c_device_data 2026-06-11 15:12:12 +01:00
lp8788_bl.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
ltv350qv.c backlight: ltv350qv: Use lcd power constants 2024-09-30 16:49:42 +01:00
ltv350qv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
lv5207lp.c backlight: Use named initializers for arrays of i2c_device_data 2026-06-11 15:12:12 +01:00
Makefile backlight: Add max25014atg backlight 2026-04-30 14:54:34 +01:00
max8925_bl.c backlight: max8925_bl: Do not include <linux/fb.h> 2025-02-11 10:20:18 +00:00
max25014.c backlight: Add max25014atg backlight 2026-04-30 14:54:34 +01:00
mp3309c.c backlight: Use named initializers for arrays of i2c_device_data 2026-06-11 15:12:12 +01:00
mt6370-backlight.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
omap1_bl.c backlight: Remove fb_blank from struct backlight_properties 2024-03-28 10:16:26 +00:00
otm3225a.c backlight: otm3225a: Use lcd power constants 2024-09-30 16:49:42 +01:00
pandora_bl.c backlight: pandora-backlight: Use backlight power constants 2024-07-04 16:45:25 +01:00
platform_lcd.c backlight: lcd: Replace check_fb with controls_device 2024-09-30 16:49:42 +01:00
pwm_bl.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
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 backlight: lcd: Remove struct fb_videomode from set_mode callback 2024-09-30 16:49:42 +01:00
tps65217_bl.c backlight: tps65217_bl: Do not include <linux/fb.h> 2025-02-11 10:20:18 +00:00
vgg2432a4.c backlight: vgg2432a4: Do not include <linux/fb.h> 2025-02-11 10:20:18 +00:00
wm831x_bl.c backlight: wm831x_bl: Do not include <linux/fb.h> 2025-02-11 10:20:18 +00:00