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

drivers/regulator/tps80031-regulator.c

index 8ca3fa9..61579bd 100644 (file)
@@ -1044,7 +1044,7 @@ static int __devinit tps80031_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);