summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>2026-05-18 16:33:11 +0300
committerDavid Heidelberg <david@ixit.cz>2026-06-11 21:24:47 +0300
commit567ab7727adb81626da7ab4513c15888d0ee2693 (patch)
treeb9e25e340427c277104387891d4148a633b6cdfd /tools/lib/python
parent2d78676b1f9d41c96ad836465ef6a6449fa8cb29 (diff)
downloadlinux-567ab7727adb81626da7ab4513c15888d0ee2693.tar.xz
nfc: 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. While touching all these arrays, unify usage of whitespace in the list terminator. 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> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Link: https://patch.msgid.link/20260518133311.644160-2-u.kleine-koenig@baylibre.com Signed-off-by: David Heidelberg <david@ixit.cz>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions