summaryrefslogtreecommitdiff
path: root/tools/lib/python/feat/parse_features.py
diff options
context:
space:
mode:
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>2026-05-18 20:19:01 +0300
committerGuenter Roeck <linux@roeck-us.net>2026-05-19 01:10:36 +0300
commitc574bdb524095d24169e229b2e3b9318c72e733a (patch)
tree5a142c7b7b35a3dbe2a3f01c0abc8f6762abfb01 /tools/lib/python/feat/parse_features.py
parent1147eb0dc29bd33aa3499f9d02777d4165587575 (diff)
downloadlinux-c574bdb524095d24169e229b2e3b9318c72e733a.tar.xz
watchdog: ziirave_wdt: 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/20260518171901.904094-2-u.kleine-koenig@baylibre.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/lib/python/feat/parse_features.py')
0 files changed, 0 insertions, 0 deletions