summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-01-25 19:43:27 +0530
committerVarun Colbert <vcolbert@nvidia.com>2012-01-30 11:48:44 -0800
commitae53c8666b30a25eb5fc6fe0349be1f607091b5b (patch)
tree53564c9239a1ff8bbf0fb9e36bf3e76969352f53 /drivers/regulator
parentd0a94d5915cf1e6d32827e31e2429079df7bdd2f (diff)
regulator: tps62360: Remove extra argument in regulator_register
As this dirver is back ported from kernel mainline, the function regulator_register() have one extra argument. Removing this extra argument. Change-Id: I615f995184e4908c399b9ccc91e090e49f10aec3 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Change-Id: I999307c90092c3cc816952c948e04c170fc4303d Reviewed-on: http://git-master/r/77343 Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/tps62360-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/tps62360-regulator.c b/drivers/regulator/tps62360-regulator.c
index f778ef067696..7eaf08275376 100644
--- a/drivers/regulator/tps62360-regulator.c
+++ b/drivers/regulator/tps62360-regulator.c
@@ -378,7 +378,7 @@ static int __devinit tps62360_probe(struct i2c_client *client,
/* Register the regulators */
rdev = regulator_register(&tps->desc, &client->dev,
- &pdata->reg_init_data, tps, NULL);
+ &pdata->reg_init_data, tps);
if (IS_ERR(rdev)) {
dev_err(tps->dev, "%s() Err: Failed to register %s\n",
__func__, id->name);