regulator: Update da9052-regulator for DT changes
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 15 Dec 2011 07:03:38 +0000 (15:03 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 15 Dec 2011 07:03:38 +0000 (15:03 +0800)
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/da9052-regulator.c

index 30c647f..bdb4375 100644 (file)
@@ -547,7 +547,7 @@ static int __devinit da9052_regulator_probe(struct platform_device *pdev)
        regulator->rdev = regulator_register(&regulator->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);