summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>2026-05-19 18:08:18 +0300
committerTzung-Bi Shih <tzungbi@kernel.org>2026-05-20 07:18:38 +0300
commitace8ee71e8ef4d6ef5a6501469df95237e1f7406 (patch)
tree5b20ba97fcdf96f8aa53f1c351bf72c23c82db26 /include/linux
parent51dcff9796fd486d7abf01081ca62e4072789e9d (diff)
downloadlinux-ace8ee71e8ef4d6ef5a6501469df95237e1f7406.tar.xz
platform/chrome: 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://lore.kernel.org/r/20260519150819.1591409-2-u.kleine-koenig@baylibre.com Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions