mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
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:
parent
d35028340d
commit
0eb1736781
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user