Merge remote-tracking branch 'regmap/fix/debugfs' into regmap-linus
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / usb / phy / phy-mxs-usb.c
index eb25dd2a14292f95f36ddbcb4fa712fd8aecea7e..bd601c537c8d434a3e33a7aa59d88d583472244f 100644 (file)
@@ -155,6 +155,7 @@ static int mxs_phy_probe(struct platform_device *pdev)
        mxs_phy->phy.set_suspend        = mxs_phy_suspend;
        mxs_phy->phy.notify_connect     = mxs_phy_on_connect;
        mxs_phy->phy.notify_disconnect  = mxs_phy_on_disconnect;
+       mxs_phy->phy.type               = USB_PHY_TYPE_USB2;
 
        ATOMIC_INIT_NOTIFIER_HEAD(&mxs_phy->phy.notifier);
 
@@ -175,8 +176,6 @@ static int mxs_phy_remove(struct platform_device *pdev)
 
        usb_remove_phy(&mxs_phy->phy);
 
-       platform_set_drvdata(pdev, NULL);
-
        return 0;
 }