Skip to content

Commit

Permalink
regulator: 88pm800: Add missing config.of_node setting for regulator …
Browse files Browse the repository at this point in the history
…register

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Axel Lin authored and Mark Brown committed Jul 19, 2013
1 parent 95f1dc0 commit e5e80f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/regulator/88pm800.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ static int pm800_regulator_probe(struct platform_device *pdev)
config.init_data = init_data;
config.driver_data = info;
config.regmap = pm800_data->map;
config.of_node = pm800_regulator_matches[i].of_node;

pm800_data->regulators[i] =
regulator_register(&info->desc, &config);
Expand Down

0 comments on commit e5e80f6

Please sign in to comment.