mirror of
https://github.com/torvalds/linux.git
synced 2024-10-30 16:51:45 +00:00
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>
This commit is contained in:
parent
c2a946e07f
commit
67c866cfcb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user