[PATCH v1 6/6] power: Unify code style for platform_device_id arrays
From: Uwe Kleine-König (The Capable Hub)
Date: Fri May 29 2026 - 06:27:17 EST
Use a single space in the list terminator and remove the trailing comma.
Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
---
drivers/power/supply/axp288_charger.c | 2 +-
drivers/power/supply/axp288_fuel_gauge.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/power/supply/axp288_charger.c b/drivers/power/supply/axp288_charger.c
index ea0f5caee8f0..24a8b1ee2fec 100644
--- a/drivers/power/supply/axp288_charger.c
+++ b/drivers/power/supply/axp288_charger.c
@@ -955,7 +955,7 @@ static int axp288_charger_probe(struct platform_device *pdev)
static const struct platform_device_id axp288_charger_id_table[] = {
{ .name = "axp288_charger" },
- {},
+ { }
};
MODULE_DEVICE_TABLE(platform, axp288_charger_id_table);
diff --git a/drivers/power/supply/axp288_fuel_gauge.c b/drivers/power/supply/axp288_fuel_gauge.c
index a3d71fc72064..5af334c0a980 100644
--- a/drivers/power/supply/axp288_fuel_gauge.c
+++ b/drivers/power/supply/axp288_fuel_gauge.c
@@ -799,7 +799,7 @@ static int axp288_fuel_gauge_probe(struct platform_device *pdev)
static const struct platform_device_id axp288_fg_id_table[] = {
{ .name = DEV_NAME },
- {},
+ { }
};
MODULE_DEVICE_TABLE(platform, axp288_fg_id_table);
--
2.47.3