]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
power: Unify code style for platform_device_id arrays
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Fri, 29 May 2026 10:18:21 +0000 (12:18 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 1 Jun 2026 23:34:21 +0000 (01:34 +0200)
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@baylibre.com>
Acked-by: Chen-Yu Tsai <wens@kernel.org>
Link: https://patch.msgid.link/d840a6f83e3736510d7d859bf48c9bce04876b0c.1780048925.git.u.kleine-koenig@baylibre.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/axp288_charger.c
drivers/power/supply/axp288_fuel_gauge.c

index ea0f5caee8f0e6840fe0c0c4cc58176309aa2062..24a8b1ee2fec784b52c3fc9ab194a4160764a5ad 100644 (file)
@@ -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);
 
index a3d71fc72064158ae0ef2d29273de35b02af8933..5af334c0a980c5c321802e8e95d664f8eb985f7b 100644 (file)
@@ -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);