Skip to content
Commit 8c0614ca authored by Wei Yongjun's avatar Wei Yongjun Committed by Peter Chen
Browse files

usb: chipidea: fix return value check in ci_hdrc_pci_probe()



In case of error, the function usb_phy_generic_register()
returns ERR_PTR() and never returns NULL. The NULL test in
the return value check should be replaced with IS_ERR().

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
parent a4de018d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment