diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-09-02 21:15:30 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-03 10:37:11 -0400 |
commit | 67c866cfcb7cfe74d66645aa4c1e983d22e0001a (patch) | |
tree | 9227775eb55304f01c8d36a62e464fac17f26437 | |
parent | c2a946e07f9776ba5a73c37087c02e0e1830b5ce (diff) |
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>
-rw-r--r-- | drivers/regulator/da9211-regulator.c | 1 |
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) | |||
364 | config.dev = chip->dev; | 364 | config.dev = chip->dev; |
365 | config.driver_data = chip; | 365 | config.driver_data = chip; |
366 | config.regmap = chip->regmap; | 366 | config.regmap = chip->regmap; |
367 | config.of_node = chip->dev->of_node; | ||
367 | 368 | ||
368 | chip->rdev[i] = devm_regulator_register(chip->dev, | 369 | chip->rdev[i] = devm_regulator_register(chip->dev, |
369 | &da9211_regulators[i], &config); | 370 | &da9211_regulators[i], &config); |