usb: musb: dsps: remove explicit NOP device creation
authorAjay Kumar Gupta <ajay.gupta@ti.com>
Fri, 31 Aug 2012 11:09:56 +0000 (11:09 +0000)
committerFelipe Balbi <balbi@ti.com>
Tue, 11 Sep 2012 14:36:50 +0000 (17:36 +0300)
As NOP device node is now added in am33xx tree so remove the call
which creates the NOP platform_device.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Santhapuri, Damodar <damodar.santhapuri@ti.com>
Signed-off-by: Ravi Babu <ravibabu@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_dsps.c

index b8aecbba74079650fd6dff869db27a34e4494b51..2785e28ec4a94f2652cd55958847e439112f8fc8 100644 (file)
@@ -376,8 +376,7 @@ static int dsps_musb_init(struct musb *musb)
        /* mentor core register starts at offset of 0x400 from musb base */
        musb->mregs += wrp->musb_core_offset;
 
-       /* NOP driver needs change if supporting dual instance */
-       usb_nop_xceiv_register();
+       /* Get the NOP PHY */
        musb->xceiv = usb_get_phy(USB_PHY_TYPE_USB2);
        if (IS_ERR_OR_NULL(musb->xceiv))
                return -ENODEV;