Skip to content

Commit e3f669b

Browse files
ukleineksre
authored andcommitted
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) <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>
1 parent eb7ed65 commit e3f669b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/power/supply/axp288_charger.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ static int axp288_charger_probe(struct platform_device *pdev)
955955

956956
static const struct platform_device_id axp288_charger_id_table[] = {
957957
{ .name = "axp288_charger" },
958-
{},
958+
{ }
959959
};
960960
MODULE_DEVICE_TABLE(platform, axp288_charger_id_table);
961961

drivers/power/supply/axp288_fuel_gauge.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ static int axp288_fuel_gauge_probe(struct platform_device *pdev)
799799

800800
static const struct platform_device_id axp288_fg_id_table[] = {
801801
{ .name = DEV_NAME },
802-
{},
802+
{ }
803803
};
804804
MODULE_DEVICE_TABLE(platform, axp288_fg_id_table);
805805

0 commit comments

Comments
 (0)