]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commitdiff
usb: remove use of __devexit
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:26:20 +0000 (13:26 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 21:27:17 +0000 (13:27 -0800)
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>
58 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/debugfs.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/mv_u3d_core.c
drivers/usb/gadget/mv_udc_core.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/blackfin.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/omap-usb2.c
drivers/usb/phy/rcar-phy.c
drivers/usb/renesas_usbhs/common.c

index 21913dfeecce449e205b88c53abfb073bfcd073b..fe815ecd557eaf5ad3c2df318e731978d25db7f4 100644 (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;
index 126978038f7a1051d4fc12975122f7ef4e02a3ac..8c291220be7f9ffd1117eb0fe0bd0cc7b6df4a5b 100644 (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);
 
index e8a8ba36b101b3df4289f01db5daf2ef34abbe09..7d16681fd3d24fac13552955c090a90157f66ec2 100644 (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);
 
index cb7eb3ede5e8df372cbbc3d415e6e694b7542b50..9b227e39299af9bd4e51887c974c276eecb9fb30 100644 (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);
 
index 7f9c0d21c897598262f1c7818167d689fd19e58d..5a4a5eca41942823f9c6a8290e2c66fa9ca5c187 100644 (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);
 
index ee6fa872f936aaa615883e3e8b14bb808cf06461..845efe29e6b97b4cb3e9b67f85a025a9c380eada 100644 (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);
index 71610800cd884c449fd6db5ac968f437d3469432..3a4004a620ad78bec1229d01c1dbaec04307d32d 100644 (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;
index 33ae98c5278146d74ef989774cbfefc76ac5a5ef..92604b4f9712630e83898c83df01b985e8b5a631 100644 (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;
index d43f0760ca63ef6f8f31d0676f80929a2ad68ed4..aae5328ac771b69ff0c516d75e0751379a6c9bd6 100644 (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);
 
index e114bb58ccf4313ca951f664d03c35c7bf8f5fa5..f31867fd2574340637f37abca69b3fc9b018b0fa 100644 (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);
 
index 68e389b589d66e97cc1b38e0f4e81c14a3b33b4f..7d70f44567d2a80fb9b5cf459f36ac0f61dafdf3 100644 (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);
 
index 18eff74e33602e2d56445802a3f0c0e6a7bdc4a1..47a49931361eecd151fffdceb061d0987e712526 100644 (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);
 
index b13bc73f56b9d90c8013cd50181d5c81e288d6e0..ec50f18c889000384d2ea5a817b8b7b193ca2394 100644 (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;
index 33deed6e7945761603e12ed184cf9c94f0ecbf50..c36260ea8bf2ed0a5beea8aafb8377d235b7fa1d 100644 (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;
 
index 52ad15ce44acb8319698707849c28d595d02d96d..dd1c9b1fe528d7ab432c3938a8736e6dcc40f02b 100644 (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);
 
index 8cfd5b028dbdab755a8d7ea66b676acc93fbb3d0..b5cea273c95760bdc0227caa8743d22d32b55e68 100644 (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);
 
index 24196492ae20e8e5f266d15ac71b05e67c73317d..379aac7b82fcf62d57b5ef41e1054c2b22e8ae71 100644 (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;
index a20acc14e694c68c0725f308c65d94d6fb821c43..d226058e3b88ab7a3f6d07783886d8f23e8b7365 100644 (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);
index cbc07c117af0629f9603b83f031c85c648941778..9412bf53b864bd0d4d1f228b2d366e99d0c5b5f4 100644 (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);
 
index 6fdb1bd98e983df110c5a262f307d24edcf38bdf..141971d9051eab7d16dca79f0e652917171336e9 100644 (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);
 
index 649780b480bc1b848ebad95e4a4b7fcb1b45bc39..df13d425e9c5fd4700db812505978c4876ac5dd7 100644 (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;
index 96bf00d3261411df00855b05caf9d7340648803e..27639487f7ac430ae2f62010886c5da3485c9384 100644 (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);
 
index e0acfd589a83331e7379e444d90c87acc01e400d..88a49c87e7484846c845dc79cc99a5410799d8a4 100644 (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);
 
index 615cba016a6f65e180eba47e9402f202df65a281..58fa0c90c7c7e3e95a0c2562e89dbff02b76e721 100644 (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;
index 2cf19d1ab4bfd804a16f5079b8c59dc9a1798108..319dcfaa8735f6446891984ab8af65f64d57be5b 100644 (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);
index bf8d462c26aca1e1c0fb313f72a490bcd4dadffa..59e0e24c753febfb76369be8f872cb3731c2f365 100644 (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);
 
index 618f143748a54efa75c207df94132d13c6a4f251..0b46542591fff62c2cedf38b1351b6b7c4db3331 100644 (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);
 }
index 5faf796fc6ca5fa77be681e52e55213cb46eaae7..5105127c1d4b3e4c3ac06953c25ac959fdc24a6c 100644 (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;
index 5f8b63ce4bef26a3f42ef3d99d9577b73cf6101b..974480c516fabc956f200f2c42941f281d792238 100644 (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);
index d752a4c4281a30097b92c2b13f90569de40cf9d6..bbb791bd7617d6db99e064713ea95c527a83bfbf 100644 (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;
index ff94a7479a75642b38a1b65a7819559908723f94..221850a8c25fc668ac935ea12ef4dd17a2b7a40c 100644 (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;
index 1288cdb3137cb28f6f74d4ed88d100010281a64e..aa3b8844bb9fd7dfaf7e8a08322a80a500420d8f 100644 (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);
index 59feb873813234ef45a28c680ba56d979072297d..8062bb9dea16eaeeeeda7c274bf8abd95f593fd1 100644 (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);
index b2398aa6c7a2027d0269abd64289ff4298a33c95..4382af3a45f9204cbf0f576259b6ba3e47a56e9d 100644 (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);
index c3f76fa8d7dc99027082ed983467810cf60d0fbd..084503b03fcfcd72d169f6df4bf50caf14f6bbc2 100644 (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;
index 4f29e0b086b31f1c1c60816855fed3a9879e6484..ad0f552696035f01917481d9d4f48f46662fcea8 100644 (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);
 
index 5996a3b0a4d3418d514b84e718c7f6d9833aafdc..d370245a4ee22af7716983da3b48a9791251a4ff 100644 (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);
index e97dfad526f4ce183152ba0abf3f0c40d30cb34d..a6fd8f5371dfd9f7c534fbf73ff2cc815f1bbdb1 100644 (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);
index 782127d9dfc5fb2aabd4145f4f697bfb54fcdf13..d62f0404baaa636d82e3b409edf4581c7e92ab03 100644 (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);
index bdb9d7055da90655909f4314152b778a891a1472..74af2c6287d2670b321e1edb317f01c0ed2f333b 100644 (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);
 }
index 8bf78e652a8aab6266dc9410593e323ada118d8b..5efdffe3236572e4f7b3141a6a8ab5f4fb95d721 100644 (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) {
index a27bb85156741d824f2aaeecba50a8182df70c3b..3d1c71b50f76ebf33e01ea733bd474ed04704f20 100644 (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);
 
index 12beb0e3114418e3814f76b91e1fd738ef827093..14dab9f9b3d06c0cdfc22a5861d8a3153606fbbd 100644 (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);
 
index c4fb235985ba00d1eecad356fa49ee460f4e224e..97996af2646eae9a2950e857652873186aea57c9 100644 (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);
 
index 8877c1a7dbb7c82c7ca744ffdbefcda0936666fe..b1c01cad28b26183a6201e70394a4097d7d1bd35 100644 (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);
 
index a332bb81aa383ec970978d371ddbece814caf9d4..57cc9c6eaa9fcf2f3f4528a94df7e3024595f64e 100644 (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);
index 605cd59d149ce9200c04e2fa9dbf7e73121ea049..9a975aa0dee2c3fd824e776c59e07a1863827aae 100644 (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;
index 06850f22739f6be1bd01502519ca58f95cf82e3d..da00af46079469df59bc2babd1bf39f1a48b885a 100644 (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);
 
index a03b7befd2e1a32083e0b2a10b64ae1aba43279d..8bde6fc5eb75525c2c2522ad3fa766c341f26f31 100644 (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);
 
index 6b12001eb88b88819597f0daee2fc07b79f22ad3..a27ca1a9c9946bd9157238b580738db34e17e302 100644 (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);
 
index f0ba931f0d5da4c00d843247f953c4d91dedf632..2d86f26a01832765900b671f5389c43ad59cd303 100644 (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);
 
index 2b9a83856a501b0d19c6bfd2725b0ffdcb7e1d0e..d16adb41eb21de144167fc3ad9d6acb5634f1508 100644 (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;
 
index eef0dd276e1b3c07eda6a53cbaf399cb21b3d534..3b9f0d951132089f69a6c249dcda3216b5242314 100644 (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;
index 001fdde12d7adbf3115ba98f839d8f9cedc462a1..76302720055a9ca3235e2f91706fd055623733b6 100644 (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);
 
index 28f70e21ad618bf2d3dee41981c6bcc91f591e83..a3ce24b94a73b1ee4bd43a1cbbcb2483c5bddeaf 100644 (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);
 
index c10fb8b1fdbcf7105224d469f64e7a93879e4847..26ae8f49225c9b2803fe6624f1ec1bfa488d3018 100644 (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);
 
index 84ac2a77de72ac208c7966201a8badc34b428e42..a35681b0c5014fdbaa44cbbf97facb2f2ec74117 100644 (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);
 
index 2aa7c1a38ce3942132b5679bf2bc5cb3c589a501..38bce046f4d06580dbe5f618eba5a786f6e13dc6 100644 (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;