Skip to content

Commit

Permalink
regulator: tps65218: Add the missing of_node assignment in probe
Browse files Browse the repository at this point in the history
Add the missing of_node assignment in probe.

Fixes: 90e7d52 (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
  • Loading branch information
Keerthy authored and Mark Brown committed Jun 24, 2014
1 parent 7171511 commit d2fa87c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/regulator/tps65218-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit d2fa87c

Please sign in to comment.