diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-15 02:03:38 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-15 02:03:38 -0500 |
commit | 47aed92c7740c33f3acbd9dbdefb5ec6f9effdc0 (patch) | |
tree | fa04d6657d1d6cfb64482948b772e7c25db0c35f /drivers/regulator | |
parent | 08bf1c0ae97f4e322471ec2111fd5d57d3d696e0 (diff) |
regulator: Update da9052-regulator for DT changes
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/da9052-regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/da9052-regulator.c b/drivers/regulator/da9052-regulator.c index 30c647f80574..bdb43757d7c7 100644 --- a/drivers/regulator/da9052-regulator.c +++ b/drivers/regulator/da9052-regulator.c | |||
@@ -547,7 +547,7 @@ static int __devinit da9052_regulator_probe(struct platform_device *pdev) | |||
547 | regulator->rdev = regulator_register(®ulator->info->reg_desc, | 547 | regulator->rdev = regulator_register(®ulator->info->reg_desc, |
548 | &pdev->dev, | 548 | &pdev->dev, |
549 | pdata->regulators[pdev->id], | 549 | pdata->regulators[pdev->id], |
550 | regulator); | 550 | regulator, NULL); |
551 | if (IS_ERR(regulator->rdev)) { | 551 | if (IS_ERR(regulator->rdev)) { |
552 | dev_err(&pdev->dev, "failed to register regulator %s\n", | 552 | dev_err(&pdev->dev, "failed to register regulator %s\n", |
553 | regulator->info->reg_desc.name); | 553 | regulator->info->reg_desc.name); |