regulator: tps65218: Add the missing of_node assignment in probe
authorKeerthy <j-keerthy@ti.com>
Wed, 18 Jun 2014 15:17:47 +0000 (10:17 -0500)
committerMark Brown <broonie@linaro.org>
Tue, 24 Jun 2014 15:28:49 +0000 (16:28 +0100)
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
drivers/regulator/tps65218-regulator.c

index 69b4b7750410d1d723b0c35fc66e1f4cd33e70b4..edbc46e56e41cec68ca723b8ab33702d4243e4a7 100644 (file)
@@ -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)) {