From e3f669bed32287ae72c05a4ddab4a6687b0e62ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= Date: Fri, 29 May 2026 12:18:21 +0200 Subject: [PATCH] power: Unify code style for platform_device_id arrays MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use a single space in the list terminator and remove the trailing comma. Signed-off-by: Uwe Kleine-König (The Capable Hub) Acked-by: Chen-Yu Tsai Link: https://patch.msgid.link/d840a6f83e3736510d7d859bf48c9bce04876b0c.1780048925.git.u.kleine-koenig@baylibre.com Signed-off-by: Sebastian Reichel --- 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);