public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] regulators: TPS65218: Add the missing of_node assignment in probe
@ 2014-06-18 15:17 Felipe Balbi
  2014-06-18 15:17 ` [PATCH 2/2] regulators: TPS65218: Correct the the config register for LDO1 Felipe Balbi
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Felipe Balbi @ 2014-06-18 15:17 UTC (permalink / raw)
  To: lgirdwood, broonie
  Cc: Linux Kernel Mailing List, Linux OMAP Mailing List,
	Linux ARM Kernel Mailing List, Keerthy, stable, Felipe Balbi

From: Keerthy <j-keerthy@ti.com>

Add the missing of_node assignment in probe.

Cc: <stable@vger.kernel.org> # v3.15
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
---
 drivers/regulator/tps65218-regulator.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/tps65218-regulator.c b/drivers/regulator/tps65218-regulator.c
index 69b4b77..edbc46e 100644
--- a/drivers/regulator/tps65218-regulator.c
+++ b/drivers/regulator/tps65218-regulator.c
@@ -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)) {
-- 
2.0.0.rc1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-24 15:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-18 15:17 [PATCH 1/2] regulators: TPS65218: Add the missing of_node assignment in probe Felipe Balbi
2014-06-18 15:17 ` [PATCH 2/2] regulators: TPS65218: Correct the the config register for LDO1 Felipe Balbi
2014-06-18 15:29   ` Nishanth Menon
2014-06-18 15:51 ` [PATCH 1/2] regulators: TPS65218: Add the missing of_node assignment in probe Nishanth Menon
2014-06-24 15:29 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox