diff options
author | Thierry Reding <thierry.reding@avionic-design.de> | 2012-04-26 10:52:21 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-04 08:25:16 -0400 |
commit | 62f6b0879304e2169d6bf6221612e8111e342ee7 (patch) | |
tree | 0a87bef6a43043c22146577dd33f82d06bca7b2f /drivers/regulator/tps6586x-regulator.c | |
parent | 1c8fa58f4750e9ad722fbf899866c312ffabab67 (diff) |
tps6586x: Add device tree support
This commit adds device tree support for the TPS6586x regulator.
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/tps6586x-regulator.c')
-rw-r--r-- | drivers/regulator/tps6586x-regulator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/tps6586x-regulator.c b/drivers/regulator/tps6586x-regulator.c index 9a4029a446d3..c0a214575380 100644 --- a/drivers/regulator/tps6586x-regulator.c +++ b/drivers/regulator/tps6586x-regulator.c | |||
@@ -363,6 +363,7 @@ static int __devinit tps6586x_regulator_probe(struct platform_device *pdev) | |||
363 | return err; | 363 | return err; |
364 | 364 | ||
365 | config.dev = &pdev->dev; | 365 | config.dev = &pdev->dev; |
366 | config.of_node = pdev->dev.of_node; | ||
366 | config.init_data = pdev->dev.platform_data; | 367 | config.init_data = pdev->dev.platform_data; |
367 | config.driver_data = ri; | 368 | config.driver_data = ri; |
368 | 369 | ||