Merge "usb: phy: Use IS_ERR instead of PTR_ERR with eusb2 PHY driver"

This commit is contained in:
qctecmdr 2022-01-27 18:11:08 -08:00 committed by Gerrit - the friendly Code Review server
commit ad90c966ee

View File

@ -888,7 +888,7 @@ static int msm_eusb2_phy_probe(struct platform_device *pdev)
}
ur = devm_usb_get_repeater_by_phandle(dev, "usb-repeater", 0);
if (PTR_ERR(ur)) {
if (IS_ERR(ur)) {
ret = PTR_ERR(ur);
goto err_ret;
}