mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
regulator: 88pm800: Add missing config.of_node setting for regulator register
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
parent
95f1dc08c6
commit
e5e80f6dd6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user