Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2fa87c3 authored by Keerthy's avatar Keerthy Committed by Mark Brown
Browse files

regulator: tps65218: Add the missing of_node assignment in probe



Add the missing of_node assignment in probe.

Fixes: 90e7d526 (regulator: tps65218: Add Regulator driver for TPS65218 PMIC)
Signed-off-by: default avatarKeerthy <j-keerthy@ti.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
Cc: <stable@vger.kernel.org> # v3.15
parent 7171511e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)) {