diff options
author | Ajay Kumar Gupta <ajay.gupta@ti.com> | 2012-08-31 07:09:56 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-09-11 10:36:50 -0400 |
commit | d8c3ef256f88b7c6ecd673d03073b5645be9c5e4 (patch) | |
tree | 7b4b015294a0d1bbd58020e127dd86fd075dd816 | |
parent | 65145677a65c31a8fd2704e244801bdb11061f9a (diff) |
usb: musb: dsps: remove explicit NOP device creation
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>
-rw-r--r-- | drivers/usb/musb/musb_dsps.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c index b8aecbba7407..2785e28ec4a9 100644 --- a/drivers/usb/musb/musb_dsps.c +++ b/drivers/usb/musb/musb_dsps.c | |||
@@ -376,8 +376,7 @@ static int dsps_musb_init(struct musb *musb) | |||
376 | /* mentor core register starts at offset of 0x400 from musb base */ | 376 | /* mentor core register starts at offset of 0x400 from musb base */ |
377 | musb->mregs += wrp->musb_core_offset; | 377 | musb->mregs += wrp->musb_core_offset; |
378 | 378 | ||
379 | /* NOP driver needs change if supporting dual instance */ | 379 | /* Get the NOP PHY */ |
380 | usb_nop_xceiv_register(); | ||
381 | musb->xceiv = usb_get_phy(USB_PHY_TYPE_USB2); | 380 | musb->xceiv = usb_get_phy(USB_PHY_TYPE_USB2); |
382 | if (IS_ERR_OR_NULL(musb->xceiv)) | 381 | if (IS_ERR_OR_NULL(musb->xceiv)) |
383 | return -ENODEV; | 382 | return -ENODEV; |