diff options
author | Keerthy <j-keerthy@ti.com> | 2014-06-18 10:17:47 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-09 11:21:29 -0700 |
commit | e1940bd0d5048d8723c24a3f01b32b24dea71f8a (patch) | |
tree | 8ae31bd6da1481047ecfe8a9b8204030f6df55d9 | |
parent | 116585686e1d65aafa10f484e5eaa9dd13c22d92 (diff) |
regulator: tps65218: Add the missing of_node assignment in probe
commit d2fa87c3af0df7ed10463afc588affdab954fa92 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/regulator/tps65218-regulator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/tps65218-regulator.c b/drivers/regulator/tps65218-regulator.c index cec72fa71d1..3a8f6ffb28b 100644 --- a/drivers/regulator/tps65218-regulator.c +++ b/drivers/regulator/tps65218-regulator.c @@ -257,6 +257,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, ®ulators[id], &config); if (IS_ERR(rdev)) { |