diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-07-19 09:16:55 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-07-19 19:08:36 +0100 |
commit | e5e80f6dd65d27085d86c3c0eb598b4a1b49a271 (patch) | |
tree | e5dddb2dded61fe9e96aef2481446ee5ea64d379 /drivers/regulator/88pm800.c | |
parent | 95f1dc08c6f98a62b5dae6ed86fa04f40fb6b34f (diff) |
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>
Diffstat (limited to 'drivers/regulator/88pm800.c')
-rw-r--r-- | drivers/regulator/88pm800.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/88pm800.c b/drivers/regulator/88pm800.c index a7d962f7a9b4..fc0c352c98df 100644 --- a/drivers/regulator/88pm800.c +++ b/drivers/regulator/88pm800.c @@ -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); |