summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/omap2430.c
diff options
context:
space:
mode:
authorDaniel Mack2013-04-10 21:55:50 +0200
committerFelipe Balbi2013-05-28 18:22:26 +0200
commit8b125df5b24cfb0ec7fa1971e343cc0badc1827d (patch)
tree3a6e6e70286650867636a9bb6eaf69d8ea36b5fb /drivers/usb/musb/omap2430.c
parentusb: musb: use musb->port_mode (diff)
downloadkernel-qcow2-linux-8b125df5b24cfb0ec7fa1971e343cc0badc1827d.tar.gz
kernel-qcow2-linux-8b125df5b24cfb0ec7fa1971e343cc0badc1827d.tar.xz
kernel-qcow2-linux-8b125df5b24cfb0ec7fa1971e343cc0badc1827d.zip
usb: musb: eliminate musb_to_hcd
With the hcd is now a direct member of struct musb, we can now simply eliminate the musb_to_hcd() macro. There aren't that many users left anyway, as some where already fixed up when parts were factored out to musb_host.c Signed-off-by: Daniel Mack <zonque@gmail.com> Acked-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/omap2430.c')
-rw-r--r--drivers/usb/musb/omap2430.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c
index b3e77613e0af..c7c1d7ab5471 100644
--- a/drivers/usb/musb/omap2430.c
+++ b/drivers/usb/musb/omap2430.c
@@ -87,7 +87,7 @@ static void musb_do_idle(unsigned long _musb)
musb->port1_status &= ~(USB_PORT_STAT_SUSPEND
| MUSB_PORT_STAT_RESUME);
musb->port1_status |= USB_PORT_STAT_C_SUSPEND << 16;
- usb_hcd_poll_rh_status(musb_to_hcd(musb));
+ usb_hcd_poll_rh_status(musb->hcd);
/* NOTE: it might really be A_WAIT_BCON ... */
musb->xceiv->state = OTG_STATE_A_HOST;
}