summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>2026-05-19 18:19:57 +0300
committerVinod Koul <vkoul@kernel.org>2026-06-11 09:56:43 +0300
commit4904117935319233b1ec8f0528560dc91e8ae4c2 (patch)
treee67ef33be9f148e124815f9f464e44c9bf8a661c /scripts
parentb3ee497970c63cea37976aeaa84bac39611fe0eb (diff)
downloadlinux-4904117935319233b1ec8f0528560dc91e8ae4c2.tar.xz
phy: nxp-ptn3222: Use named initializers for struct i2c_device_id
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. 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> Link: https://patch.msgid.link/20260519151957.1593214-2-u.kleine-koenig@baylibre.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions