diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-09-03 03:15:30 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-03 16:37:11 +0200 |
commit | 67c866cfcb7cfe74d66645aa4c1e983d22e0001a (patch) | |
tree | 9227775eb55304f01c8d36a62e464fac17f26437 /drivers/regulator/da9211-regulator.c | |
parent | regulator: da9211: fix coccinelle warnings (diff) | |
download | linux-67c866cfcb7cfe74d66645aa4c1e983d22e0001a.tar.xz linux-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.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) 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); |