usb: phy: initialize the notifier when add a new phy
[firefly-linux-kernel-4.4.55.git] / drivers / usb / phy / phy-mxs-usb.c
index 797c45b9ddab1b82669d4480b9fd094ee2b568df..fa44c0f3e861c7c794394e4de3aa3e6e84c2f3f9 100644 (file)
@@ -167,8 +167,6 @@ static int mxs_phy_probe(struct platform_device *pdev)
        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);
-
        mxs_phy->clk = clk;
 
        platform_set_drvdata(pdev, &mxs_phy->phy);