]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
usb: remove use of __devexit_p
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:21:08 +0000 (13:21 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 21:27:16 +0000 (13:27 -0800)
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>
55 files changed:
drivers/usb/c67x00/c67x00-drv.c
drivers/usb/chipidea/ci13xxx_imx.c
drivers/usb/chipidea/ci13xxx_msm.c
drivers/usb/chipidea/ci13xxx_pci.c
drivers/usb/chipidea/core.c
drivers/usb/chipidea/usbmisc_imx6q.c
drivers/usb/dwc3/core.c
drivers/usb/dwc3/dwc3-exynos.c
drivers/usb/dwc3/dwc3-omap.c
drivers/usb/dwc3/dwc3-pci.c
drivers/usb/gadget/bcm63xx_udc.c
drivers/usb/gadget/fsl_qe_udc.c
drivers/usb/gadget/hid.c
drivers/usb/gadget/lpc32xx_udc.c
drivers/usb/gadget/net2272.c
drivers/usb/gadget/omap_udc.c
drivers/usb/gadget/s3c-hsotg.c
drivers/usb/host/bcma-hcd.c
drivers/usb/host/ehci-atmel.c
drivers/usb/host/ehci-msm.c
drivers/usb/host/ehci-platform.c
drivers/usb/host/ehci-s5p.c
drivers/usb/host/ehci-w90x900.c
drivers/usb/host/fhci-hcd.c
drivers/usb/host/fsl-mph-dr-of.c
drivers/usb/host/isp1362-hcd.c
drivers/usb/host/isp1760-if.c
drivers/usb/host/ohci-at91.c
drivers/usb/host/ohci-exynos.c
drivers/usb/host/ohci-jz4740.c
drivers/usb/host/ohci-omap3.c
drivers/usb/host/ohci-platform.c
drivers/usb/host/ohci-s3c2410.c
drivers/usb/host/ohci-tmio.c
drivers/usb/host/r8a66597-hcd.c
drivers/usb/host/sl811-hcd.c
drivers/usb/host/ssb-hcd.c
drivers/usb/host/u132-hcd.c
drivers/usb/musb/am35x.c
drivers/usb/musb/da8xx.c
drivers/usb/musb/davinci.c
drivers/usb/musb/musb_core.c
drivers/usb/musb/musb_dsps.c
drivers/usb/musb/omap2430.c
drivers/usb/musb/tusb6010.c
drivers/usb/musb/ux500.c
drivers/usb/otg/ab8500-usb.c
drivers/usb/otg/fsl_otg.c
drivers/usb/otg/msm_otg.c
drivers/usb/otg/mxs-phy.c
drivers/usb/otg/nop-usb-xceiv.c
drivers/usb/phy/mv_u3d_phy.c
drivers/usb/phy/omap-usb2.c
drivers/usb/phy/rcar-phy.c
drivers/usb/renesas_usbhs/common.c

index 6f3b6e267398650724ef3d2cdf49932be82ff999..855d538752c4ec5766fd2be70d0a265b7ff56cd6 100644 (file)
@@ -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",
index 0f5ca4bea17f5e52b60c818f85048254c8522f53..565973035ca8c3c7e24e2458573edb35e6727663 100644 (file)
@@ -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,
index b01feb3be92e4f8ef3007945f2cd7225dd7fdf18..406c5af2da5cdc371e8c20020f8379f67f2e37a2 100644 (file)
@@ -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", },
 };
 
index 918e14971f2bc6db65d507a1086c80adfe018969..e1cb2fb2ef3342edb11c5e76f82a7a42b89b97d9 100644 (file)
@@ -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);
index f69d029b460716c7fdb233a7da34c9c2bb5ea8aa..46f23f226ae28cb7a3e01e92e638c8a869233352 100644 (file)
@@ -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",
        },
index 416e3fc58fd0608c0e74e8d4db05be8c74a301ce..81238a4672962287ee24f7ebdc69ea1adf32f66f 100644 (file)
@@ -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,
index 516d4007dfce45232d6862169bd3d97111a2e6f4..cc5dac11d3057672800be4798af78a20ca958f9e 100644 (file)
@@ -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",
        },
