mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
regulator: tps65218: Add the missing of_node assignment in probe
commitd2fa87c3afupstream. Add the missing of_node assignment in probe. Fixes:90e7d52627(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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
116585686e
commit
e1940bd0d5
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user