/* This routine is called, for example, when the rmmod command is executed. The device may or may not be electrically present. If it is present, the driver stops device processing. Any resources used on behalf of this device are freed.  */
static void dwc2_driver_remove(struct pci_dev *dev)
/* This routine is called, for example, when the rmmod command is executed. The device may or may not be electrically present. If it is present, the driver stops device processing. Any resources used on behalf of this device are freed.  */
static void dwc2_driver_remove(struct pci_dev *dev)
{
	struct dwc2_hsotg *hsotg = pci_get_drvdata(dev);
	dwc2_hcd_remove(hsotg);
	pci_disable_device(dev);
}