summaryrefslogtreecommitdiff
path: root/link.h
diff options
context:
space:
mode:
Diffstat (limited to 'link.h')
0 files changed, 0 insertions, 0 deletions
42bf116f513a1dd07639d68fa71b9'>bae170efd6c42bf116f513a1dd07639d68fa71b9 (diff)
power_supply: tps65217-charger: fix missing platform_set_drvdata()
Add missing platform_set_drvdata() in tps65217_charger_probe(), otherwise calling platform_get_drvdata() in remove returns NULL. This is detected by Coccinelle semantic patch. Fixes: 3636859b280c ("power_supply: Add support for tps65217-charger") Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat