summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>2026-05-04 16:21:17 +0200
committerMark Brown <broonie@kernel.org>2026-05-05 10:08:08 +0900
commite4358093816df69b574a5632051801a881663d12 (patch)
tree8db22ef2ba93e8436b32fa78d248e72f2aebd7e8 /include/linux
parentefcd8b9d111177d48c841d09beca43b15d5b9e5f (diff)
spi: Consistently define pci_device_ids using named initializers
The .driver_data member of the various struct pci_device_id arrays were initialized by list expressions. This isn't easily readable if you're not into PCI. Using named initializers is more explicit and thus easier to parse. Also skip explicit assignments of 0 (which the compiler then takes care of). This change doesn't introduce changes to the compiled pci_device_id arrays. Tested on x86 and arm64. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Link: https://patch.msgid.link/20260504142117.2116978-2-u.kleine-koenig@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions