diff options
author | Wei Yongjun <weiyj.lk@gmail.com> | 2016-07-26 14:49:04 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-30 10:18:39 +0200 |
commit | a596ebc52657e2b7840c5d1a8adffe4393156604 (patch) | |
tree | c1371db25edc87e54298de5594f590c46143511c /include/linux/joystick.h | |
parent | 116fcd882e3b6dc3aeb0fd29f7c93b5628337bc3 (diff) |
power_supply: tps65217-charger: fix missing platform_set_drvdata()
commit 33e7664a0af6e9a516f01014f39737aaa119b6d9 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/joystick.h')
0 files changed, 0 insertions, 0 deletions