summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/tps65217_charger.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/supply/tps65217_charger.c')
-rw-r--r--drivers/power/supply/tps65217_charger.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/supply/tps65217_charger.c b/drivers/power/supply/tps65217_charger.c
index c8c4a0c..9fd019f 100644
--- a/drivers/power/supply/tps65217_charger.c
+++ b/drivers/power/supply/tps65217_charger.c
@@ -209,6 +209,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;
OpenPOWER on IntegriCloud