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
}
static const struct zorro_device_id icy_zorro_tbl[] = {
- { ZORRO_ID(VMC, 15, 0), },
- { 0 }
+ { .id = ZORRO_ID(VMC, 15, 0) },
+ { }
};
MODULE_DEVICE_TABLE(zorro, icy_zorro_tbl);