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>
This commit is contained in:
parent
08bf1c0ae9
commit
47aed92c77
1 changed files with 1 additions and 1 deletions
|
@ -547,7 +547,7 @@ static int __devinit da9052_regulator_probe(struct platform_device *pdev)
|
|||
regulator->rdev = regulator_register(®ulator->info->reg_desc,
|
||||
&pdev->dev,
|
||||
pdata->regulators[pdev->id],
|
||||
regulator);
|
||||
regulator, NULL);
|
||||
if (IS_ERR(regulator->rdev)) {
|
||||
dev_err(&pdev->dev, "failed to register regulator %s\n",
|
||||
regulator->info->reg_desc.name);
|
||||
|
|
Loading…
Reference in a new issue