[PATCH v1 4/8] i2c: icy:pick Use named initializer for zorro_device_id arrays
From: Uwe Kleine-König (The Capable Hub)
Date: Tue May 26 2026 - 10:21:42 EST
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@xxxxxxxxxxxx>
---
drivers/i2c/busses/i2c-icy.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/i2c/busses/i2c-icy.c b/drivers/i2c/busses/i2c-icy.c
index febcb6f01d4d..55496e48ccd1 100644
--- a/drivers/i2c/busses/i2c-icy.c
+++ b/drivers/i2c/busses/i2c-icy.c
@@ -193,8 +193,8 @@ static void icy_remove(struct zorro_dev *z)
}
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);
--
2.47.3