commit | 4fa99230eade164137d94178b12e1e5f1c3d2bdd | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Tue Jan 07 21:12:29 2014 +0800 |
committer | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | Sat Jan 25 15:24:15 2014 +0400 |
tree | 92a32ccd95d9024a98b546cb99a7286bdf59561e | |
parent | 1b5e1c6e6e728774ba7a1e8286d4833e4a16e918 [diff] |
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: Wei Yongjun <yongjun_wei@trendmicro.com.cn>