Tag: 33e7664a0af6e9a516f01014f39737aaa119b6d9

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

BtrLinux
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.