linux/drivers/misc/keba
Uwe Kleine-König (The Capable Hub) 3e97a4e171 misc: Use named initializers for arrays of spi_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
spi_device_id that replaces .driver_data by an anonymous union.

While touching all these arrays, unify usage of whitespace.

This patch doesn't modify the compiled arrays, only their representation
in source form benefits.

Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/ad1f0b3efcc3d9d362b33753734cfb064c079cd3.1784299069.git.u.kleine-koenig@baylibre.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-07-31 14:20:50 +02:00
..
cp500.c misc: keba: cp500: use pcim_enable_device() 2026-07-17 15:50:34 +02:00
Kconfig misc: keba: Add hardware dependency 2024-11-07 09:53:46 +01:00
lan9252.c misc: Use named initializers for arrays of spi_device_data 2026-07-31 14:20:50 +02:00
Makefile misc: keba: Add LAN9252 driver 2024-10-13 17:16:57 +02:00