linux/drivers/media/usb/go7007
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
..
go7007-driver.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
go7007-fw.c media: go7007: Use min and max macros 2024-05-03 11:06:27 +01:00
go7007-i2c.c media: go7007: Refactor Adlink PCI-MPG24 i2c mutex 2024-05-31 13:51:16 +02:00
go7007-loader.c media: go7007-loader: drop redundant device reference 2026-03-16 16:30:20 +01:00
go7007-priv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
go7007-usb.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
go7007-v4l2.c media: usb: drop vb2_ops_wait_prepare/finish 2024-10-28 09:19:56 +01:00
Kconfig media: v4l: Use correct dependency for camera sensor drivers 2023-09-14 12:38:17 +02:00
Makefile media: prefix header search paths with $(srctree)/ 2019-05-18 11:49:56 +09:00
s2250-board.c media: Use named initializers for arrays of i2c_device_data 2026-05-20 09:03:40 +02:00
snd-go7007.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00