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

Commit 62835b94 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: xhci: Remove usb_phy get phandle from xhci_plat_probe"

parents 3cebc209 3ea1ac54
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -347,8 +347,7 @@ static int xhci_plat_probe(struct platform_device *pdev)
	if (device_property_read_u32(&pdev->dev, "usb-core-id", &xhci->core_id))
		xhci->core_id = -EINVAL;

	hcd->usb_phy = devm_usb_get_phy_by_phandle(pdev->dev.parent, "usb-phy",
			0);
	hcd->usb_phy = devm_usb_get_phy_by_phandle(sysdev, "usb-phy", 0);
	if (IS_ERR(hcd->usb_phy)) {
		ret = PTR_ERR(hcd->usb_phy);
		if (ret == -EPROBE_DEFER)