linux/drivers/media/test-drivers/vidtv
Uwe Kleine-König (The Capable Hub) 2958d579ff media: 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 and commas.

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>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
2026-05-20 09:03:40 +02:00
..
Kconfig media: vidtv: Use crc32_be() instead of open coding 2026-03-25 18:27:25 +01:00
Makefile media: vidtv: add a bridge driver 2020-09-12 09:43:12 +02:00
vidtv_bridge.c media: vidtv: fix reference leak on failed device registration 2026-05-05 16:57:02 +02:00
vidtv_bridge.h media: vidtv: use a simpler name in platform_{device|driver} 2021-01-27 12:29:17 +01:00
vidtv_channel.c media: vidtv: fix NULL pointer dereference in vidtv_channel_pmt_match_sections 2026-03-16 16:30:20 +01:00
vidtv_channel.h media: vidtv.rst: add kernel-doc markups 2020-11-26 08:05:24 +01:00
vidtv_common.c media: vidtv: fix 32-bit warnings 2020-09-14 15:48:11 +02:00
vidtv_common.h media: vidtv: fix the network ID range 2020-11-26 08:05:23 +01:00
vidtv_demod.c media: Use named initializers for arrays of i2c_device_data 2026-05-20 09:03:40 +02:00
vidtv_demod.h media: vidtv.rst: add kernel-doc markups 2020-11-26 08:05:24 +01:00
vidtv_encoder.h media: vidtv.rst: add kernel-doc markups 2020-11-26 08:05:24 +01:00
vidtv_mux.c media: vidtv: fix NULL pointer dereference in vidtv_mux_push_si 2026-05-05 16:57:01 +02:00
vidtv_mux.h media: vidtv.rst: add kernel-doc markups 2020-11-26 08:05:24 +01:00
vidtv_pes.c media: vidtv: fix missing include 2023-12-18 00:23:10 -05:00
vidtv_pes.h media: vidtv.rst: add kernel-doc markups 2020-11-26 08:05:24 +01:00
vidtv_psi.c media: vidtv: Use crc32_be() instead of open coding 2026-03-25 18:27:25 +01:00
vidtv_psi.h media: vidtv: fix some warnings 2020-12-08 08:15:49 +01:00
vidtv_s302m.c media: vidtv: Rename PI definition to PI_SAMPLES 2026-03-16 11:51:55 +01:00
vidtv_s302m.h media: vidtv.rst: add kernel-doc markups 2020-11-26 08:05:24 +01:00
vidtv_ts.c media: vidtv: fix pass-by-value structs causing MSAN warnings 2026-03-16 16:30:20 +01:00
vidtv_ts.h media: vidtv: fix pass-by-value structs causing MSAN warnings 2026-03-16 16:30:20 +01:00
vidtv_tuner.c media: Use named initializers for arrays of i2c_device_data 2026-05-20 09:03:40 +02:00
vidtv_tuner.h media: vidtv: reorganize includes 2020-11-26 07:41:03 +01:00