summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/da9211-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-09-03 09:15:30 +0800
committerMark Brown <broonie@kernel.org>2014-09-03 15:37:11 +0100
commit67c866cfcb7cfe74d66645aa4c1e983d22e0001a (patch)
tree9227775eb55304f01c8d36a62e464fac17f26437 /drivers/regulator/da9211-regulator.c
parentc2a946e07f9776ba5a73c37087c02e0e1830b5ce (diff)
downloadlinux-stable-67c866cfcb7cfe74d66645aa4c1e983d22e0001a.tar.gz
linux-stable-67c866cfcb7cfe74d66645aa4c1e983d22e0001a.tar.bz2
linux-stable-67c866cfcb7cfe74d66645aa4c1e983d22e0001a.zip
regulator: da9211: Fix missing config.of_node setting
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/da9211-regulator.c')
-rw-r--r--drivers/regulator/da9211-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/da9211-regulator.c b/drivers/regulator/da9211-regulator.c
index 9722728b954a..044c36cac585 100644
--- a/drivers/regulator/da9211-regulator.c
+++ b/drivers/regulator/da9211-regulator.c
@@ -364,6 +364,7 @@ static int da9211_regulator_init(struct da9211 *chip)
config.dev = chip->dev;
config.driver_data = chip;
config.regmap = chip->regmap;
+ config.of_node = chip->dev->of_node;
chip->rdev[i] = devm_regulator_register(chip->dev,
&da9211_regulators[i], &config);