summaryrefslogtreecommitdiffstats
path: root/drivers/power/tps65217_charger.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/tps65217_charger.c')
-rw-r--r--drivers/power/tps65217_charger.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/tps65217_charger.c b/drivers/power/tps65217_charger.c
index 73dfae41def8..4c56e54af6ac 100644
--- a/drivers/power/tps65217_charger.c
+++ b/drivers/power/tps65217_charger.c
@@ -206,6 +206,7 @@ static int tps65217_charger_probe(struct platform_device *pdev)
if (!charger)
return -ENOMEM;
+ platform_set_drvdata(pdev, charger);
charger->tps = tps;
charger->dev = &pdev->dev;