[PATCH v3 19/23] mfd: Unify style of dmi_system_id arrays
From: Uwe Kleine-König (The Capable Hub)
Date: Thu Jul 09 2026 - 13:09:11 EST
These arrays already mostly match the most used and generally
recommended coding style. That is:
- no comma after the list terminator;
- a comma after an initializer if (and only if) the closing } is not
directly following;
- no explicit zeros in the list terminator;
- a space after an opening { and before a closing }, a single space in
the list terminator;
Only the list terminators didn't match this style as they didn't use a
space.
Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
---
drivers/mfd/cgbc-core.c | 2 +-
drivers/mfd/intel_quark_i2c_gpio.c | 2 +-
drivers/mfd/kempld-core.c | 2 +-
drivers/mfd/tqmx86.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mfd/cgbc-core.c b/drivers/mfd/cgbc-core.c
index 10bb4b414c34..b568722cc8b7 100644
--- a/drivers/mfd/cgbc-core.c
+++ b/drivers/mfd/cgbc-core.c
@@ -393,7 +393,7 @@ static const struct dmi_system_id cgbc_dmi_table[] __initconst = {
DMI_MATCH(DMI_BOARD_NAME, "conga-SA8"),
},
},
- {}
+ { }
};
MODULE_DEVICE_TABLE(dmi, cgbc_dmi_table);
diff --git a/drivers/mfd/intel_quark_i2c_gpio.c b/drivers/mfd/intel_quark_i2c_gpio.c
index 9b9c76bd067b..87dbe1a94247 100644
--- a/drivers/mfd/intel_quark_i2c_gpio.c
+++ b/drivers/mfd/intel_quark_i2c_gpio.c
@@ -79,7 +79,7 @@ static const struct dmi_system_id dmi_platform_info[] = {
},
.driver_data = (void *)&intel_quark_i2c_controller_fast_node,
},
- {}
+ { }
};
/* This is used as a place holder and will be modified at run-time */
diff --git a/drivers/mfd/kempld-core.c b/drivers/mfd/kempld-core.c
index 4c1e7a0ab0ee..104a07dc8f16 100644
--- a/drivers/mfd/kempld-core.c
+++ b/drivers/mfd/kempld-core.c
@@ -737,7 +737,7 @@ static const struct dmi_system_id kempld_dmi_table[] __initconst = {
DMI_MATCH(DMI_BOARD_NAME, "Qseven-Q7AL"),
},
},
- {}
+ { }
};
MODULE_DEVICE_TABLE(dmi, kempld_dmi_table);
diff --git a/drivers/mfd/tqmx86.c b/drivers/mfd/tqmx86.c
index 1c2fe3f91238..16f47566cf3c 100644
--- a/drivers/mfd/tqmx86.c
+++ b/drivers/mfd/tqmx86.c
@@ -338,7 +338,7 @@ static const struct dmi_system_id tqmx86_dmi_table[] __initconst = {
},
.callback = tqmx86_create_platform_device,
},
- {}
+ { }
};
MODULE_DEVICE_TABLE(dmi, tqmx86_dmi_table);
--
2.55.0.11.g153666a7d9bb