fixup regulator_register (ricoh583-regulator.c)
Dan Willemsen [Mon, 26 Mar 2012 02:54:24 +0000 (19:54 -0700)]
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

drivers/regulator/ricoh583-regulator.c

index 867ffe6..8ec098f 100644 (file)
@@ -367,7 +367,7 @@ static int __devinit ricoh583_regulator_probe(struct platform_device *pdev)
                return err;
        }
        rdev = regulator_register(&ri->desc, &pdev->dev,
-                               &tps_pdata->regulator, ri);
+                               &tps_pdata->regulator, ri, NULL);
        if (IS_ERR_OR_NULL(rdev)) {
                dev_err(&pdev->dev, "failed to register regulator %s\n",
                                ri->desc.name);