Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4fa99230 authored by Wei Yongjun's avatar Wei Yongjun Committed by Dmitry Eremin-Solenikov
Browse files

isp1704_charger: remove useless check in isp1704_charger_probe()



Neither devm_usb_get_phy_by_phandle() nor devm_usb_get_phy() can
return a NULL result, so remove the useless !isp->phy check.

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
parent 1b5e1c6e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment