aboutsummaryrefslogtreecommitdiff
path: root/drivers/regulator/tps65217-regulator.c
diff options
context:
space:
mode:
authorAnilKumar Ch <anilkumar@ti.com>2012-07-10 16:39:42 +0530
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-12 18:27:36 +0100
commita7f1b63eb85606ad77a559b95c703b99e1205aa4 (patch)
tree471d3fc22574ca0ec921bdda19851ddfc9ac73d3 /drivers/regulator/tps65217-regulator.c
parent257ee3c6dde02c2c93334f802a8fc34825c75369 (diff)
regulator: tps65217: Add device tree support
This commit adds device tree support for tps65217 pmic. And usage details are added to device tree documentation. Driver is tested by using kernel module with regulator set and get APIs. Signed-off-by: AnilKumar Ch <anilkumar@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/tps65217-regulator.c')
-rw-r--r--drivers/regulator/tps65217-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/tps65217-regulator.c b/drivers/regulator/tps65217-regulator.c
index f7d0495b003..6caa222af77 100644
--- a/drivers/regulator/tps65217-regulator.c
+++ b/drivers/regulator/tps65217-regulator.c
@@ -293,6 +293,7 @@ static int __devinit tps65217_regulator_probe(struct platform_device *pdev)
tps->info[pdev->id] = info;
config.dev = &pdev->dev;
+ config.of_node = pdev->dev.of_node;
config.init_data = pdev->dev.platform_data;
config.driver_data = tps;