[PATCH v2 18/23] mfd: Unify style of acpi_device_id arrays

From: Uwe Kleine-König (The Capable Hub)

Date: Wed Jul 08 2026 - 07:25:33 EST


Update the various acpi_device_id arrays to conform to 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;

Adapt the few offenders accordingly.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
---
drivers/mfd/axp20x-i2c.c | 2 +-
drivers/mfd/cs42l43-i2c.c | 2 +-
drivers/mfd/intel_soc_pmic_chtdc_ti.c | 2 +-
drivers/mfd/intel_soc_pmic_crc.c | 2 +-
drivers/mfd/intel_soc_pmic_mrfld.c | 2 +-
drivers/mfd/kempld-core.c | 2 +-
drivers/mfd/upboard-fpga.c | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/mfd/axp20x-i2c.c b/drivers/mfd/axp20x-i2c.c
index 2f595e2b883c..57695e46e00e 100644
--- a/drivers/mfd/axp20x-i2c.c
+++ b/drivers/mfd/axp20x-i2c.c
@@ -97,7 +97,7 @@ static const struct acpi_device_id axp20x_i2c_acpi_match[] = {
.id = "INT33F4",
.driver_data = AXP288_ID,
},
- { },
+ { }
};
MODULE_DEVICE_TABLE(acpi, axp20x_i2c_acpi_match);
#endif
diff --git a/drivers/mfd/cs42l43-i2c.c b/drivers/mfd/cs42l43-i2c.c
index e9cb4fb9854a..6a4e4ddeb268 100644
--- a/drivers/mfd/cs42l43-i2c.c
+++ b/drivers/mfd/cs42l43-i2c.c
@@ -67,7 +67,7 @@ MODULE_DEVICE_TABLE(of, cs42l43_of_match);
static const struct acpi_device_id cs42l43_acpi_match[] = {
{ .id = "CSC4243", .driver_data = CS42L43_DEVID_VAL },
{ .id = "CSC2A3B", .driver_data = CS42L43B_DEVID_VAL },
- {}
+ { }
};
MODULE_DEVICE_TABLE(acpi, cs42l43_acpi_match);
#endif
diff --git a/drivers/mfd/intel_soc_pmic_chtdc_ti.c b/drivers/mfd/intel_soc_pmic_chtdc_ti.c
index ff6223d6f54b..49f4138961c8 100644
--- a/drivers/mfd/intel_soc_pmic_chtdc_ti.c
+++ b/drivers/mfd/intel_soc_pmic_chtdc_ti.c
@@ -163,7 +163,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(chtdc_ti_pm_ops, chtdc_ti_suspend, chtdc_ti_resu

static const struct acpi_device_id chtdc_ti_acpi_ids[] = {
{ .id = "INT33F5" },
- { },
+ { }
};
MODULE_DEVICE_TABLE(acpi, chtdc_ti_acpi_ids);

diff --git a/drivers/mfd/intel_soc_pmic_crc.c b/drivers/mfd/intel_soc_pmic_crc.c
index c1c02700ef08..95588caa2e77 100644
--- a/drivers/mfd/intel_soc_pmic_crc.c
+++ b/drivers/mfd/intel_soc_pmic_crc.c
@@ -253,7 +253,7 @@ static DEFINE_SIMPLE_DEV_PM_OPS(crystal_cove_pm_ops, crystal_cove_suspend, cryst

static const struct acpi_device_id crystal_cove_acpi_match[] = {
{ .id = "INT33FD" },
- { },
+ { }
};
MODULE_DEVICE_TABLE(acpi, crystal_cove_acpi_match);

diff --git a/drivers/mfd/intel_soc_pmic_mrfld.c b/drivers/mfd/intel_soc_pmic_mrfld.c
index 9d7e1881d693..531d8b8be44d 100644
--- a/drivers/mfd/intel_soc_pmic_mrfld.c
+++ b/drivers/mfd/intel_soc_pmic_mrfld.c
@@ -140,7 +140,7 @@ static int bcove_probe(struct platform_device *pdev)

static const struct acpi_device_id bcove_acpi_ids[] = {
{ .id = "INTC100E" },
- {}
+ { }
};
MODULE_DEVICE_TABLE(acpi, bcove_acpi_ids);

diff --git a/drivers/mfd/kempld-core.c b/drivers/mfd/kempld-core.c
index bf02189b9a70..9b3a877f44fb 100644
--- a/drivers/mfd/kempld-core.c
+++ b/drivers/mfd/kempld-core.c
@@ -469,7 +469,7 @@ static void kempld_remove(struct platform_device *pdev)
static const struct acpi_device_id kempld_acpi_table[] = {
{ .id = "KEM0000" },
{ .id = "KEM0001" },
- {}
+ { }
};
MODULE_DEVICE_TABLE(acpi, kempld_acpi_table);

diff --git a/drivers/mfd/upboard-fpga.c b/drivers/mfd/upboard-fpga.c
index 6674f4a1d2fe..37c3c50aa6e4 100644
--- a/drivers/mfd/upboard-fpga.c
+++ b/drivers/mfd/upboard-fpga.c
@@ -302,7 +302,7 @@ static int upboard_fpga_probe(struct platform_device *pdev)
static const struct acpi_device_id upboard_fpga_acpi_match[] = {
{ .id = "AANT0F01", .driver_data = (kernel_ulong_t)&upboard_up2_fpga_data },
{ .id = "AANT0F04", .driver_data = (kernel_ulong_t)&upboard_up_fpga_data },
- {}
+ { }
};
MODULE_DEVICE_TABLE(acpi, upboard_fpga_acpi_match);

--
2.55.0.11.g153666a7d9bb