From 67c866cfcb7cfe74d66645aa4c1e983d22e0001a Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Wed, 3 Sep 2014 09:15:30 +0800 Subject: [PATCH] regulator: da9211: Fix missing config.of_node setting Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- drivers/regulator/da9211-regulator.c | 1 + 1 file changed, 1 insertion(+) 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);