Tag: 33e7664a0af6e9a516f01014f39737aaa119b6d9

Jul 26 2016

power_supply: tps65217-charger: fix missing platform_set_drvdata()

Author: Wei Yongjun <weiyj.lk@gmail.com> 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 Signed-off-by: Sebastian Reichel — drivers/power/tps65217_charger.c | 1 + 1 file changed, 1 insertion(+)   diff –git a/drivers/power/tps65217_charger.c b/drivers/power/tps65217_charger.c index 73dfae4..4c56e54 100644 — …

Continue reading »