dect
/
linux-2.6
Archived
13
0
Fork 0

usb: remove use of __devexit

CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Peter Korsgaard <jacmet@sunsite.dk>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Cc: Li Yang <leoli@freescale.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Wan ZongShun <mcuos.com@gmail.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Bill Pemberton 2012-11-19 13:26:20 -05:00 committed by Greg Kroah-Hartman
parent 2f82686e8c
commit fb4e98ab63
58 changed files with 68 additions and 68 deletions

View File

@ -191,7 +191,7 @@ static int c67x00_drv_probe(struct platform_device *pdev)
return ret;
}
static int __devexit c67x00_drv_remove(struct platform_device *pdev)
static int c67x00_drv_remove(struct platform_device *pdev)
{
struct c67x00_device *c67x00 = platform_get_drvdata(pdev);
struct resource *res;

View File

@ -220,7 +220,7 @@ put_np:
return ret;
}
static int __devexit ci13xxx_imx_remove(struct platform_device *pdev)
static int ci13xxx_imx_remove(struct platform_device *pdev)
{
struct ci13xxx_imx_data *data = platform_get_drvdata(pdev);

View File

@ -77,7 +77,7 @@ static int ci13xxx_msm_probe(struct platform_device *pdev)
return 0;
}
static int __devexit ci13xxx_msm_remove(struct platform_device *pdev)
static int ci13xxx_msm_remove(struct platform_device *pdev)
{
struct platform_device *plat_ci = platform_get_drvdata(pdev);

View File

@ -107,7 +107,7 @@ static int ci13xxx_pci_probe(struct pci_dev *pdev,
* first invoking the udc_remove() and then releases
* all PCI resources allocated for this USB device controller
*/
static void __devexit ci13xxx_pci_remove(struct pci_dev *pdev)
static void ci13xxx_pci_remove(struct pci_dev *pdev)
{
struct platform_device *plat_ci = pci_get_drvdata(pdev);

View File

@ -508,7 +508,7 @@ rm_wq:
return ret;
}
static int __devexit ci_hdrc_remove(struct platform_device *pdev)
static int ci_hdrc_remove(struct platform_device *pdev)
{
struct ci13xxx *ci = platform_get_drvdata(pdev);

View File

@ -127,7 +127,7 @@ static int usbmisc_imx6q_probe(struct platform_device *pdev)
return 0;
}
static int __devexit usbmisc_imx6q_remove(struct platform_device *pdev)
static int usbmisc_imx6q_remove(struct platform_device *pdev)
{
usbmisc_unset_ops(&imx6q_usbmisc_ops);
clk_disable_unprepare(usbmisc->clk);

View File

@ -547,7 +547,7 @@ err0:
return ret;
}
static int __devexit dwc3_remove(struct platform_device *pdev)
static int dwc3_remove(struct platform_device *pdev)
{
struct dwc3 *dwc = platform_get_drvdata(pdev);
struct resource *res;

View File

@ -703,7 +703,7 @@ err0:
return ret;
}
void __devexit dwc3_debugfs_exit(struct dwc3 *dwc)
void dwc3_debugfs_exit(struct dwc3 *dwc)
{
debugfs_remove_recursive(dwc->root);
dwc->root = NULL;

View File

@ -170,7 +170,7 @@ err0:
return ret;
}
static int __devexit dwc3_exynos_remove(struct platform_device *pdev)
static int dwc3_exynos_remove(struct platform_device *pdev)
{
struct dwc3_exynos *exynos = platform_get_drvdata(pdev);

View File

@ -421,7 +421,7 @@ err2:
return ret;
}
static int __devexit dwc3_omap_remove(struct platform_device *pdev)
static int dwc3_omap_remove(struct platform_device *pdev)
{
struct dwc3_omap *omap = platform_get_drvdata(pdev);

View File

@ -194,7 +194,7 @@ err1:
return ret;
}
static void __devexit dwc3_pci_remove(struct pci_dev *pci)
static void dwc3_pci_remove(struct pci_dev *pci)
{
struct dwc3_pci *glue = pci_get_drvdata(pci);

View File

@ -2433,7 +2433,7 @@ out_uninit:
* bcm63xx_udc_remove - Remove the device from the system.
* @pdev: Platform device struct from the bcm63xx BSP code.
*/
static int __devexit bcm63xx_udc_remove(struct platform_device *pdev)
static int bcm63xx_udc_remove(struct platform_device *pdev)
{
struct bcm63xx_udc *udc = platform_get_drvdata(pdev);

View File

@ -2651,7 +2651,7 @@ static int qe_udc_resume(struct platform_device *dev)
}
#endif
static int __devexit qe_udc_remove(struct platform_device *ofdev)
static int qe_udc_remove(struct platform_device *ofdev)
{
struct qe_udc *udc = dev_get_drvdata(&ofdev->dev);
struct qe_ep *ep;

View File

@ -203,7 +203,7 @@ static int __init hidg_plat_driver_probe(struct platform_device *pdev)
return 0;
}
static int __devexit hidg_plat_driver_remove(struct platform_device *pdev)
static int hidg_plat_driver_remove(struct platform_device *pdev)
{
struct hidg_func_node *e, *n;

View File

@ -3352,7 +3352,7 @@ phy_fail:
return retval;
}
static int __devexit lpc32xx_udc_remove(struct platform_device *pdev)
static int lpc32xx_udc_remove(struct platform_device *pdev)
{
struct lpc32xx_udc *udc = platform_get_drvdata(pdev);

View File

@ -1763,7 +1763,7 @@ static void mv_u3d_gadget_release(struct device *dev)
dev_dbg(dev, "%s\n", __func__);
}
static __devexit int mv_u3d_remove(struct platform_device *dev)
static int mv_u3d_remove(struct platform_device *dev)
{
struct mv_u3d *u3d = platform_get_drvdata(dev);

View File

@ -2128,7 +2128,7 @@ static void gadget_release(struct device *_dev)
complete(udc->done);
}
static int __devexit mv_udc_remove(struct platform_device *dev)
static int mv_udc_remove(struct platform_device *dev)
{
struct mv_udc *udc = the_controller;
int clk_i;

View File

@ -2193,7 +2193,7 @@ net2272_gadget_release(struct device *_dev)
/*---------------------------------------------------------------------------*/
static void __devexit
static void
net2272_remove(struct net2272 *dev)
{
usb_del_gadget_udc(&dev->gadget);
@ -2488,7 +2488,7 @@ net2272_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
return ret;
}
static void __devexit
static void
net2272_rdk1_remove(struct pci_dev *pdev, struct net2272 *dev)
{
int i;
@ -2510,7 +2510,7 @@ net2272_rdk1_remove(struct pci_dev *pdev, struct net2272 *dev)
}
}
static void __devexit
static void
net2272_rdk2_remove(struct pci_dev *pdev, struct net2272 *dev)
{
int i;
@ -2529,7 +2529,7 @@ net2272_rdk2_remove(struct pci_dev *pdev, struct net2272 *dev)
pci_resource_len(pdev, i));
}
static void __devexit
static void
net2272_pci_remove(struct pci_dev *pdev)
{
struct net2272 *dev = pci_get_drvdata(pdev);
@ -2660,7 +2660,7 @@ net2272_plat_probe(struct platform_device *pdev)
return ret;
}
static int __devexit
static int
net2272_plat_remove(struct platform_device *pdev)
{
struct net2272 *dev = platform_get_drvdata(pdev);

View File

@ -2974,7 +2974,7 @@ cleanup0:
return status;
}
static int __devexit omap_udc_remove(struct platform_device *pdev)
static int omap_udc_remove(struct platform_device *pdev)
{
DECLARE_COMPLETION_ONSTACK(done);

View File

@ -3460,7 +3460,7 @@ static void s3c_hsotg_create_debug(struct s3c_hsotg *hsotg)
*
* Cleanup (remove) the debugfs files for use on module exit.
*/
static void __devexit s3c_hsotg_delete_debug(struct s3c_hsotg *hsotg)
static void s3c_hsotg_delete_debug(struct s3c_hsotg *hsotg)
{
unsigned epidx;
@ -3675,7 +3675,7 @@ err_clk:
* s3c_hsotg_remove - remove function for hsotg driver
* @pdev: The platform information for the driver
*/
static int __devexit s3c_hsotg_remove(struct platform_device *pdev)
static int s3c_hsotg_remove(struct platform_device *pdev)
{
struct s3c_hsotg *hsotg = platform_get_drvdata(pdev);

View File

@ -265,7 +265,7 @@ err_free_usb_dev:
return err;
}
static void __devexit bcma_hcd_remove(struct bcma_device *dev)
static void bcma_hcd_remove(struct bcma_device *dev)
{
struct bcma_hcd_device *usb_dev = bcma_get_drvdata(dev);
struct platform_device *ohci_dev = usb_dev->ohci_dev;

View File

@ -182,7 +182,7 @@ fail_create_hcd:
return retval;
}
static int __devexit ehci_atmel_drv_remove(struct platform_device *pdev)
static int ehci_atmel_drv_remove(struct platform_device *pdev)
{
struct usb_hcd *hcd = platform_get_drvdata(pdev);

View File

@ -173,7 +173,7 @@ put_hcd:
return ret;
}
static int __devexit ehci_msm_remove(struct platform_device *pdev)
static int ehci_msm_remove(struct platform_device *pdev)
{
struct usb_hcd *hcd = platform_get_drvdata(pdev);

View File

@ -126,7 +126,7 @@ err_power:
return err;
}
static int __devexit ehci_platform_remove(struct platform_device *dev)
static int ehci_platform_remove(struct platform_device *dev)
{
struct usb_hcd *hcd = platform_get_drvdata(dev);
struct usb_ehci_pdata *pdata = dev->dev.platform_data;

View File

@ -189,7 +189,7 @@ fail_clk:
return err;
}
static int __devexit s5p_ehci_remove(struct platform_device *pdev)
static int s5p_ehci_remove(struct platform_device *pdev)
{
struct s5p_ehci_platdata *pdata = pdev->dev.platform_data;
struct s5p_ehci_hcd *s5p_ehci = platform_get_drvdata(pdev);

View File

@ -155,7 +155,7 @@ static int ehci_w90x900_probe(struct platform_device *pdev)
return usb_w90x900_probe(&ehci_w90x900_hc_driver, pdev);
}
static int __devexit ehci_w90x900_remove(struct platform_device *pdev)
static int ehci_w90x900_remove(struct platform_device *pdev)
{
struct usb_hcd *hcd = platform_get_drvdata(pdev);

View File

@ -780,7 +780,7 @@ err_regs:
return ret;
}
static int __devexit fhci_remove(struct device *dev)
static int fhci_remove(struct device *dev)
{
struct usb_hcd *hcd = dev_get_drvdata(dev);
struct fhci_hcd *fhci = hcd_to_fhci(hcd);
@ -803,7 +803,7 @@ static int __devexit fhci_remove(struct device *dev)
return 0;
}
static int __devexit of_fhci_remove(struct platform_device *ofdev)
static int of_fhci_remove(struct platform_device *ofdev)
{
return fhci_remove(&ofdev->dev);
}

View File

@ -224,13 +224,13 @@ static int fsl_usb2_mph_dr_of_probe(struct platform_device *ofdev)
return 0;
}
static int __devexit __unregister_subdev(struct device *dev, void *d)
static int __unregister_subdev(struct device *dev, void *d)
{
platform_device_unregister(to_platform_device(dev));
return 0;
}
static int __devexit fsl_usb2_mph_dr_of_remove(struct platform_device *ofdev)
static int fsl_usb2_mph_dr_of_remove(struct platform_device *ofdev)
{
device_for_each_child(&ofdev->dev, NULL, __unregister_subdev);
return 0;

View File

@ -2645,7 +2645,7 @@ static struct hc_driver isp1362_hc_driver = {
/*-------------------------------------------------------------------------*/
static int __devexit isp1362_remove(struct platform_device *pdev)
static int isp1362_remove(struct platform_device *pdev)
{
struct usb_hcd *hcd = platform_get_drvdata(pdev);
struct isp1362_hcd *isp1362_hcd = hcd_to_isp1362_hcd(hcd);

View File

@ -413,7 +413,7 @@ out:
return ret;
}
static int __devexit isp1760_plat_remove(struct platform_device *pdev)
static int isp1760_plat_remove(struct platform_device *pdev)
{
struct resource *mem_res;
resource_size_t mem_size;

View File

@ -94,7 +94,7 @@ static void at91_stop_hc(struct platform_device *pdev)
/*-------------------------------------------------------------------------*/
static void __devexit usb_hcd_at91_remove (struct usb_hcd *, struct platform_device *);
static void usb_hcd_at91_remove (struct usb_hcd *, struct platform_device *);
/* configure so an HC device and id are always provided */
/* always called with process context; sleeping is OK */
@ -203,7 +203,7 @@ static int usb_hcd_at91_probe(const struct hc_driver *driver,
* context, "rmmod" or something similar.
*
*/
static void __devexit usb_hcd_at91_remove(struct usb_hcd *hcd,
static void usb_hcd_at91_remove(struct usb_hcd *hcd,
struct platform_device *pdev)
{
usb_remove_hcd(hcd);
@ -641,7 +641,7 @@ static int ohci_hcd_at91_drv_probe(struct platform_device *pdev)
return usb_hcd_at91_probe(&ohci_at91_hc_driver, pdev);
}
static int __devexit ohci_hcd_at91_drv_remove(struct platform_device *pdev)
static int ohci_hcd_at91_drv_remove(struct platform_device *pdev)
{
struct at91_usbh_data *pdata = pdev->dev.platform_data;
int i;

View File

@ -175,7 +175,7 @@ fail_clk:
return err;
}
static int __devexit exynos_ohci_remove(struct platform_device *pdev)
static int exynos_ohci_remove(struct platform_device *pdev)
{
struct exynos4_ohci_platdata *pdata = pdev->dev.platform_data;
struct exynos_ohci_hcd *exynos_ohci = platform_get_drvdata(pdev);

View File

@ -239,7 +239,7 @@ err_free:
return ret;
}
static __devexit int jz4740_ohci_remove(struct platform_device *pdev)
static int jz4740_ohci_remove(struct platform_device *pdev)
{
struct usb_hcd *hcd = platform_get_drvdata(pdev);
struct jz4740_ohci_hcd *jz4740_ohci = hcd_to_jz4740_hcd(hcd);

View File

@ -209,7 +209,7 @@ err_io:
* the HCD's stop() method. It is always called from a thread
* context, normally "rmmod", "apmd", or something similar.
*/
static int __devexit ohci_hcd_omap3_remove(struct platform_device *pdev)
static int ohci_hcd_omap3_remove(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
struct usb_hcd *hcd = dev_get_drvdata(dev);

View File

@ -149,7 +149,7 @@ err_power:
return err;
}
static int __devexit ohci_platform_remove(struct platform_device *dev)
static int ohci_platform_remove(struct platform_device *dev)
{
struct usb_hcd *hcd = platform_get_drvdata(dev);
struct usb_ohci_pdata *pdata = dev->dev.platform_data;

View File

@ -463,7 +463,7 @@ static int ohci_hcd_s3c2410_drv_probe(struct platform_device *pdev)
return usb_hcd_s3c2410_probe(&ohci_s3c2410_hc_driver, pdev);
}
static int __devexit ohci_hcd_s3c2410_drv_remove(struct platform_device *pdev)
static int ohci_hcd_s3c2410_drv_remove(struct platform_device *pdev)
{
struct usb_hcd *hcd = platform_get_drvdata(pdev);

View File

@ -271,7 +271,7 @@ err_usb_create_hcd:
return ret;
}
static int __devexit ohci_hcd_tmio_drv_remove(struct platform_device *dev)
static int ohci_hcd_tmio_drv_remove(struct platform_device *dev)
{
struct usb_hcd *hcd = platform_get_drvdata(dev);
struct tmio_hcd *tmio = hcd_to_tmio(hcd);

View File

@ -2391,7 +2391,7 @@ static const struct dev_pm_ops r8a66597_dev_pm_ops = {
#define R8A66597_DEV_PM_OPS NULL
#endif
static int __devexit r8a66597_remove(struct platform_device *pdev)
static int r8a66597_remove(struct platform_device *pdev)
{
struct r8a66597 *r8a66597 = dev_get_drvdata(&pdev->dev);
struct usb_hcd *hcd = r8a66597_to_hcd(r8a66597);

View File

@ -1595,7 +1595,7 @@ static struct hc_driver sl811h_hc_driver = {
/*-------------------------------------------------------------------------*/
static int __devexit
static int
sl811h_remove(struct platform_device *dev)
{
struct usb_hcd *hcd = platform_get_drvdata(dev);

View File

@ -206,7 +206,7 @@ err_free_usb_dev:
return err;
}
static void __devexit ssb_hcd_remove(struct ssb_device *dev)
static void ssb_hcd_remove(struct ssb_device *dev)
{
struct ssb_hcd_device *usb_dev = ssb_get_drvdata(dev);
struct platform_device *ohci_dev = usb_dev->ohci_dev;
@ -220,7 +220,7 @@ static void __devexit ssb_hcd_remove(struct ssb_device *dev)
ssb_device_disable(dev, 0);
}
static void __devexit ssb_hcd_shutdown(struct ssb_device *dev)
static void ssb_hcd_shutdown(struct ssb_device *dev)
{
ssb_device_disable(dev, 0);
}

View File

@ -2990,7 +2990,7 @@ static struct hc_driver u132_hc_driver = {
* synchronously - but instead should immediately stop activity to the
* device and asynchronously call usb_remove_hcd()
*/
static int __devexit u132_remove(struct platform_device *pdev)
static int u132_remove(struct platform_device *pdev)
{
struct usb_hcd *hcd = platform_get_drvdata(pdev);
if (hcd) {

View File

@ -560,7 +560,7 @@ err0:
return ret;
}
static int __devexit am35x_remove(struct platform_device *pdev)
static int am35x_remove(struct platform_device *pdev)
{
struct am35x_glue *glue = platform_get_drvdata(pdev);

View File

@ -510,7 +510,7 @@ err0:
return ret;
}
static int __devexit bfin_remove(struct platform_device *pdev)
static int bfin_remove(struct platform_device *pdev)
{
struct bfin_glue *glue = platform_get_drvdata(pdev);

View File

@ -555,7 +555,7 @@ err0:
return ret;
}
static int __devexit da8xx_remove(struct platform_device *pdev)
static int da8xx_remove(struct platform_device *pdev)
{
struct da8xx_glue *glue = platform_get_drvdata(pdev);

View File

@ -587,7 +587,7 @@ err0:
return ret;
}
static int __devexit davinci_remove(struct platform_device *pdev)
static int davinci_remove(struct platform_device *pdev)
{
struct davinci_glue *glue = platform_get_drvdata(pdev);

View File

@ -2034,7 +2034,7 @@ static int musb_probe(struct platform_device *pdev)
return status;
}
static int __devexit musb_remove(struct platform_device *pdev)
static int musb_remove(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
struct musb *musb = dev_to_musb(dev);

View File

@ -668,7 +668,7 @@ err1:
err0:
return ret;
}
static int __devexit dsps_remove(struct platform_device *pdev)
static int dsps_remove(struct platform_device *pdev)
{
struct dsps_glue *glue = platform_get_drvdata(pdev);
const struct dsps_musb_wrapper *wrp = glue->wrp;

View File

@ -605,7 +605,7 @@ err0:
return ret;
}
static int __devexit omap2430_remove(struct platform_device *pdev)
static int omap2430_remove(struct platform_device *pdev)
{
struct omap2430_glue *glue = platform_get_drvdata(pdev);

View File

@ -1215,7 +1215,7 @@ err0:
return ret;
}
static int __devexit tusb_remove(struct platform_device *pdev)
static int tusb_remove(struct platform_device *pdev)
{
struct tusb6010_glue *glue = platform_get_drvdata(pdev);

View File

@ -163,7 +163,7 @@ err0:
return ret;
}
static int __devexit ux500_remove(struct platform_device *pdev)
static int ux500_remove(struct platform_device *pdev)
{
struct ux500_glue *glue = platform_get_drvdata(pdev);

View File

@ -546,7 +546,7 @@ fail0:
return err;
}
static int __devexit ab8500_usb_remove(struct platform_device *pdev)
static int ab8500_usb_remove(struct platform_device *pdev)
{
struct ab8500_usb *ab = platform_get_drvdata(pdev);

View File

@ -1144,7 +1144,7 @@ static int fsl_otg_probe(struct platform_device *pdev)
return ret;
}
static int __devexit fsl_otg_remove(struct platform_device *pdev)
static int fsl_otg_remove(struct platform_device *pdev)
{
struct fsl_usb2_platform_data *pdata = pdev->dev.platform_data;

View File

@ -1606,7 +1606,7 @@ free_motg:
return ret;
}
static int __devexit msm_otg_remove(struct platform_device *pdev)
static int msm_otg_remove(struct platform_device *pdev)
{
struct msm_otg *motg = platform_get_drvdata(pdev);
struct usb_phy *phy = &motg->phy;

View File

@ -149,7 +149,7 @@ static int mxs_phy_probe(struct platform_device *pdev)
return 0;
}
static int __devexit mxs_phy_remove(struct platform_device *pdev)
static int mxs_phy_remove(struct platform_device *pdev)
{
platform_set_drvdata(pdev, NULL);

View File

@ -141,7 +141,7 @@ exit:
return err;
}
static int __devexit nop_usb_xceiv_remove(struct platform_device *pdev)
static int nop_usb_xceiv_remove(struct platform_device *pdev)
{
struct nop_usb_xceiv *nop = platform_get_drvdata(pdev);

View File

@ -199,7 +199,7 @@ static int omap_usb2_probe(struct platform_device *pdev)
return 0;
}
static int __devexit omap_usb2_remove(struct platform_device *pdev)
static int omap_usb2_remove(struct platform_device *pdev)
{
struct omap_usb *phy = platform_get_drvdata(pdev);

View File

@ -196,7 +196,7 @@ static int rcar_usb_phy_probe(struct platform_device *pdev)
return ret;
}
static int __devexit rcar_usb_phy_remove(struct platform_device *pdev)
static int rcar_usb_phy_remove(struct platform_device *pdev)
{
struct rcar_usb_phy_priv *priv = platform_get_drvdata(pdev);

View File

@ -556,7 +556,7 @@ probe_end_pipe_exit:
return ret;
}
static int __devexit usbhs_remove(struct platform_device *pdev)
static int usbhs_remove(struct platform_device *pdev)
{
struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev);
struct renesas_usbhs_platform_info *info = pdev->dev.platform_data;