regulator: Unify usage of space and comma in platform_device_id arrays

After converting all these arrays to use named initializers and fixing
coding style en passant, adapt the coding style also for those drivers that
already used named initializers before for consistency.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/a3a2736ebfcfa5a228dcebfbfefc14960dcce314.1779878004.git.u.kleine-koenig@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Uwe Kleine-König (The Capable Hub) 2026-05-27 12:47:46 +02:00 committed by Mark Brown
parent d35028340d
commit 0eb1736781
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
5 changed files with 8 additions and 8 deletions

View File

@ -571,7 +571,7 @@ static int hi6421_regulator_probe(struct platform_device *pdev)
static const struct platform_device_id hi6421_regulator_table[] = {
{ .name = "hi6421-regulator" },
{},
{ }
};
MODULE_DEVICE_TABLE(platform, hi6421_regulator_table);

View File

@ -187,7 +187,7 @@ static int hi6421v530_regulator_probe(struct platform_device *pdev)
static const struct platform_device_id hi6421v530_regulator_table[] = {
{ .name = "hi6421v530-regulator" },
{},
{ }
};
MODULE_DEVICE_TABLE(platform, hi6421v530_regulator_table);

View File

@ -276,7 +276,7 @@ static int hi6421_spmi_regulator_probe(struct platform_device *pdev)
static const struct platform_device_id hi6421_spmi_regulator_table[] = {
{ .name = "hi6421v600-regulator" },
{},
{ }
};
MODULE_DEVICE_TABLE(platform, hi6421_spmi_regulator_table);

View File

@ -198,7 +198,7 @@ static int hi655x_regulator_probe(struct platform_device *pdev)
static const struct platform_device_id hi655x_regulator_table[] = {
{ .name = "hi655x-regulator" },
{},
{ }
};
MODULE_DEVICE_TABLE(platform, hi655x_regulator_table);

View File

@ -902,10 +902,10 @@ static const struct dev_pm_ops max77620_regulator_pm_ops = {
};
static const struct platform_device_id max77620_regulator_devtype[] = {
{ .name = "max77620-pmic", },
{ .name = "max20024-pmic", },
{ .name = "max77663-pmic", },
{},
{ .name = "max77620-pmic" },
{ .name = "max20024-pmic" },
{ .name = "max77663-pmic" },
{ }
};
MODULE_DEVICE_TABLE(platform, max77620_regulator_devtype);