Home
last modified time | relevance | path

Searched hist:"8 c0614ca312c847ca5409ea11c39434dec69631d" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/chipidea/
H A Dci_hdrc_pci.cdiff 8c0614ca312c847ca5409ea11c39434dec69631d Sat Feb 06 08:57:06 CST 2016 Wei Yongjun <yongjun_wei@trendmicro.com.cn> 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: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Peter Chen <peter.chen@nxp.com>