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 — …
Privacy Overview
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.