index dc35c5476f3756c530d7f8b178788504f3947d12..19a98184e580a342f4439ca9a4604563ef4a8f91 100644 (file)
@@ -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),
index 900d435f41d106e838f930dbed751bcf8ee596d8..afbc6e99188ca359bbb8f480ec8b8ae02de14e5c 100644 (file)
@@ -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,
index 13962597f3fe2a78fa9611af3143ff43bef2276c..b3eeec7c6bc8c0521a402262d6aa5717f0dcbef1 100644 (file)
@@ -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>");
index 9ca792224cd4731a0e20748232a3e0c6490717e3..b44e43641d596ab97bc42045e13df84f551b8b9f 100644 (file)
@@ -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,
index b09452d6f33a8d0cbb382308cc7cb09fa2958eea..21db1f71d4ce6ad3b4348573340878094a4e3c6e 100644 (file)
@@ -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,
index 74130f6c12c0f2bdc2669ca57b07e8f025efdaeb..33deed6e7945761603e12ed184cf9c94f0ecbf50 100644 (file)
@@ -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",
index d1cf1f4db16aa6280e8f2e8f32ebc9f65ddb8c9a..52ad15ce44acb8319698707849c28d595d02d96d 100644 (file)
@@ -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,
index c009263a47e3250951fc1b16cab143ba0934eb86..26c305321c40d2639968f9f7c2cdc45331f3dae7 100644 (file)
@@ -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)
@@ -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,
index 2a4749c3eb3f7bd7679f768ca5cdab27de0db72f..b5605ddfbd63f7398e6dcc0cb590e04907e0181a 100644 (file)
@@ -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         = {
index 6f696ee8b81752e992e3366feaac048cc0aacf2d..9fd6e5fdc35027d7b7b7a245f5bbafbaa565d8ea 100644 (file)
@@ -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,
 };
index 443da21d73ca10843a69dbc1c396d597e5cddd39..f5143a066add64cb6a96abc241d9d73afc7df0d6 100644 (file)
@@ -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,
index d23321ec0e46121082c97a8e0b6d67074fd19d3c..33f798ec1c7de9d3e8fc53b0cc46bd6274659c34 100644 (file)
@@ -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",
index 7fa1ba4de78965a6f410d645fd3ff91ab935d09e..e0acfd589a83331e7379e444d90c87acc01e400d 100644 (file)
@@ -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,
index f14c542b142f3e2ba0aa3b29faf5d01137b3f267..b807648876be2e48f46dc8d5761e49342a86add7 100644 (file)
@@ -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,
index abc178d21fe49fd3bbd504a913c7bae529f2d092..f90a8815f4a882549a7b0fcec0dcb71de52e8eb3 100644 (file)
@@ -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",
index fdd7c4873cf20361aed91c58910828eff9cdebf0..7bcb8b2863de053df8bac2bfb25040c200136324 100644 (file)
@@ -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,
index 7da1a26bed2e658e613634016d5421eb503b6d29..92f4b99a3ab23f098aa966efe2c3c89e8719308d 100644 (file)
@@ -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);
index 1e771292383f26ecb182462c4e9672c40306f6e0..3a5c82f6723227298e3bf58e000fe40cbe239174 100644 (file)
@@ -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);
index 256326322cfd8b96dd5ee686c0f1a769be52a074..1ad9d2007222c8c5815b891d9d4836519cf864a6 100644 (file)
@@ -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,
index 958379f9de79596ad5fa5b5d179dbde0042ad7c4..5fb3caee7706f00e9370ada748a331571212aada 100644 (file)
@@ -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",
        },
index 908d84af1dd72bca08b80f40177dfdecc881bd00..e4480029bc0cda21664def8779bc55abd44c2bc2 100644 (file)
@@ -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,
index 6a30fc5bec934defc560b5d295bd6bbe709e137e..2f673e872b7da91cbb85973b696c3e39cb3ac080 100644 (file)
@@ -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",
index 931d588c3fb57ccea160bfde8ef51468cfd46467..b4921b713557d181a86337c11db374ef248f24d8 100644 (file)
@@ -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,
index 1b8133b6e451a7a30965eae265a4106c3050521f..6bee6f191c86cbb32e4e9c493176d8b1701cd1cd 100644 (file)
@@ -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",
index bda4e0bb8ab3c14a0b4e02e8e40b2bd2b9306359..ffe6c9808473626c47e9ec589caf585d8506aea8 100644 (file)
@@ -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,
index e84190f25c6b7b6995d32f53d7e1818f1f6608bc..5c5c017850d8c5fbe447c601e1e550757da9e4b1 100644 (file)
@@ -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,
index 2c9ab8f126d456df6ce02e7cccd771e651b4b3e6..94c6c550a95372c6592dccdb6bb580eb117f1324 100644 (file)
@@ -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,
index b3eea0ba97a936b9743245971d0a94a1e6b2e45e..4e0436fc334dda388900d63235fc942dab5a6dd9 100644 (file)
@@ -2532,7 +2532,7 @@ clean_up:
 
 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,
