"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "b33159b7d249afae386b91025ef4ea1d7793fc1b"
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: 3636859b ("power_supply: Add support for tps65217-charger") Signed-off-by:Wei Yongjun <weiyj.lk@gmail.com> Signed-off-by:
Sebastian Reichel <sre@kernel.org>
Loading
Please register or sign in to comment