regulator: palmas: fix build warnings
[linux-2.6.git] / drivers / regulator / tps6238x0-regulator.c
index 611b942..6d29844 100644 (file)
@@ -399,7 +399,7 @@ static int __devinit tps6238x0_probe(struct i2c_client *client,
 
        /* Register the regulators */
        rdev = regulator_register(&tps->desc, &client->dev,
-                               pdata->init_data, tps);
+                               pdata->init_data, tps, NULL);
        if (IS_ERR(rdev)) {
                dev_err(tps->dev, "%s() Err: Failed to register %s\n",
                                __func__, id->name);