index 619b05f42d4fbd1bd8f938945e9155348d89a8ce..15f20de3e05d05a87eb96f2da2df4e64afbacd3c 100644 (file)
@@ -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,
index c2a29faba076d91b03edc6d2cf4e53db9509e45e..4dc9a09dc346787d03099a69a4436142e70099ab 100644 (file)
@@ -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,
index dbbd1ba2522412ef7e1f28c6e83e942f5ac14ffc..8836898d64debd99aba773870f49df36cc1b7feb 100644 (file)
@@ -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 = {
index 3baccf7654188c80bda9853bab8c5959cfe5e06f..49e8ce7ec26be9c3472e14557ec5729e82f0614c 100644 (file)
@@ -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,
index 67b8ae704e9a93ac45536ba4820515e44725ed5d..51ace9bf73df92ea7a546aab3ef47ba5778fe191 100644 (file)
@@ -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",
        },
index b3c0a943950c63c10f50979d8d4b1f4ac7afca75..e01087b44e09710d25ba420fb7d7f2b18df658d2 100644 (file)
@@ -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",
        },
index 774d8154a28602ece397e96dca3a44821bca837d..69cfa18bb2dfa19d8d6ee4400ee7f16d06414032 100644 (file)
@@ -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,
 };
 
index b108473e4d5fcfb00151bbd62a92b579d8df2216..80e2b03965c878158ade372d79a955a8c35cf7f4 100644 (file)
@@ -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,
index 32f531e7a2e6ff48db2b4f5d9a8f8f4c1572d65a..1150b4b6a0906662af709307c3f91bd1d26fd968 100644 (file)
@@ -674,7 +674,7 @@ MODULE_DEVICE_TABLE(of, omap2430_id_table);
 
 static struct platform_driver omap2430_driver = {
        .probe          = omap2430_probe,
-       .remove         = __devexit_p(omap2430_remove),
+       .remove         = omap2430_remove,
        .driver         = {
                .name   = "musb-omap2430",
                .pm     = DEV_PM_OPS,
index 812719b683d1a858a976f31aa4efd4af6f3ad494..b816517d8cbf1b3094650cc3972aa262ecbfd700 100644 (file)
@@ -1227,7 +1227,7 @@ static int __devexit tusb_remove(struct platform_device *pdev)
 
 static struct platform_driver tusb_driver = {
        .probe          = tusb_probe,
-       .remove         = __devexit_p(tusb_remove),
+       .remove         = tusb_remove,
        .driver         = {
                .name   = "musb-tusb",
        },
index 286f1be6594acd8c56a5e55e010c69e853adab6a..1d815578dde5d6c86014948d709e1ab65e8fddee 100644 (file)
@@ -216,7 +216,7 @@ static const struct dev_pm_ops ux500_pm_ops = {
 
 static struct platform_driver ux500_driver = {
        .probe          = ux500_probe,
-       .remove         = __devexit_p(ux500_remove),
+       .remove         = ux500_remove,
        .driver         = {
                .name   = "musb-ux500",
                .pm     = DEV_PM_OPS,
index ae8ad561f08326144fe51d97bde495ad603611f0..62ea0c23c455ba03b2944ca93db684c9aa2f6228 100644 (file)
@@ -571,7 +571,7 @@ static int __devexit ab8500_usb_remove(struct platform_device *pdev)
 
 static struct platform_driver ab8500_usb_driver = {
        .probe          = ab8500_usb_probe,
-       .remove         = __devexit_p(ab8500_usb_remove),
+       .remove         = ab8500_usb_remove,
        .driver         = {
                .name   = "ab8500-usb",
                .owner  = THIS_MODULE,
index c19d1d7173a90790bf9a20cc5c1f5bea533125dc..77dad188d2d974650045bce5bf11bfde34ec2922 100644 (file)
@@ -1169,7 +1169,7 @@ static int __devexit fsl_otg_remove(struct platform_device *pdev)
 
 struct platform_driver fsl_otg_driver = {
        .probe = fsl_otg_probe,
-       .remove = __devexit_p(fsl_otg_remove),
+       .remove = fsl_otg_remove,
        .driver = {
                .name = driver_name,
                .owner = THIS_MODULE,
index 9f5fc906041a201e3cac694027fe8bd506c9441d..eef0dd276e1b3c07eda6a53cbaf399cb21b3d534 100644 (file)
@@ -1746,7 +1746,7 @@ static const struct dev_pm_ops msm_otg_dev_pm_ops = {
 #endif
 
 static struct platform_driver msm_otg_driver = {
-       .remove = __devexit_p(msm_otg_remove),
+       .remove = msm_otg_remove,
        .driver = {
                .name = DRIVER_NAME,
                .owner = THIS_MODULE,
index 9a3caeecc508eb10325f370e2051493eb5edee72..001fdde12d7adbf3115ba98f839d8f9cedc462a1 100644 (file)
@@ -164,7 +164,7 @@ MODULE_DEVICE_TABLE(of, mxs_phy_dt_ids);
 
 static struct platform_driver mxs_phy_driver = {
        .probe = mxs_phy_probe,
-       .remove = __devexit_p(mxs_phy_remove),
+       .remove = mxs_phy_remove,
        .driver = {
                .name = DRIVER_NAME,
                .owner  = THIS_MODULE,
index e52e35e7adaf9bea0b85a3b6ca3b1790a1c4bda1..0502c24059157d87611d6f28687fb58ffb767d45 100644 (file)
@@ -156,7 +156,7 @@ static int __devexit nop_usb_xceiv_remove(struct platform_device *pdev)
 
 static struct platform_driver nop_usb_xceiv_driver = {
        .probe          = nop_usb_xceiv_probe,
-       .remove         = __devexit_p(nop_usb_xceiv_remove),
+       .remove         = nop_usb_xceiv_remove,
        .driver         = {
                .name   = "nop_usb_xceiv",
                .owner  = THIS_MODULE,
index 9f1c5d3c60ecf97330671ac59490e08ca8c4c0e1..80cf57ef550228f334ef27f5020bbff3632be031 100644 (file)
@@ -331,7 +331,7 @@ static int __exit mv_u3d_phy_remove(struct platform_device *pdev)
 
 static struct platform_driver mv_u3d_phy_driver = {
        .probe          = mv_u3d_phy_probe,
-       .remove         = __devexit_p(mv_u3d_phy_remove),
+       .remove         = mv_u3d_phy_remove,
        .driver         = {
                .name   = "mv-u3d-phy",
                .owner  = THIS_MODULE,
index 15ab3d6f2e8c31e0af6577babec50c98cde5577f..f1ed872dd969eb706867dcfb78029ae0ab9d7f32 100644 (file)
@@ -254,7 +254,7 @@ MODULE_DEVICE_TABLE(of, omap_usb2_id_table);
 
 static struct platform_driver omap_usb2_driver = {
        .probe          = omap_usb2_probe,
-       .remove         = __devexit_p(omap_usb2_remove),
+       .remove         = omap_usb2_remove,
        .driver         = {
                .name   = "omap-usb2",
                .owner  = THIS_MODULE,
index 792f505d630c0e61984b47123f17d19c62a2c9b4..703a29586a7ad100be40309c655aa2f474396b83 100644 (file)
@@ -210,7 +210,7 @@ static struct platform_driver rcar_usb_phy_driver = {
                .name   = "rcar_usb_phy",
        },
        .probe          = rcar_usb_phy_probe,
-       .remove         = __devexit_p(rcar_usb_phy_remove),
+       .remove         = rcar_usb_phy_remove,
 };
 
 module_platform_driver(rcar_usb_phy_driver);
index 3bf922ab045e9669e07ba515b656bb15e55e1474..2aa7c1a38ce3942132b5679bf2bc5cb3c589a501 100644 (file)
@@ -636,7 +636,7 @@ static struct platform_driver renesas_usbhs_driver = {
                .pm     = &usbhsc_pm_ops,
        },
        .probe          = usbhs_probe,
-       .remove         = __devexit_p(usbhs_remove),
+       .remove         = usbhs_remove,
 };
 
 module_platform_driver(renesas_usbhs_driver);