regulator: da9211: Fix missing config.of_node setting
authorAxel Lin <axel.lin@ingics.com>
Wed, 3 Sep 2014 01:15:30 +0000 (09:15 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 3 Sep 2014 14:37:11 +0000 (15:37 +0100)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/da9211-regulator.c

index 9722728b954a7d8992049a6a38cb770ffd0dfb9b..044c36cac5858f3ed32a3523861d9f2dbf3a62da 100644 (file)
@@ -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);