summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-08-02 19:06:18 +0530
committerSimone Willett <swillett@nvidia.com>2012-08-03 14:02:03 -0700
commit5e7698f9b861a2e24f579eb2b5ab264badd22ad0 (patch)
tree80c8228cd445be3964d8bc2612db6af17e20e4f5 /drivers/regulator
parent9b4f7f573b391a4e6fa5e596e296bef719d67559 (diff)
regulator: tps65090: convert regualtor_init_data as pointer
In regulator platform data for tps65090, convert the regulator init data to a pointer type to have easy support in DT. Change-Id: I00a88e9f12ce5c55880e5c5084357d495bc99b56 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/120837
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/tps65090-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/tps65090-regulator.c b/drivers/regulator/tps65090-regulator.c
index caa89867e833..e18679c51fea 100644
--- a/drivers/regulator/tps65090-regulator.c
+++ b/drivers/regulator/tps65090-regulator.c
@@ -166,7 +166,7 @@ static int __devinit tps65090_regulator_probe(struct platform_device *pdev)
ri->rinfo = rinfo;
rdev = regulator_register(&ri->rinfo->desc, &pdev->dev,
- &tps_pdata->regulator, ri);
+ tps_pdata->reg_init_data, ri);
if (IS_ERR(rdev)) {
dev_err(&pdev->dev, "failed to register regulator %s\n",
ri->rinfo->desc.name);