]> git.ipfire.org Git - thirdparty/linux.git/commit
net: 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:29 +0000 (16:17 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 29 May 2026 01:07:11 +0000 (18:07 -0700)
commit4933a658369ab945873cca8bcbfbbc142ddfe584
tree566d424adf8bb08f92c4d86c3de14cc0201bec55
parentf945ec1a7d0ec1f958719b5ee4d0076a81b45f86
net: Use named initializer for zorro_device_id arrays

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

While touching these arrays, drop explicit zeros from the list terminator.

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

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://patch.msgid.link/2243204c0f57f79750de00c072914354d4f65707.1779803053.git.u.kleine-koenig@baylibre.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/8390/hydra.c
drivers/net/ethernet/8390/xsurf100.c
drivers/net/ethernet/8390/zorro8390.c
drivers/net/ethernet/amd/a2065.c
drivers/net/ethernet/amd/ariadne.c