regulator: 88pm800: Add missing config.of_node setting for regulator register
authorAxel Lin <axel.lin@ingics.com>
Fri, 19 Jul 2013 01:16:55 +0000 (09:16 +0800)
committerMark Brown <broonie@linaro.org>
Fri, 19 Jul 2013 18:08:36 +0000 (19:08 +0100)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/88pm800.c

index a7d962f7a9b4654517d59704e1754445f9f547b5..fc0c352c98dfc962c55c24dbf5df36150a6fe4fb 100644 (file)
@@ -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);