Skip to content
Commit 1d6cdc47 authored by Yang Yingliang's avatar Yang Yingliang Committed by Sebastian Reichel
Browse files

power: supply: rt9471: fix using wrong ce_gpio in rt9471_probe()



Pass the correct 'ce_gpio' to IS_ERR(), and remove the ce_gpio in
chip data, make it all by SW control only, not to control by HW pin.

Fixes: 4a1a5f67 ("power: supply: rt9471: Add Richtek RT9471 charger driver")
Reviewed-by: default avatarChiYuan Huang <cy_huang@richtek.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent a915dfd0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment