diff options
author | Wei Yongjun <[email protected]> | 2016-07-26 14:49:04 +0000 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2016-08-15 23:10:44 +0200 |
commit | 33e7664a0af6e9a516f01014f39737aaa119b6d9 (patch) | |
tree | 5e52df87e608d268b1f597d102a92a7d4cfded3c /tools/perf/scripts/python | |
parent | 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 <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions