static int ohci_hcd_ep93xx_drv_remove(struct platform_device *dev) { struct platform_device *pdev = dev; /*to_platform_device(dev);*/ struct usb_hcd *hcd = platform_get_drvdata(dev);/*dev_get_drvdata(dev);*/ usb_hcd_ep93xx_remove(hcd, pdev); return 0; }
static int ohci_hcd_ep93xx_drv_remove(struct platform_device *pdev) { struct usb_hcd *hcd = platform_get_drvdata(pdev); usb_hcd_ep93xx_remove(hcd, pdev); return 0; }