summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2014-06-18 10:17:47 -0500
committerMark Brown <broonie@linaro.org>2014-06-24 16:28:49 +0100
commitd2fa87c3af0df7ed10463afc588affdab954fa92 (patch)
tree26f2bb7768398c4a7d201f2e7a12ee9c57405bb8
parent7171511eaec5bf23fb06078f59784a3a0626b38f (diff)
downloadlinux-0-day-d2fa87c3af0df7ed10463afc588affdab954fa92.tar.gz
linux-0-day-d2fa87c3af0df7ed10463afc588affdab954fa92.tar.xz
regulator: tps65218: Add the missing of_node assignment in probe
Add the missing of_node assignment in probe. Fixes: 90e7d5262796 (regulator: tps65218: Add Regulator driver for TPS65218 PMIC) Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Cc: <stable@vger.kernel.org> # v3.15
-rw-r--r--drivers/regulator/tps65218-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/tps65218-regulator.c b/drivers/regulator/tps65218-regulator.c
index 69b4b7750410d..edbc46e56e41c 100644
--- a/drivers/regulator/tps65218-regulator.c
+++ b/drivers/regulator/tps65218-regulator.c
@@ -240,6 +240,7 @@ static int tps65218_regulator_probe(struct platform_device *pdev)
config.init_data = init_data;
config.driver_data = tps;
config.regmap = tps->regmap;
+ config.of_node = pdev->dev.of_node;
rdev = devm_regulator_register(&pdev->dev, &regulators[id], &config);
if (IS_ERR(rdev)) {