Skip to content

Commit

Permalink
usb: remove use of __devexit_p
Browse files Browse the repository at this point in the history
CONFIG_HOTPLUG is going away as an option so __devexit_p 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>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Nov 21, 2012
1 parent 2bd6a02 commit 7690417
Show file tree
Hide file tree
Showing 55 changed files with 56 additions and 56 deletions.
2 changes: 1 addition & 1 deletion drivers/usb/c67x00/c67x00-drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ static int __devexit c67x00_drv_remove(struct platform_device *pdev)

static struct platform_driver c67x00_driver = {
.probe = c67x00_drv_probe,
.remove = __devexit_p(c67x00_drv_remove),
.remove = c67x00_drv_remove,
.driver = {
.owner = THIS_MODULE,
.name = "c67x00",
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/chipidea/ci13xxx_imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ MODULE_DEVICE_TABLE(of, ci13xxx_imx_dt_ids);

static struct platform_driver ci13xxx_imx_driver = {
.probe = ci13xxx_imx_probe,
.remove = __devexit_p(ci13xxx_imx_remove),
.remove = ci13xxx_imx_remove,
.driver = {
.name = "imx_usb",
.owner = THIS_MODULE,
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/chipidea/ci13xxx_msm.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ static int __devexit ci13xxx_msm_remove(struct platform_device *pdev)

static struct platform_driver ci13xxx_msm_driver = {
.probe = ci13xxx_msm_probe,
.remove = __devexit_p(ci13xxx_msm_remove),
.remove = ci13xxx_msm_remove,
.driver = { .name = "msm_hsusb", },
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/chipidea/ci13xxx_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ static struct pci_driver ci13xxx_pci_driver = {
.name = UDC_DRIVER_NAME,
.id_table = ci13xxx_pci_id_table,
.probe = ci13xxx_pci_probe,
.remove = __devexit_p(ci13xxx_pci_remove),
.remove = ci13xxx_pci_remove,
};

module_pci_driver(ci13xxx_pci_driver);
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/chipidea/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ static int __devexit ci_hdrc_remove(struct platform_device *pdev)

static struct platform_driver ci_hdrc_driver = {
.probe = ci_hdrc_probe,
.remove = __devexit_p(ci_hdrc_remove),
.remove = ci_hdrc_remove,
.driver = {
.name = "ci_hdrc",
},
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/chipidea/usbmisc_imx6q.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ static int __devexit usbmisc_imx6q_remove(struct platform_device *pdev)

static struct platform_driver usbmisc_imx6q_driver = {
.probe = usbmisc_imx6q_probe,
.remove = __devexit_p(usbmisc_imx6q_remove),
.remove = usbmisc_imx6q_remove,
.driver = {
.name = "usbmisc_imx6q",
.owner = THIS_MODULE,
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/dwc3/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ static int __devexit dwc3_remove(struct platform_device *pdev)

static struct platform_driver dwc3_driver = {
.probe = dwc3_probe,
.remove = __devexit_p(dwc3_remove),
.remove = dwc3_remove,
.driver = {
.name = "dwc3",
},
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/dwc3/dwc3-exynos.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ MODULE_DEVICE_TABLE(of, exynos_dwc3_match);

static struct platform_driver dwc3_exynos_driver = {
.probe = dwc3_exynos_probe,
.remove = __devexit_p(dwc3_exynos_remove),
.remove = dwc3_exynos_remove,
.driver = {
.name = "exynos-dwc3",
.of_match_table = of_match_ptr(exynos_dwc3_match),
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/dwc3/dwc3-omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ MODULE_DEVICE_TABLE(of, of_dwc3_matach);

static struct platform_driver dwc3_omap_driver = {
.probe = dwc3_omap_probe,
.remove = __devexit_p(dwc3_omap_remove),
.remove = dwc3_omap_remove,
.driver = {
.name = "omap-dwc3",
.of_match_table = of_dwc3_matach,
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/dwc3/dwc3-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ static struct pci_driver dwc3_pci_driver = {
.name = "dwc3-pci",
.id_table = dwc3_pci_id_table,
.probe = dwc3_pci_probe,
.remove = __devexit_p(dwc3_pci_remove),
.remove = dwc3_pci_remove,
};

MODULE_AUTHOR("Felipe Balbi <balbi@ti.com>");
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/bcm63xx_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2450,7 +2450,7 @@ static int __devexit bcm63xx_udc_remove(struct platform_device *pdev)

static struct platform_driver bcm63xx_udc_driver = {
.probe = bcm63xx_udc_probe,
.remove = __devexit_p(bcm63xx_udc_remove),
.remove = bcm63xx_udc_remove,
.driver = {
.name = DRV_MODULE_NAME,
.owner = THIS_MODULE,
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/fsl_qe_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2735,7 +2735,7 @@ static struct platform_driver udc_driver = {
.of_match_table = qe_udc_match,
},
.probe = qe_udc_probe,
.remove = __devexit_p(qe_udc_remove),
.remove = qe_udc_remove,
#ifdef CONFIG_PM
.suspend = qe_udc_suspend,
.resume = qe_udc_resume,
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ static __refdata struct usb_composite_driver hidg_driver = {
};

static struct platform_driver hidg_plat_driver = {
.remove = __devexit_p(hidg_plat_driver_remove),
.remove = hidg_plat_driver_remove,
.driver = {
.owner = THIS_MODULE,
.name = "hidg",
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/lpc32xx_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3447,7 +3447,7 @@ MODULE_DEVICE_TABLE(of, lpc32xx_udc_of_match);
#endif

static struct platform_driver lpc32xx_udc_driver = {
.remove = __devexit_p(lpc32xx_udc_remove),
.remove = lpc32xx_udc_remove,
.shutdown = lpc32xx_udc_shutdown,
.suspend = lpc32xx_udc_suspend,
.resume = lpc32xx_udc_resume,
Expand Down
4 changes: 2 additions & 2 deletions drivers/usb/gadget/net2272.c
Original file line number Diff line number Diff line change
Expand Up @@ -2575,7 +2575,7 @@ static struct pci_driver net2272_pci_driver = {
.id_table = pci_ids,

.probe = net2272_pci_probe,
.remove = __devexit_p(net2272_pci_remove),
.remove = net2272_pci_remove,
};

static int net2272_pci_register(void)
Expand Down Expand Up @@ -2678,7 +2678,7 @@ net2272_plat_remove(struct platform_device *pdev)

static struct platform_driver net2272_plat_driver = {
.probe = net2272_plat_probe,
.remove = __devexit_p(net2272_plat_remove),
.remove = net2272_plat_remove,
.driver = {
.name = driver_name,
.owner = THIS_MODULE,
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/omap_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3060,7 +3060,7 @@ static int omap_udc_resume(struct platform_device *dev)

static struct platform_driver udc_driver = {
.probe = omap_udc_probe,
.remove = __devexit_p(omap_udc_remove),
.remove = omap_udc_remove,
.suspend = omap_udc_suspend,
.resume = omap_udc_resume,
.driver = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/gadget/s3c-hsotg.c
Original file line number Diff line number Diff line change
Expand Up @@ -3708,7 +3708,7 @@ static struct platform_driver s3c_hsotg_driver = {
.owner = THIS_MODULE,
},
.probe = s3c_hsotg_probe,
.remove = __devexit_p(s3c_hsotg_remove),
.remove = s3c_hsotg_remove,
.suspend = s3c_hsotg_suspend,
.resume = s3c_hsotg_resume,
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/bcma-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ static struct bcma_driver bcma_hcd_driver = {
.name = KBUILD_MODNAME,
.id_table = bcma_hcd_table,
.probe = bcma_hcd_probe,
.remove = __devexit_p(bcma_hcd_remove),
.remove = bcma_hcd_remove,
.shutdown = bcma_hcd_shutdown,
.suspend = bcma_hcd_suspend,
.resume = bcma_hcd_resume,
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/ehci-atmel.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ MODULE_DEVICE_TABLE(of, atmel_ehci_dt_ids);

static struct platform_driver ehci_atmel_driver = {
.probe = ehci_atmel_drv_probe,
.remove = __devexit_p(ehci_atmel_drv_remove),
.remove = ehci_atmel_drv_remove,
.shutdown = usb_hcd_platform_shutdown,
.driver = {
.name = "atmel-ehci",
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/ehci-msm.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ static const struct dev_pm_ops ehci_msm_dev_pm_ops = {

static struct platform_driver ehci_msm_driver = {
.probe = ehci_msm_probe,
.remove = __devexit_p(ehci_msm_remove),
.remove = ehci_msm_remove,
.driver = {
.name = "msm_hsusb_host",
.pm = &ehci_msm_dev_pm_ops,
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/ehci-platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ static const struct dev_pm_ops ehci_platform_pm_ops = {
static struct platform_driver ehci_platform_driver = {
.id_table = ehci_platform_table,
.probe = ehci_platform_probe,
.remove = __devexit_p(ehci_platform_remove),
.remove = ehci_platform_remove,
.shutdown = usb_hcd_platform_shutdown,
.driver = {
.owner = THIS_MODULE,
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/ehci-s5p.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ MODULE_DEVICE_TABLE(of, exynos_ehci_match);

static struct platform_driver s5p_ehci_driver = {
.probe = s5p_ehci_probe,
.remove = __devexit_p(s5p_ehci_remove),
.remove = s5p_ehci_remove,
.shutdown = s5p_ehci_shutdown,
.driver = {
.name = "s5p-ehci",
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/ehci-w90x900.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ static int __devexit ehci_w90x900_remove(struct platform_device *pdev)

static struct platform_driver ehci_hcd_w90x900_driver = {
.probe = ehci_w90x900_probe,
.remove = __devexit_p(ehci_w90x900_remove),
.remove = ehci_w90x900_remove,
.driver = {
.name = "w90x900-ehci",
.owner = THIS_MODULE,
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/fhci-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ static struct platform_driver of_fhci_driver = {
.of_match_table = of_fhci_match,
},
.probe = of_fhci_probe,
.remove = __devexit_p(of_fhci_remove),
.remove = of_fhci_remove,
};

module_platform_driver(of_fhci_driver);
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/fsl-mph-dr-of.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ static struct platform_driver fsl_usb2_mph_dr_driver = {
.of_match_table = fsl_usb2_mph_dr_of_match,
},
.probe = fsl_usb2_mph_dr_of_probe,
.remove = __devexit_p(fsl_usb2_mph_dr_of_remove),
.remove = fsl_usb2_mph_dr_of_remove,
};

module_platform_driver(fsl_usb2_mph_dr_driver);
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/isp1362-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2856,7 +2856,7 @@ static int isp1362_resume(struct platform_device *pdev)

static struct platform_driver isp1362_driver = {
.probe = isp1362_probe,
.remove = __devexit_p(isp1362_remove),
.remove = isp1362_remove,

.suspend = isp1362_suspend,
.resume = isp1362_resume,
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/isp1760-if.c
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ static int __devexit isp1760_plat_remove(struct platform_device *pdev)

static struct platform_driver isp1760_plat_driver = {
.probe = isp1760_plat_probe,
.remove = __devexit_p(isp1760_plat_remove),
.remove = isp1760_plat_remove,
.driver = {
.name = "isp1760",
},
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/ohci-at91.c
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ MODULE_ALIAS("platform:at91_ohci");

static struct platform_driver ohci_hcd_at91_driver = {
.probe = ohci_hcd_at91_drv_probe,
.remove = __devexit_p(ohci_hcd_at91_drv_remove),
.remove = ohci_hcd_at91_drv_remove,
.shutdown = usb_hcd_platform_shutdown,
.suspend = ohci_hcd_at91_drv_suspend,
.resume = ohci_hcd_at91_drv_resume,
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/ohci-exynos.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ MODULE_DEVICE_TABLE(of, exynos_ohci_match);

static struct platform_driver exynos_ohci_driver = {
.probe = exynos_ohci_probe,
.remove = __devexit_p(exynos_ohci_remove),
.remove = exynos_ohci_remove,
.shutdown = exynos_ohci_shutdown,
.driver = {
.name = "exynos-ohci",
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/ohci-jz4740.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ static __devexit int jz4740_ohci_remove(struct platform_device *pdev)

static struct platform_driver ohci_hcd_jz4740_driver = {
.probe = jz4740_ohci_probe,
.remove = __devexit_p(jz4740_ohci_remove),
.remove = jz4740_ohci_remove,
.driver = {
.name = "jz4740-ohci",
.owner = THIS_MODULE,
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/ohci-omap3.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ static void ohci_hcd_omap3_shutdown(struct platform_device *pdev)

static struct platform_driver ohci_hcd_omap3_driver = {
.probe = ohci_hcd_omap3_probe,
.remove = __devexit_p(ohci_hcd_omap3_remove),
.remove = ohci_hcd_omap3_remove,
.shutdown = ohci_hcd_omap3_shutdown,
.driver = {
.name = "ohci-omap3",
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/ohci-platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ static const struct dev_pm_ops ohci_platform_pm_ops = {
static struct platform_driver ohci_platform_driver = {
.id_table = ohci_platform_table,
.probe = ohci_platform_probe,
.remove = __devexit_p(ohci_platform_remove),
.remove = ohci_platform_remove,
.shutdown = usb_hcd_platform_shutdown,
.driver = {
.owner = THIS_MODULE,
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/ohci-s3c2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ static const struct dev_pm_ops ohci_hcd_s3c2410_pm_ops = {

static struct platform_driver ohci_hcd_s3c2410_driver = {
.probe = ohci_hcd_s3c2410_drv_probe,
.remove = __devexit_p(ohci_hcd_s3c2410_drv_remove),
.remove = ohci_hcd_s3c2410_drv_remove,
.shutdown = usb_hcd_platform_shutdown,
.driver = {
.owner = THIS_MODULE,
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/ohci-tmio.c
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ static int ohci_hcd_tmio_drv_resume(struct platform_device *dev)

static struct platform_driver ohci_hcd_tmio_driver = {
.probe = ohci_hcd_tmio_drv_probe,
.remove = __devexit_p(ohci_hcd_tmio_drv_remove),
.remove = ohci_hcd_tmio_drv_remove,
.shutdown = usb_hcd_platform_shutdown,
.suspend = ohci_hcd_tmio_drv_suspend,
.resume = ohci_hcd_tmio_drv_resume,
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/r8a66597-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2532,7 +2532,7 @@ static int __devinit r8a66597_probe(struct platform_device *pdev)

static struct platform_driver r8a66597_driver = {
.probe = r8a66597_probe,
.remove = __devexit_p(r8a66597_remove),
.remove = r8a66597_remove,
.driver = {
.name = (char *) hcd_name,
.owner = THIS_MODULE,
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/sl811-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1808,7 +1808,7 @@ sl811h_resume(struct platform_device *dev)
/* this driver is exported so sl811_cs can depend on it */
struct platform_driver sl811h_driver = {
.probe = sl811h_probe,
.remove = __devexit_p(sl811h_remove),
.remove = sl811h_remove,

.suspend = sl811h_suspend,
.resume = sl811h_resume,
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/ssb-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ static struct ssb_driver ssb_hcd_driver = {
.name = KBUILD_MODNAME,
.id_table = ssb_hcd_table,
.probe = ssb_hcd_probe,
.remove = __devexit_p(ssb_hcd_remove),
.remove = ssb_hcd_remove,
.shutdown = ssb_hcd_shutdown,
.suspend = ssb_hcd_suspend,
.resume = ssb_hcd_resume,
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/u132-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -3212,7 +3212,7 @@ static int u132_resume(struct platform_device *pdev)
*/
static struct platform_driver u132_platform_driver = {
.probe = u132_probe,
.remove = __devexit_p(u132_remove),
.remove = u132_remove,
.suspend = u132_suspend,
.resume = u132_resume,
.driver = {
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/musb/am35x.c
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ static struct dev_pm_ops am35x_pm_ops = {

static struct platform_driver am35x_driver = {
.probe = am35x_probe,
.remove = __devexit_p(am35x_remove),
.remove = am35x_remove,
.driver = {
.name = "musb-am35x",
.pm = DEV_PM_OPS,
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/musb/da8xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ static int __devexit da8xx_remove(struct platform_device *pdev)

static struct platform_driver da8xx_driver = {
.probe = da8xx_probe,
.remove = __devexit_p(da8xx_remove),
.remove = da8xx_remove,
.driver = {
.name = "musb-da8xx",
},
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/musb/davinci.c
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ static int __devexit davinci_remove(struct platform_device *pdev)

static struct platform_driver davinci_driver = {
.probe = davinci_probe,
.remove = __devexit_p(davinci_remove),
.remove = davinci_remove,
.driver = {
.name = "musb-davinci",
},
Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/musb/musb_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2288,7 +2288,7 @@ static struct platform_driver musb_driver = {
.pm = MUSB_DEV_PM_OPS,
},
.probe = musb_probe,
.remove = __devexit_p(musb_remove),
.remove = musb_remove,
.shutdown = musb_shutdown,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/musb/musb_dsps.c
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ MODULE_DEVICE_TABLE(of, musb_dsps_of_match);

static struct platform_driver dsps_usbss_driver = {
.probe = dsps_probe,
.remove = __devexit_p(dsps_remove),
.remove = dsps_remove,
.driver = {
.name = "musb-dsps",
.pm = &dsps_pm_ops,
Expand Down
Loading

0 comments on commit 7690417

Please sign in to comment.