]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - drivers/usb/renesas_usbhs/rza2.c
phy: core: Add consumer device link support
[mirror_ubuntu-jammy-kernel.git] / drivers / usb / renesas_usbhs / rza2.c
index 021749594389ec8abce30400cee414c261f2dc65..3eed3334a17f126f0f2dc20303eb6b01a386f08e 100644 (file)
@@ -29,7 +29,7 @@ static int usbhs_rza2_hardware_exit(struct platform_device *pdev)
 {
        struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev);
 
-       phy_put(priv->phy);
+       phy_put(&pdev->dev, priv->phy);
        priv->phy = NULL;
 
        return 0;