summaryrefslogtreecommitdiff
path: root/drivers/phy/eswin/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>2026-06-12 10:21:48 +0200
committerNiklas Cassel <cassel@kernel.org>2026-06-12 11:44:30 +0200
commit21e7b9710a24bd7688c02f136923c89bee2fda5a (patch)
tree0262c6682ad21a171b351462e11579204cd262d6 /drivers/phy/eswin/git@git.tavy.me:linux.git
parent3b5b35f28e6e05acc0edb5fe0641317f6fc628c1 (diff)
ata: Use named initializers for pci_device_id arrays
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 pci_device_id that replaces .driver_data by an anonymous union. Also drop the comma after a few list terminators. This patch doesn't modify the compiled array, only their representation in source form benefits. The former was confirmed with x86 and arm64 builds. Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Signed-off-by: Niklas Cassel <cassel@kernel.org>
Diffstat (limited to 'drivers/phy/eswin/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions