summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/tps65217_charger.c
diff options
context:
space:
mode:
authorSebastian Reichel <sre@kernel.org>2016-08-16 01:17:42 +0200
committerSebastian Reichel <sre@kernel.org>2016-08-16 01:17:42 +0200
commitf7c8f1de03eafae8f11818a185cebd82d1043302 (patch)
treecde8cfe13c41e252c987a0304716283c53e5e577 /drivers/power/supply/tps65217_charger.c
parentb732ace40a1d5ea643ee9c28116e829ae950fe8f (diff)
parent33e7664a0af6e9a516f01014f39737aaa119b6d9 (diff)
downloadlinux-stable-f7c8f1de03eafae8f11818a185cebd82d1043302.tar.gz
linux-stable-f7c8f1de03eafae8f11818a185cebd82d1043302.tar.bz2
linux-stable-f7c8f1de03eafae8f11818a185cebd82d1043302.zip
Merge tag 'for-v4.8-rc' into psy-next
Power Supply Fixes for 4.8 cycle
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 c8c4a0c1dca5..9fd019f9b88c 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;