mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-22 02:17:36 -04:00
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>
This commit is contained in:
committed by
Sebastian Reichel
parent
eb7ed650e5
commit
e3f669bed3
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user