diff options
| author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:26:20 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-21 16:27:17 -0500 |
| commit | fb4e98ab63433c4d3a1588ea91c73f1cd7ebaa00 (patch) | |
| tree | 52b745201023fce78f4f40a2b23e48421165d888 /drivers/usb/host | |
| parent | 2f82686e8c261d96d07bb1594d987cd6d5c64af6 (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/host')
| -rw-r--r-- | drivers/usb/host/bcma-hcd.c | 2 | ||||
| -rw-r--r-- | drivers/usb/host/ehci-atmel.c | 2 | ||||
| -rw-r--r-- | drivers/usb/host/ehci-msm.c | 2 | ||||
| -rw-r--r-- | drivers/usb/host/ehci-platform.c | 2 | ||||
| -rw-r--r-- | drivers/usb/host/ehci-s5p.c | 2 | ||||
| -rw-r--r-- | drivers/usb/host/ehci-w90x900.c | 2 | ||||
| -rw-r--r-- | drivers/usb/host/fhci-hcd.c | 4 | ||||
| -rw-r--r-- | drivers/usb/host/fsl-mph-dr-of.c | 4 | ||||
| -rw-r--r-- | drivers/usb/host/isp1362-hcd.c | 2 | ||||
| -rw-r--r-- | drivers/usb/host/isp1760-if.c | 2 | ||||
| -rw-r--r-- | drivers/usb/host/ohci-at91.c | 6 | ||||
| -rw-r--r-- | drivers/usb/host/ohci-exynos.c | 2 | ||||
| -rw-r--r-- | drivers/usb/host/ohci-jz4740.c | 2 | ||||
| -rw-r--r-- | drivers/usb/host/ohci-omap3.c | 2 | ||||
| -rw-r--r-- | drivers/usb/host/ohci-platform.c | 2 | ||||
| -rw-r--r-- | drivers/usb/host/ohci-s3c2410.c | 2 | ||||
| -rw-r--r-- | drivers/usb/host/ohci-tmio.c | 2 | ||||
| -rw-r--r-- | drivers/usb/host/r8a66597-hcd.c | 2 | ||||
| -rw-r--r-- | drivers/usb/host/sl811-hcd.c | 2 | ||||
| -rw-r--r-- | drivers/usb/host/ssb-hcd.c | 4 | ||||
| -rw-r--r-- | drivers/usb/host/u132-hcd.c | 2 |
21 files changed, 26 insertions, 26 deletions
diff --git a/drivers/usb/host/bcma-hcd.c b/drivers/usb/host/bcma-hcd.c index 649780b480b..df13d425e9c 100644 --- a/drivers/usb/host/bcma-hcd.c +++ b/drivers/usb/host/bcma-hcd.c | |||
| @@ -265,7 +265,7 @@ err_free_usb_dev: | |||
| 265 | return err; | 265 | return err; |
| 266 | } | 266 | } |
| 267 | 267 | ||
| 268 | static void __devexit bcma_hcd_remove(struct bcma_device *dev) | 268 | static void bcma_hcd_remove(struct bcma_device *dev) |
| 269 | { | 269 | { |
| 270 | struct bcma_hcd_device *usb_dev = bcma_get_drvdata(dev); | 270 | struct bcma_hcd_device *usb_dev = bcma_get_drvdata(dev); |
| 271 | struct platform_device *ohci_dev = usb_dev->ohci_dev; | 271 | struct platform_device *ohci_dev = usb_dev->ohci_dev; |
diff --git a/drivers/usb/host/ehci-atmel.c b/drivers/usb/host/ehci-atmel.c index 96bf00d3261..27639487f7a 100644 --- a/drivers/usb/host/ehci-atmel.c +++ b/drivers/usb/host/ehci-atmel.c | |||
| @@ -182,7 +182,7 @@ fail_create_hcd: | |||
| 182 | return retval; | 182 | return retval; |
| 183 | } | 183 | } |
| 184 | 184 | ||
| 185 | static int __devexit ehci_atmel_drv_remove(struct platform_device *pdev) | 185 | static int ehci_atmel_drv_remove(struct platform_device *pdev) |
| 186 | { | 186 | { |
| 187 | struct usb_hcd *hcd = platform_get_drvdata(pdev); | 187 | struct usb_hcd *hcd = platform_get_drvdata(pdev); |
| 188 | 188 | ||
diff --git a/drivers/usb/host/ehci-msm.c b/drivers/usb/host/ehci-msm.c index e0acfd589a8..88a49c87e74 100644 --- a/drivers/usb/host/ehci-msm.c +++ b/drivers/usb/host/ehci-msm.c | |||
| @@ -173,7 +173,7 @@ put_hcd: | |||
| 173 | return ret; | 173 | return ret; |
| 174 | } | 174 | } |
| 175 | 175 | ||
| 176 | static int __devexit ehci_msm_remove(struct platform_device *pdev) | 176 | static int ehci_msm_remove(struct platform_device *pdev) |
| 177 | { | 177 | { |
| 178 | struct usb_hcd *hcd = platform_get_drvdata(pdev); | 178 | struct usb_hcd *hcd = platform_get_drvdata(pdev); |
| 179 | 179 | ||
diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c index 615cba016a6..58fa0c90c7c 100644 --- a/drivers/usb/host/ehci-platform.c +++ b/drivers/usb/host/ehci-platform.c | |||
| @@ -126,7 +126,7 @@ err_power: | |||
| 126 | return err; | 126 | return err; |
| 127 | } | 127 | } |
| 128 | 128 | ||
| 129 | static int __devexit ehci_platform_remove(struct platform_device *dev) | 129 | static int ehci_platform_remove(struct platform_device *dev) |
| 130 | { | 130 | { |
| 131 | struct usb_hcd *hcd = platform_get_drvdata(dev); | 131 | struct usb_hcd *hcd = platform_get_drvdata(dev); |
| 132 | struct usb_ehci_pdata *pdata = dev->dev.platform_data; | 132 | struct usb_ehci_pdata *pdata = dev->dev.platform_data; |
diff --git a/drivers/usb/host/ehci-s5p.c b/drivers/usb/host/ehci-s5p.c index 2cf19d1ab4b..319dcfaa873 100644 --- a/drivers/usb/host/ehci-s5p.c +++ b/drivers/usb/host/ehci-s5p.c | |||
| @@ -189,7 +189,7 @@ fail_clk: | |||
| 189 | return err; | 189 | return err; |
| 190 | } | 190 | } |
| 191 | 191 | ||
| 192 | static int __devexit s5p_ehci_remove(struct platform_device *pdev) | 192 | static int s5p_ehci_remove(struct platform_device *pdev) |
| 193 | { | 193 | { |
| 194 | struct s5p_ehci_platdata *pdata = pdev->dev.platform_data; | 194 | struct s5p_ehci_platdata *pdata = pdev->dev.platform_data; |
| 195 | struct s5p_ehci_hcd *s5p_ehci = platform_get_drvdata(pdev); | 195 | struct s5p_ehci_hcd *s5p_ehci = platform_get_drvdata(pdev); |
diff --git a/drivers/usb/host/ehci-w90x900.c b/drivers/usb/host/ehci-w90x900.c index bf8d462c26a..59e0e24c753 100644 --- a/drivers/usb/host/ehci-w90x900.c +++ b/drivers/usb/host/ehci-w90x900.c | |||
| @@ -155,7 +155,7 @@ static int ehci_w90x900_probe(struct platform_device *pdev) | |||
| 155 | return usb_w90x900_probe(&ehci_w90x900_hc_driver, pdev); | 155 | return usb_w90x900_probe(&ehci_w90x900_hc_driver, pdev); |
| 156 | } | 156 | } |
| 157 | 157 | ||
| 158 | static int __devexit ehci_w90x900_remove(struct platform_device *pdev) | 158 | static int ehci_w90x900_remove(struct platform_device *pdev) |
| 159 | { | 159 | { |
| 160 | struct usb_hcd *hcd = platform_get_drvdata(pdev); | 160 | struct usb_hcd *hcd = platform_get_drvdata(pdev); |
| 161 | 161 | ||
diff --git a/drivers/usb/host/fhci-hcd.c b/drivers/usb/host/fhci-hcd.c index 618f143748a..0b46542591f 100644 --- a/drivers/usb/host/fhci-hcd.c +++ b/drivers/usb/host/fhci-hcd.c | |||
| @@ -780,7 +780,7 @@ err_regs: | |||
| 780 | return ret; | 780 | return ret; |
| 781 | } | 781 | } |
| 782 | 782 | ||
| 783 | static int __devexit fhci_remove(struct device *dev) | 783 | static int fhci_remove(struct device *dev) |
| 784 | { | 784 | { |
| 785 | struct usb_hcd *hcd = dev_get_drvdata(dev); | 785 | struct usb_hcd *hcd = dev_get_drvdata(dev); |
| 786 | struct fhci_hcd *fhci = hcd_to_fhci(hcd); | 786 | struct fhci_hcd *fhci = hcd_to_fhci(hcd); |
| @@ -803,7 +803,7 @@ static int __devexit fhci_remove(struct device *dev) | |||
| 803 | return 0; | 803 | return 0; |
| 804 | } | 804 | } |
| 805 | 805 | ||
| 806 | static int __devexit of_fhci_remove(struct platform_device *ofdev) | 806 | static int of_fhci_remove(struct platform_device *ofdev) |
| 807 | { | 807 | { |
| 808 | return fhci_remove(&ofdev->dev); | 808 | return fhci_remove(&ofdev->dev); |
| 809 | } | 809 | } |
diff --git a/drivers/usb/host/fsl-mph-dr-of.c b/drivers/usb/host/fsl-mph-dr-of.c index 5faf796fc6c..5105127c1d4 100644 --- a/drivers/usb/host/fsl-mph-dr-of.c +++ b/drivers/usb/host/fsl-mph-dr-of.c | |||
| @@ -224,13 +224,13 @@ static int fsl_usb2_mph_dr_of_probe(struct platform_device *ofdev) | |||
| 224 | return 0; | 224 | return 0; |
| 225 | } | 225 | } |
| 226 | 226 | ||
| 227 | static int __devexit __unregister_subdev(struct device *dev, void *d) | 227 | static int __unregister_subdev(struct device *dev, void *d) |
| 228 | { | 228 | { |
| 229 | platform_device_unregister(to_platform_device(dev)); | 229 | platform_device_unregister(to_platform_device(dev)); |
| 230 | return 0; | 230 | return 0; |
| 231 | } | 231 | } |
| 232 | 232 | ||
| 233 | static int __devexit fsl_usb2_mph_dr_of_remove(struct platform_device *ofdev) | 233 | static int fsl_usb2_mph_dr_of_remove(struct platform_device *ofdev) |
| 234 | { | 234 | { |
| 235 | device_for_each_child(&ofdev->dev, NULL, __unregister_subdev); | 235 | device_for_each_child(&ofdev->dev, NULL, __unregister_subdev); |
| 236 | return 0; | 236 | return 0; |
diff --git a/drivers/usb/host/isp1362-hcd.c b/drivers/usb/host/isp1362-hcd.c index 5f8b63ce4be..974480c516f 100644 --- a/drivers/usb/host/isp1362-hcd.c +++ b/drivers/usb/host/isp1362-hcd.c | |||
| @@ -2645,7 +2645,7 @@ static struct hc_driver isp1362_hc_driver = { | |||
| 2645 | 2645 | ||
| 2646 | /*-------------------------------------------------------------------------*/ | 2646 | /*-------------------------------------------------------------------------*/ |
| 2647 | 2647 | ||
| 2648 | static int __devexit isp1362_remove(struct platform_device *pdev) | 2648 | static int isp1362_remove(struct platform_device *pdev) |
| 2649 | { | 2649 | { |
| 2650 | struct usb_hcd *hcd = platform_get_drvdata(pdev); | 2650 | struct usb_hcd *hcd = platform_get_drvdata(pdev); |
| 2651 | struct isp1362_hcd *isp1362_hcd = hcd_to_isp1362_hcd(hcd); | 2651 | struct isp1362_hcd *isp1362_hcd = hcd_to_isp1362_hcd(hcd); |
diff --git a/drivers/usb/host/isp1760-if.c b/drivers/usb/host/isp1760-if.c index d752a4c4281..bbb791bd761 100644 --- a/drivers/usb/host/isp1760-if.c +++ b/drivers/usb/host/isp1760-if.c | |||
| @@ -413,7 +413,7 @@ out: | |||
| 413 | return ret; | 413 | return ret; |
| 414 | } | 414 | } |
| 415 | 415 | ||
| 416 | static int __devexit isp1760_plat_remove(struct platform_device *pdev) | 416 | static int isp1760_plat_remove(struct platform_device *pdev) |
| 417 | { | 417 | { |
| 418 | struct resource *mem_res; | 418 | struct resource *mem_res; |
| 419 | resource_size_t mem_size; | 419 | resource_size_t mem_size; |
diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c index ff94a7479a7..221850a8c25 100644 --- a/drivers/usb/host/ohci-at91.c +++ b/drivers/usb/host/ohci-at91.c | |||
| @@ -94,7 +94,7 @@ static void at91_stop_hc(struct platform_device *pdev) | |||
| 94 | 94 | ||
| 95 | /*-------------------------------------------------------------------------*/ | 95 | /*-------------------------------------------------------------------------*/ |
| 96 | 96 | ||
| 97 | static void __devexit usb_hcd_at91_remove (struct usb_hcd *, struct platform_device *); | 97 | static void usb_hcd_at91_remove (struct usb_hcd *, struct platform_device *); |
| 98 | 98 | ||
| 99 | /* configure so an HC device and id are always provided */ | 99 | /* configure so an HC device and id are always provided */ |
| 100 | /* always called with process context; sleeping is OK */ | 100 | /* always called with process context; sleeping is OK */ |
| @@ -203,7 +203,7 @@ static int usb_hcd_at91_probe(const struct hc_driver *driver, | |||
| 203 | * context, "rmmod" or something similar. | 203 | * context, "rmmod" or something similar. |
| 204 | * | 204 | * |
| 205 | */ | 205 | */ |
| 206 | static void __devexit usb_hcd_at91_remove(struct usb_hcd *hcd, | 206 | static void usb_hcd_at91_remove(struct usb_hcd *hcd, |
| 207 | struct platform_device *pdev) | 207 | struct platform_device *pdev) |
| 208 | { | 208 | { |
| 209 | usb_remove_hcd(hcd); | 209 | usb_remove_hcd(hcd); |
| @@ -641,7 +641,7 @@ static int ohci_hcd_at91_drv_probe(struct platform_device *pdev) | |||
| 641 | return usb_hcd_at91_probe(&ohci_at91_hc_driver, pdev); | 641 | return usb_hcd_at91_probe(&ohci_at91_hc_driver, pdev); |
| 642 | } | 642 | } |
| 643 | 643 | ||
| 644 | static int __devexit ohci_hcd_at91_drv_remove(struct platform_device *pdev) | 644 | static int ohci_hcd_at91_drv_remove(struct platform_device *pdev) |
| 645 | { | 645 | { |
| 646 | struct at91_usbh_data *pdata = pdev->dev.platform_data; | 646 | struct at91_usbh_data *pdata = pdev->dev.platform_data; |
| 647 | int i; | 647 | int i; |
diff --git a/drivers/usb/host/ohci-exynos.c b/drivers/usb/host/ohci-exynos.c index 1288cdb3137..aa3b8844bb9 100644 --- a/drivers/usb/host/ohci-exynos.c +++ b/drivers/usb/host/ohci-exynos.c | |||
| @@ -175,7 +175,7 @@ fail_clk: | |||
| 175 | return err; | 175 | return err; |
| 176 | } | 176 | } |
| 177 | 177 | ||
| 178 | static int __devexit exynos_ohci_remove(struct platform_device *pdev) | 178 | static int exynos_ohci_remove(struct platform_device *pdev) |
| 179 | { | 179 | { |
| 180 | struct exynos4_ohci_platdata *pdata = pdev->dev.platform_data; | 180 | struct exynos4_ohci_platdata *pdata = pdev->dev.platform_data; |
| 181 | struct exynos_ohci_hcd *exynos_ohci = platform_get_drvdata(pdev); | 181 | struct exynos_ohci_hcd *exynos_ohci = platform_get_drvdata(pdev); |
diff --git a/drivers/usb/host/ohci-jz4740.c b/drivers/usb/host/ohci-jz4740.c index 59feb873813..8062bb9dea1 100644 --- a/drivers/usb/host/ohci-jz4740.c +++ b/drivers/usb/host/ohci-jz4740.c | |||
| @@ -239,7 +239,7 @@ err_free: | |||
| 239 | return ret; | 239 | return ret; |
| 240 | } | 240 | } |
| 241 | 241 | ||
| 242 | static __devexit int jz4740_ohci_remove(struct platform_device *pdev) | 242 | static int jz4740_ohci_remove(struct platform_device *pdev) |
| 243 | { | 243 | { |
| 244 | struct usb_hcd *hcd = platform_get_drvdata(pdev); | 244 | struct usb_hcd *hcd = platform_get_drvdata(pdev); |
| 245 | struct jz4740_ohci_hcd *jz4740_ohci = hcd_to_jz4740_hcd(hcd); | 245 | struct jz4740_ohci_hcd *jz4740_ohci = hcd_to_jz4740_hcd(hcd); |
diff --git a/drivers/usb/host/ohci-omap3.c b/drivers/usb/host/ohci-omap3.c index b2398aa6c7a..4382af3a45f 100644 --- a/drivers/usb/host/ohci-omap3.c +++ b/drivers/usb/host/ohci-omap3.c | |||
| @@ -209,7 +209,7 @@ err_io: | |||
| 209 | * the HCD's stop() method. It is always called from a thread | 209 | * the HCD's stop() method. It is always called from a thread |
| 210 | * context, normally "rmmod", "apmd", or something similar. | 210 | * context, normally "rmmod", "apmd", or something similar. |
| 211 | */ | 211 | */ |
| 212 | static int __devexit ohci_hcd_omap3_remove(struct platform_device *pdev) | 212 | static int ohci_hcd_omap3_remove(struct platform_device *pdev) |
| 213 | { | 213 | { |
| 214 | struct device *dev = &pdev->dev; | 214 | struct device *dev = &pdev->dev; |
| 215 | struct usb_hcd *hcd = dev_get_drvdata(dev); | 215 | struct usb_hcd *hcd = dev_get_drvdata(dev); |
diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-platform.c index c3f76fa8d7d..084503b03fc 100644 --- a/drivers/usb/host/ohci-platform.c +++ b/drivers/usb/host/ohci-platform.c | |||
| @@ -149,7 +149,7 @@ err_power: | |||
| 149 | return err; | 149 | return err; |
| 150 | } | 150 | } |
| 151 | 151 | ||
| 152 | static int __devexit ohci_platform_remove(struct platform_device *dev) | 152 | static int ohci_platform_remove(struct platform_device *dev) |
| 153 | { | 153 | { |
| 154 | struct usb_hcd *hcd = platform_get_drvdata(dev); | 154 | struct usb_hcd *hcd = platform_get_drvdata(dev); |
| 155 | struct usb_ohci_pdata *pdata = dev->dev.platform_data; | 155 | struct usb_ohci_pdata *pdata = dev->dev.platform_data; |
diff --git a/drivers/usb/host/ohci-s3c2410.c b/drivers/usb/host/ohci-s3c2410.c index 4f29e0b086b..ad0f5526960 100644 --- a/drivers/usb/host/ohci-s3c2410.c +++ b/drivers/usb/host/ohci-s3c2410.c | |||
| @@ -463,7 +463,7 @@ static int ohci_hcd_s3c2410_drv_probe(struct platform_device *pdev) | |||
| 463 | return usb_hcd_s3c2410_probe(&ohci_s3c2410_hc_driver, pdev); | 463 | return usb_hcd_s3c2410_probe(&ohci_s3c2410_hc_driver, pdev); |
| 464 | } | 464 | } |
| 465 | 465 | ||
| 466 | static int __devexit ohci_hcd_s3c2410_drv_remove(struct platform_device *pdev) | 466 | static int ohci_hcd_s3c2410_drv_remove(struct platform_device *pdev) |
| 467 | { | 467 | { |
| 468 | struct usb_hcd *hcd = platform_get_drvdata(pdev); | 468 | struct usb_hcd *hcd = platform_get_drvdata(pdev); |
| 469 | 469 | ||
diff --git a/drivers/usb/host/ohci-tmio.c b/drivers/usb/host/ohci-tmio.c index 5996a3b0a4d..d370245a4ee 100644 --- a/drivers/usb/host/ohci-tmio.c +++ b/drivers/usb/host/ohci-tmio.c | |||
| @@ -271,7 +271,7 @@ err_usb_create_hcd: | |||
| 271 | return ret; | 271 | return ret; |
| 272 | } | 272 | } |
| 273 | 273 | ||
| 274 | static int __devexit ohci_hcd_tmio_drv_remove(struct platform_device *dev) | 274 | static int ohci_hcd_tmio_drv_remove(struct platform_device *dev) |
| 275 | { | 275 | { |
| 276 | struct usb_hcd *hcd = platform_get_drvdata(dev); | 276 | struct usb_hcd *hcd = platform_get_drvdata(dev); |
| 277 | struct tmio_hcd *tmio = hcd_to_tmio(hcd); | 277 | struct tmio_hcd *tmio = hcd_to_tmio(hcd); |
diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c index e97dfad526f..a6fd8f5371d 100644 --- a/drivers/usb/host/r8a66597-hcd.c +++ b/drivers/usb/host/r8a66597-hcd.c | |||
| @@ -2391,7 +2391,7 @@ static const struct dev_pm_ops r8a66597_dev_pm_ops = { | |||
| 2391 | #define R8A66597_DEV_PM_OPS NULL | 2391 | #define R8A66597_DEV_PM_OPS NULL |
| 2392 | #endif | 2392 | #endif |
| 2393 | 2393 | ||
| 2394 | static int __devexit r8a66597_remove(struct platform_device *pdev) | 2394 | static int r8a66597_remove(struct platform_device *pdev) |
| 2395 | { | 2395 | { |
| 2396 | struct r8a66597 *r8a66597 = dev_get_drvdata(&pdev->dev); | 2396 | struct r8a66597 *r8a66597 = dev_get_drvdata(&pdev->dev); |
| 2397 | struct usb_hcd *hcd = r8a66597_to_hcd(r8a66597); | 2397 | struct usb_hcd *hcd = r8a66597_to_hcd(r8a66597); |
diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c index 782127d9dfc..d62f0404baa 100644 --- a/drivers/usb/host/sl811-hcd.c +++ b/drivers/usb/host/sl811-hcd.c | |||
| @@ -1595,7 +1595,7 @@ static struct hc_driver sl811h_hc_driver = { | |||
| 1595 | 1595 | ||
| 1596 | /*-------------------------------------------------------------------------*/ | 1596 | /*-------------------------------------------------------------------------*/ |
| 1597 | 1597 | ||
| 1598 | static int __devexit | 1598 | static int |
| 1599 | sl811h_remove(struct platform_device *dev) | 1599 | sl811h_remove(struct platform_device *dev) |
| 1600 | { | 1600 | { |
| 1601 | struct usb_hcd *hcd = platform_get_drvdata(dev); | 1601 | struct usb_hcd *hcd = platform_get_drvdata(dev); |
diff --git a/drivers/usb/host/ssb-hcd.c b/drivers/usb/host/ssb-hcd.c index bdb9d7055da..74af2c6287d 100644 --- a/drivers/usb/host/ssb-hcd.c +++ b/drivers/usb/host/ssb-hcd.c | |||
| @@ -206,7 +206,7 @@ err_free_usb_dev: | |||
| 206 | return err; | 206 | return err; |
| 207 | } | 207 | } |
| 208 | 208 | ||
| 209 | static void __devexit ssb_hcd_remove(struct ssb_device *dev) | 209 | static void ssb_hcd_remove(struct ssb_device *dev) |
| 210 | { | 210 | { |
| 211 | struct ssb_hcd_device *usb_dev = ssb_get_drvdata(dev); | 211 | struct ssb_hcd_device *usb_dev = ssb_get_drvdata(dev); |
| 212 | struct platform_device *ohci_dev = usb_dev->ohci_dev; | 212 | struct platform_device *ohci_dev = usb_dev->ohci_dev; |
| @@ -220,7 +220,7 @@ static void __devexit ssb_hcd_remove(struct ssb_device *dev) | |||
| 220 | ssb_device_disable(dev, 0); | 220 | ssb_device_disable(dev, 0); |
| 221 | } | 221 | } |
| 222 | 222 | ||
| 223 | static void __devexit ssb_hcd_shutdown(struct ssb_device *dev) | 223 | static void ssb_hcd_shutdown(struct ssb_device *dev) |
| 224 | { | 224 | { |
| 225 | ssb_device_disable(dev, 0); | 225 | ssb_device_disable(dev, 0); |
| 226 | } | 226 | } |
diff --git a/drivers/usb/host/u132-hcd.c b/drivers/usb/host/u132-hcd.c index 8bf78e652a8..5efdffe3236 100644 --- a/drivers/usb/host/u132-hcd.c +++ b/drivers/usb/host/u132-hcd.c | |||
| @@ -2990,7 +2990,7 @@ static struct hc_driver u132_hc_driver = { | |||
| 2990 | * synchronously - but instead should immediately stop activity to the | 2990 | * synchronously - but instead should immediately stop activity to the |
| 2991 | * device and asynchronously call usb_remove_hcd() | 2991 | * device and asynchronously call usb_remove_hcd() |
| 2992 | */ | 2992 | */ |
| 2993 | static int __devexit u132_remove(struct platform_device *pdev) | 2993 | static int u132_remove(struct platform_device *pdev) |
| 2994 | { | 2994 | { |
| 2995 | struct usb_hcd *hcd = platform_get_drvdata(pdev); | 2995 | struct usb_hcd *hcd = platform_get_drvdata(pdev); |
| 2996 | if (hcd) { | 2996 | if (hcd) { |
