aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:26:20 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-21 16:27:17 -0500
commitfb4e98ab63433c4d3a1588ea91c73f1cd7ebaa00 (patch)
tree52b745201023fce78f4f40a2b23e48421165d888 /drivers/usb/gadget
parent2f82686e8c261d96d07bb1594d987cd6d5c64af6 (diff)
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>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/bcm63xx_udc.c2
-rw-r--r--drivers/usb/gadget/fsl_qe_udc.c2
-rw-r--r--drivers/usb/gadget/hid.c2
-rw-r--r--drivers/usb/gadget/lpc32xx_udc.c2
-rw-r--r--drivers/usb/gadget/mv_u3d_core.c2
-rw-r--r--drivers/usb/gadget/mv_udc_core.c2
-rw-r--r--drivers/usb/gadget/net2272.c10
-rw-r--r--drivers/usb/gadget/omap_udc.c2
-rw-r--r--drivers/usb/gadget/s3c-hsotg.c4
9 files changed, 14 insertions, 14 deletions
diff --git a/drivers/usb/gadget/bcm63xx_udc.c b/drivers/usb/gadget/bcm63xx_udc.c
index 18eff74e3360..47a49931361e 100644
--- a/drivers/usb/gadget/bcm63xx_udc.c
+++ b/drivers/usb/gadget/bcm63xx_udc.c
@@ -2433,7 +2433,7 @@ out_uninit:
2433 * bcm63xx_udc_remove - Remove the device from the system. 2433 * bcm63xx_udc_remove - Remove the device from the system.
2434 * @pdev: Platform device struct from the bcm63xx BSP code. 2434 * @pdev: Platform device struct from the bcm63xx BSP code.
2435 */ 2435 */
2436static int __devexit bcm63xx_udc_remove(struct platform_device *pdev) 2436static int bcm63xx_udc_remove(struct platform_device *pdev)
2437{ 2437{
2438 struct bcm63xx_udc *udc = platform_get_drvdata(pdev); 2438 struct bcm63xx_udc *udc = platform_get_drvdata(pdev);
2439 2439
diff --git a/drivers/usb/gadget/fsl_qe_udc.c b/drivers/usb/gadget/fsl_qe_udc.c
index b13bc73f56b9..ec50f18c8890 100644
--- a/drivers/usb/gadget/fsl_qe_udc.c
+++ b/drivers/usb/gadget/fsl_qe_udc.c
@@ -2651,7 +2651,7 @@ static int qe_udc_resume(struct platform_device *dev)
2651} 2651}
2652#endif 2652#endif
2653 2653
2654static int __devexit qe_udc_remove(struct platform_device *ofdev) 2654static int qe_udc_remove(struct platform_device *ofdev)
2655{ 2655{
2656 struct qe_udc *udc = dev_get_drvdata(&ofdev->dev); 2656 struct qe_udc *udc = dev_get_drvdata(&ofdev->dev);
2657 struct qe_ep *ep; 2657 struct qe_ep *ep;
diff --git a/drivers/usb/gadget/hid.c b/drivers/usb/gadget/hid.c
index 33deed6e7945..c36260ea8bf2 100644
--- a/drivers/usb/gadget/hid.c
+++ b/drivers/usb/gadget/hid.c
@@ -203,7 +203,7 @@ static int __init hidg_plat_driver_probe(struct platform_device *pdev)
203 return 0; 203 return 0;
204} 204}
205 205
206static int __devexit hidg_plat_driver_remove(struct platform_device *pdev) 206static int hidg_plat_driver_remove(struct platform_device *pdev)
207{ 207{
208 struct hidg_func_node *e, *n; 208 struct hidg_func_node *e, *n;
209 209
diff --git a/drivers/usb/gadget/lpc32xx_udc.c b/drivers/usb/gadget/lpc32xx_udc.c
index 52ad15ce44ac..dd1c9b1fe528 100644
--- a/drivers/usb/gadget/lpc32xx_udc.c
+++ b/drivers/usb/gadget/lpc32xx_udc.c
@@ -3352,7 +3352,7 @@ phy_fail:
3352 return retval; 3352 return retval;
3353} 3353}
3354 3354
3355static int __devexit lpc32xx_udc_remove(struct platform_device *pdev) 3355static int lpc32xx_udc_remove(struct platform_device *pdev)
3356{ 3356{
3357 struct lpc32xx_udc *udc = platform_get_drvdata(pdev); 3357 struct lpc32xx_udc *udc = platform_get_drvdata(pdev);
3358 3358
diff --git a/drivers/usb/gadget/mv_u3d_core.c b/drivers/usb/gadget/mv_u3d_core.c
index 8cfd5b028dbd..b5cea273c957 100644
--- a/drivers/usb/gadget/mv_u3d_core.c
+++ b/drivers/usb/gadget/mv_u3d_core.c
@@ -1763,7 +1763,7 @@ static void mv_u3d_gadget_release(struct device *dev)
1763 dev_dbg(dev, "%s\n", __func__); 1763 dev_dbg(dev, "%s\n", __func__);
1764} 1764}
1765 1765
1766static __devexit int mv_u3d_remove(struct platform_device *dev) 1766static int mv_u3d_remove(struct platform_device *dev)
1767{ 1767{
1768 struct mv_u3d *u3d = platform_get_drvdata(dev); 1768 struct mv_u3d *u3d = platform_get_drvdata(dev);
1769 1769
diff --git a/drivers/usb/gadget/mv_udc_core.c b/drivers/usb/gadget/mv_udc_core.c
index 24196492ae20..379aac7b82fc 100644
--- a/drivers/usb/gadget/mv_udc_core.c
+++ b/drivers/usb/gadget/mv_udc_core.c
@@ -2128,7 +2128,7 @@ static void gadget_release(struct device *_dev)
2128 complete(udc->done); 2128 complete(udc->done);
2129} 2129}
2130 2130
2131static int __devexit mv_udc_remove(struct platform_device *dev) 2131static int mv_udc_remove(struct platform_device *dev)
2132{ 2132{
2133 struct mv_udc *udc = the_controller; 2133 struct mv_udc *udc = the_controller;
2134 int clk_i; 2134 int clk_i;
diff --git a/drivers/usb/gadget/net2272.c b/drivers/usb/gadget/net2272.c
index a20acc14e694..d226058e3b88 100644
--- a/drivers/usb/gadget/net2272.c
+++ b/drivers/usb/gadget/net2272.c
@@ -2193,7 +2193,7 @@ net2272_gadget_release(struct device *_dev)
2193 2193
2194/*---------------------------------------------------------------------------*/ 2194/*---------------------------------------------------------------------------*/
2195 2195
2196static void __devexit 2196static void
2197net2272_remove(struct net2272 *dev) 2197net2272_remove(struct net2272 *dev)
2198{ 2198{
2199 usb_del_gadget_udc(&dev->gadget); 2199 usb_del_gadget_udc(&dev->gadget);
@@ -2488,7 +2488,7 @@ net2272_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
2488 return ret; 2488 return ret;
2489} 2489}
2490 2490
2491static void __devexit 2491static void
2492net2272_rdk1_remove(struct pci_dev *pdev, struct net2272 *dev) 2492net2272_rdk1_remove(struct pci_dev *pdev, struct net2272 *dev)
2493{ 2493{
2494 int i; 2494 int i;
@@ -2510,7 +2510,7 @@ net2272_rdk1_remove(struct pci_dev *pdev, struct net2272 *dev)
2510 } 2510 }
2511} 2511}
2512 2512
2513static void __devexit 2513static void
2514net2272_rdk2_remove(struct pci_dev *pdev, struct net2272 *dev) 2514net2272_rdk2_remove(struct pci_dev *pdev, struct net2272 *dev)
2515{ 2515{
2516 int i; 2516 int i;
@@ -2529,7 +2529,7 @@ net2272_rdk2_remove(struct pci_dev *pdev, struct net2272 *dev)
2529 pci_resource_len(pdev, i)); 2529 pci_resource_len(pdev, i));
2530} 2530}
2531 2531
2532static void __devexit 2532static void
2533net2272_pci_remove(struct pci_dev *pdev) 2533net2272_pci_remove(struct pci_dev *pdev)
2534{ 2534{
2535 struct net2272 *dev = pci_get_drvdata(pdev); 2535 struct net2272 *dev = pci_get_drvdata(pdev);
@@ -2660,7 +2660,7 @@ net2272_plat_probe(struct platform_device *pdev)
2660 return ret; 2660 return ret;
2661} 2661}
2662 2662
2663static int __devexit 2663static int
2664net2272_plat_remove(struct platform_device *pdev) 2664net2272_plat_remove(struct platform_device *pdev)
2665{ 2665{
2666 struct net2272 *dev = platform_get_drvdata(pdev); 2666 struct net2272 *dev = platform_get_drvdata(pdev);
diff --git a/drivers/usb/gadget/omap_udc.c b/drivers/usb/gadget/omap_udc.c
index cbc07c117af0..9412bf53b864 100644
--- a/drivers/usb/gadget/omap_udc.c
+++ b/drivers/usb/gadget/omap_udc.c
@@ -2974,7 +2974,7 @@ cleanup0:
2974 return status; 2974 return status;
2975} 2975}
2976 2976
2977static int __devexit omap_udc_remove(struct platform_device *pdev) 2977static int omap_udc_remove(struct platform_device *pdev)
2978{ 2978{
2979 DECLARE_COMPLETION_ONSTACK(done); 2979 DECLARE_COMPLETION_ONSTACK(done);
2980 2980
diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c
index 6fdb1bd98e98..141971d9051e 100644
--- a/drivers/usb/gadget/s3c-hsotg.c
+++ b/drivers/usb/gadget/s3c-hsotg.c
@@ -3460,7 +3460,7 @@ static void s3c_hsotg_create_debug(struct s3c_hsotg *hsotg)
3460 * 3460 *
3461 * Cleanup (remove) the debugfs files for use on module exit. 3461 * Cleanup (remove) the debugfs files for use on module exit.
3462 */ 3462 */
3463static void __devexit s3c_hsotg_delete_debug(struct s3c_hsotg *hsotg) 3463static void s3c_hsotg_delete_debug(struct s3c_hsotg *hsotg)
3464{ 3464{
3465 unsigned epidx; 3465 unsigned epidx;
3466 3466
@@ -3675,7 +3675,7 @@ err_clk:
3675 * s3c_hsotg_remove - remove function for hsotg driver 3675 * s3c_hsotg_remove - remove function for hsotg driver
3676 * @pdev: The platform information for the driver 3676 * @pdev: The platform information for the driver
3677 */ 3677 */
3678static int __devexit s3c_hsotg_remove(struct platform_device *pdev) 3678static int s3c_hsotg_remove(struct platform_device *pdev)
3679{ 3679{
3680 struct s3c_hsotg *hsotg = platform_get_drvdata(pdev); 3680 struct s3c_hsotg *hsotg = platform_get_drvdata(pdev);
3681 3681