From: Uwe Kleine-König (The Capable Hub) Date: Fri, 29 May 2026 10:18:21 +0000 (+0200) Subject: power: Unify code style for platform_device_id arrays X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3f669bed32287ae72c05a4ddab4a6687b0e62ca;p=thirdparty%2Flinux.git power: Unify code style for platform_device_id arrays 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 --- 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);