diff options
author | Thierry Reding <thierry.reding@avionic-design.de> | 2012-04-26 16:52:21 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-04 13:25:16 +0100 |
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 9a4029a446d..c0a21457538 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) return err; config.dev = &pdev->dev; + config.of_node = pdev->dev.of_node; config.init_data = pdev->dev.platform_data; config.driver_data = ri; |