/* Reverses the effect of usb_hcd_lh7a404_probe(), first invoking the HCD's stop() method. It is always called from a thread context, normally "rmmod", "apmd", or something similar.  */
void usb_hcd_lpc178x_remove(struct usb_hcd *hcd, struct platform_device *dev)
/* Reverses the effect of usb_hcd_lh7a404_probe(), first invoking the HCD's stop() method. It is always called from a thread context, normally "rmmod", "apmd", or something similar.  */
void usb_hcd_lpc178x_remove(struct usb_hcd *hcd, struct platform_device *dev)
{
	usb_remove_hcd(hcd);
	lpc178x_hc_stop();
	iounmap(hcd->regs);
	release_mem_region(hcd->rsrc_start, hcd->rsrc_len);
	usb_put_hcd(hcd);
}