]> git.ipfire.org Git - thirdparty/linux.git/commit
i2c: icy: Use named initializer for zorro_device_id arrays
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Tue, 26 May 2026 14:17:30 +0000 (16:17 +0200)
committerAndi Shyti <andi.shyti@kernel.org>
Thu, 28 May 2026 22:19:03 +0000 (00:19 +0200)
commit24435f4c8cc081fbd4bb0633b3eb6ebac05dc2db
tree6ceb0f5c627d76b483821873d1064885428fc98d
parentb371250b986abc4065c3e627a8911ea89f634423
i2c: icy: Use named initializer for zorro_device_id arrays

Using named initializers is more explicit and thus easier to parse for a
human.

While touching this array, drop explicit zeros from the list terminator.

This change doesn't introduce changes to the compiled zorro_device_id
array.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Reviewed-by: Max Staudt <max@enpas.org>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/3d7690c7a8948f977d6c50bd0c8010efb715fbdc.1779803053.git.u.kleine-koenig@baylibre.com
drivers/i2c/busses/i2c-icy.c