Skip to contentSkip to conversation

regulator: Add missing platform_set_drvdata in tps6105x_regulator_probe

PATCH Superseded Axel Lin 2 participants 2 messages Mar 29, 2011 Voltage and current regulator framework

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 regulator: Add missing platform_set_drvdata in tps6105x_regulator_probe

---
 drivers/regulator/tps6105x-regulator.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/regulator/tps6105x-regulator.c +1 -0
index 1661499..5f975c2 100644
@@ -158,6 +158,7 @@ static int __devinit tps6105x_regulator_probe(struct platform_device *pdev)
 			"failed to register regulator\n");
 		return ret;
 	}
+	platform_set_drvdata(pdev, tps6105x);
 
 	return 0;
 }
Signature · 1 line
1.7.1