regulator: Update s5m8767 for device tree API changes
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 17 Jan 2012 11:25:45 +0000 (11:25 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 20 Jan 2012 12:01:34 +0000 (12:01 +0000)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/s5m8767.c

index caf0117b471f2bc5436c07910a589dc5be171d72..a5b9d83913f4ee3dca43dcb604e59221803aee71 100644 (file)
@@ -771,7 +771,7 @@ static __devinit int s5m8767_pmic_probe(struct platform_device *pdev)
                                (desc->max - desc->min) / desc->step + 1;
 
                rdev[i] = regulator_register(&regulators[id], s5m8767->dev,
-                               pdata->regulators[i].initdata, s5m8767);
+                               pdata->regulators[i].initdata, s5m8767, NULL);
                if (IS_ERR(rdev[i])) {
                        ret = PTR_ERR(rdev[i]);
                        dev_err(s5m8767->dev, "regulator init failed for %d\n",