aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/char/agp/ali-agp.c2
-rw-r--r--drivers/char/agp/amd-k7-agp.c2
-rw-r--r--drivers/char/agp/amd64-agp.c2
-rw-r--r--drivers/char/agp/ati-agp.c2
-rw-r--r--drivers/char/agp/efficeon-agp.c2
-rw-r--r--drivers/char/agp/i460-agp.c2
-rw-r--r--drivers/char/agp/intel-agp.c2
-rw-r--r--drivers/char/agp/nvidia-agp.c2
-rw-r--r--drivers/char/agp/sgi-agp.c2
-rw-r--r--drivers/char/agp/sis-agp.c2
-rw-r--r--drivers/char/agp/sworks-agp.c2
-rw-r--r--drivers/char/agp/uninorth-agp.c2
-rw-r--r--drivers/char/agp/via-agp.c2
-rw-r--r--drivers/char/hw_random/atmel-rng.c2
-rw-r--r--drivers/char/hw_random/bcm63xx-rng.c2
-rw-r--r--drivers/char/hw_random/exynos-rng.c2
-rw-r--r--drivers/char/hw_random/n2-drv.c2
-rw-r--r--drivers/char/hw_random/pasemi-rng.c2
-rw-r--r--drivers/char/hw_random/picoxcell-rng.c2
-rw-r--r--drivers/char/hw_random/ppc4xx-rng.c2
-rw-r--r--drivers/char/hw_random/timeriomem-rng.c2
-rw-r--r--drivers/char/hw_random/virtio-rng.c2
-rw-r--r--drivers/char/ipmi/ipmi_si_intf.c6
-rw-r--r--drivers/char/sonypi.c2
-rw-r--r--drivers/char/tb0219.c2
-rw-r--r--drivers/char/tpm/tpm_i2c_infineon.c2
-rw-r--r--drivers/char/tpm/tpm_ibmvtpm.c2
-rw-r--r--drivers/char/tpm/tpm_infineon.c2
-rw-r--r--drivers/char/tpm/tpm_tis.c2
-rw-r--r--drivers/char/xilinx_hwicap/xilinx_hwicap.c4
30 files changed, 33 insertions, 33 deletions
diff --git a/drivers/char/agp/ali-agp.c b/drivers/char/agp/ali-agp.c
index 9c022df134af..478493543b32 100644
--- a/drivers/char/agp/ali-agp.c
+++ b/drivers/char/agp/ali-agp.c
@@ -374,7 +374,7 @@ found:
374 return agp_add_bridge(bridge); 374 return agp_add_bridge(bridge);
375} 375}
376 376
377static void __devexit agp_ali_remove(struct pci_dev *pdev) 377static void agp_ali_remove(struct pci_dev *pdev)
378{ 378{
379 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); 379 struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
380 380
diff --git a/drivers/char/agp/amd-k7-agp.c b/drivers/char/agp/amd-k7-agp.c
index 3c7a2653f161..1b2101160e98 100644
--- a/drivers/char/agp/amd-k7-agp.c
+++ b/drivers/char/agp/amd-k7-agp.c
@@ -480,7 +480,7 @@ static int __devinit agp_amdk7_probe(struct pci_dev *pdev,
480 return agp_add_bridge(bridge); 480 return agp_add_bridge(bridge);
481} 481}
482 482
483static void __devexit agp_amdk7_remove(struct pci_dev *pdev) 483static void agp_amdk7_remove(struct pci_dev *pdev)
484{ 484{
485 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); 485 struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
486 486
diff --git a/drivers/char/agp/amd64-agp.c b/drivers/char/agp/amd64-agp.c
index 444f8b6ab411..061d46209b1a 100644
--- a/drivers/char/agp/amd64-agp.c
+++ b/drivers/char/agp/amd64-agp.c
@@ -579,7 +579,7 @@ static int __devinit agp_amd64_probe(struct pci_dev *pdev,
579 return 0; 579 return 0;
580} 580}
581 581
582static void __devexit agp_amd64_remove(struct pci_dev *pdev) 582static void agp_amd64_remove(struct pci_dev *pdev)
583{ 583{
584 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); 584 struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
585 585
diff --git a/drivers/char/agp/ati-agp.c b/drivers/char/agp/ati-agp.c
index d1c4c2340713..ed0433576e74 100644
--- a/drivers/char/agp/ati-agp.c
+++ b/drivers/char/agp/ati-agp.c
@@ -533,7 +533,7 @@ found:
533 return agp_add_bridge(bridge); 533 return agp_add_bridge(bridge);
534} 534}
535 535
536static void __devexit agp_ati_remove(struct pci_dev *pdev) 536static void agp_ati_remove(struct pci_dev *pdev)
537{ 537{
538 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); 538 struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
539 539
diff --git a/drivers/char/agp/efficeon-agp.c b/drivers/char/agp/efficeon-agp.c
index d607f53d8afc..55f3e33a309f 100644
--- a/drivers/char/agp/efficeon-agp.c
+++ b/drivers/char/agp/efficeon-agp.c
@@ -407,7 +407,7 @@ static int __devinit agp_efficeon_probe(struct pci_dev *pdev,
407 return agp_add_bridge(bridge); 407 return agp_add_bridge(bridge);
408} 408}
409 409
410static void __devexit agp_efficeon_remove(struct pci_dev *pdev) 410static void agp_efficeon_remove(struct pci_dev *pdev)
411{ 411{
412 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); 412 struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
413 413
diff --git a/drivers/char/agp/i460-agp.c b/drivers/char/agp/i460-agp.c
index 75b763cb3ea1..d328b662e50d 100644
--- a/drivers/char/agp/i460-agp.c
+++ b/drivers/char/agp/i460-agp.c
@@ -611,7 +611,7 @@ static int __devinit agp_intel_i460_probe(struct pci_dev *pdev,
611 return agp_add_bridge(bridge); 611 return agp_add_bridge(bridge);
612} 612}
613 613
614static void __devexit agp_intel_i460_remove(struct pci_dev *pdev) 614static void agp_intel_i460_remove(struct pci_dev *pdev)
615{ 615{
616 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); 616 struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
617 617
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c
index b130df0a1958..f3a8f52b5a00 100644
--- a/drivers/char/agp/intel-agp.c
+++ b/drivers/char/agp/intel-agp.c
@@ -819,7 +819,7 @@ found_gmch:
819 return err; 819 return err;
820} 820}
821 821
822static void __devexit agp_intel_remove(struct pci_dev *pdev) 822static void agp_intel_remove(struct pci_dev *pdev)
823{ 823{
824 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); 824 struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
825 825
diff --git a/drivers/char/agp/nvidia-agp.c b/drivers/char/agp/nvidia-agp.c
index b9734a978186..66e0868000f4 100644
--- a/drivers/char/agp/nvidia-agp.c
+++ b/drivers/char/agp/nvidia-agp.c
@@ -388,7 +388,7 @@ static int __devinit agp_nvidia_probe(struct pci_dev *pdev,
388 return agp_add_bridge(bridge); 388 return agp_add_bridge(bridge);
389} 389}
390 390
391static void __devexit agp_nvidia_remove(struct pci_dev *pdev) 391static void agp_nvidia_remove(struct pci_dev *pdev)
392{ 392{
393 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); 393 struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
394 394
diff --git a/drivers/char/agp/sgi-agp.c b/drivers/char/agp/sgi-agp.c
index 3a5af2f9b015..a18791d7718a 100644
--- a/drivers/char/agp/sgi-agp.c
+++ b/drivers/char/agp/sgi-agp.c
@@ -327,7 +327,7 @@ static int __devinit agp_sgi_init(void)
327 return 0; 327 return 0;
328} 328}
329 329
330static void __devexit agp_sgi_cleanup(void) 330static void agp_sgi_cleanup(void)
331{ 331{
332 kfree(sgi_tioca_agp_bridges); 332 kfree(sgi_tioca_agp_bridges);
333 sgi_tioca_agp_bridges = NULL; 333 sgi_tioca_agp_bridges = NULL;
diff --git a/drivers/char/agp/sis-agp.c b/drivers/char/agp/sis-agp.c
index c93c9e5ee2c2..93d1d31f9d0c 100644
--- a/drivers/char/agp/sis-agp.c
+++ b/drivers/char/agp/sis-agp.c
@@ -211,7 +211,7 @@ static int __devinit agp_sis_probe(struct pci_dev *pdev,
211 return agp_add_bridge(bridge); 211 return agp_add_bridge(bridge);
212} 212}
213 213
214static void __devexit agp_sis_remove(struct pci_dev *pdev) 214static void agp_sis_remove(struct pci_dev *pdev)
215{ 215{
216 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); 216 struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
217 217
diff --git a/drivers/char/agp/sworks-agp.c b/drivers/char/agp/sworks-agp.c
index f02f9b07fd4c..26020fb8d7a9 100644
--- a/drivers/char/agp/sworks-agp.c
+++ b/drivers/char/agp/sworks-agp.c
@@ -518,7 +518,7 @@ static int __devinit agp_serverworks_probe(struct pci_dev *pdev,
518 return agp_add_bridge(bridge); 518 return agp_add_bridge(bridge);
519} 519}
520 520
521static void __devexit agp_serverworks_remove(struct pci_dev *pdev) 521static void agp_serverworks_remove(struct pci_dev *pdev)
522{ 522{
523 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); 523 struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
524 524
diff --git a/drivers/char/agp/uninorth-agp.c b/drivers/char/agp/uninorth-agp.c
index af02da4da9e3..011967ad3eed 100644
--- a/drivers/char/agp/uninorth-agp.c
+++ b/drivers/char/agp/uninorth-agp.c
@@ -663,7 +663,7 @@ static int __devinit agp_uninorth_probe(struct pci_dev *pdev,
663 return agp_add_bridge(bridge); 663 return agp_add_bridge(bridge);
664} 664}
665 665
666static void __devexit agp_uninorth_remove(struct pci_dev *pdev) 666static void agp_uninorth_remove(struct pci_dev *pdev)
667{ 667{
668 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); 668 struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
669 669
diff --git a/drivers/char/agp/via-agp.c b/drivers/char/agp/via-agp.c
index 97706834bae1..6818595bb863 100644
--- a/drivers/char/agp/via-agp.c
+++ b/drivers/char/agp/via-agp.c
@@ -485,7 +485,7 @@ static int __devinit agp_via_probe(struct pci_dev *pdev,
485 return agp_add_bridge(bridge); 485 return agp_add_bridge(bridge);
486} 486}
487 487
488static void __devexit agp_via_remove(struct pci_dev *pdev) 488static void agp_via_remove(struct pci_dev *pdev)
489{ 489{
490 struct agp_bridge_data *bridge = pci_get_drvdata(pdev); 490 struct agp_bridge_data *bridge = pci_get_drvdata(pdev);
491 491
diff --git a/drivers/char/hw_random/atmel-rng.c b/drivers/char/hw_random/atmel-rng.c
index 731c9046cf7b..5a4a6e70478b 100644
--- a/drivers/char/hw_random/atmel-rng.c
+++ b/drivers/char/hw_random/atmel-rng.c
@@ -98,7 +98,7 @@ err_enable:
98 return ret; 98 return ret;
99} 99}
100 100
101static int __devexit atmel_trng_remove(struct platform_device *pdev) 101static int atmel_trng_remove(struct platform_device *pdev)
102{ 102{
103 struct atmel_trng *trng = platform_get_drvdata(pdev); 103 struct atmel_trng *trng = platform_get_drvdata(pdev);
104 104
diff --git a/drivers/char/hw_random/bcm63xx-rng.c b/drivers/char/hw_random/bcm63xx-rng.c
index aec6a4277caa..ae95bcb18d4a 100644
--- a/drivers/char/hw_random/bcm63xx-rng.c
+++ b/drivers/char/hw_random/bcm63xx-rng.c
@@ -145,7 +145,7 @@ out:
145 return ret; 145 return ret;
146} 146}
147 147
148static int __devexit bcm63xx_rng_remove(struct platform_device *pdev) 148static int bcm63xx_rng_remove(struct platform_device *pdev)
149{ 149{
150 struct hwrng *rng = platform_get_drvdata(pdev); 150 struct hwrng *rng = platform_get_drvdata(pdev);
151 struct bcm63xx_rng_priv *priv = to_rng_priv(rng); 151 struct bcm63xx_rng_priv *priv = to_rng_priv(rng);
diff --git a/drivers/char/hw_random/exynos-rng.c b/drivers/char/hw_random/exynos-rng.c
index 232ba9ce579c..bdc852ea7632 100644
--- a/drivers/char/hw_random/exynos-rng.c
+++ b/drivers/char/hw_random/exynos-rng.c
@@ -134,7 +134,7 @@ static int __devinit exynos_rng_probe(struct platform_device *pdev)
134 return hwrng_register(&exynos_rng->rng); 134 return hwrng_register(&exynos_rng->rng);
135} 135}
136 136
137static int __devexit exynos_rng_remove(struct platform_device *pdev) 137static int exynos_rng_remove(struct platform_device *pdev)
138{ 138{
139 struct exynos_rng *exynos_rng = platform_get_drvdata(pdev); 139 struct exynos_rng *exynos_rng = platform_get_drvdata(pdev);
140 140
diff --git a/drivers/char/hw_random/n2-drv.c b/drivers/char/hw_random/n2-drv.c
index fd57d8a9faff..d68a72a08b51 100644
--- a/drivers/char/hw_random/n2-drv.c
+++ b/drivers/char/hw_random/n2-drv.c
@@ -719,7 +719,7 @@ out:
719 return err; 719 return err;
720} 720}
721 721
722static int __devexit n2rng_remove(struct platform_device *op) 722static int n2rng_remove(struct platform_device *op)
723{ 723{
724 struct n2rng *np = dev_get_drvdata(&op->dev); 724 struct n2rng *np = dev_get_drvdata(&op->dev);
725 725
diff --git a/drivers/char/hw_random/pasemi-rng.c b/drivers/char/hw_random/pasemi-rng.c
index 3a632673aed5..a1f70407cc9e 100644
--- a/drivers/char/hw_random/pasemi-rng.c
+++ b/drivers/char/hw_random/pasemi-rng.c
@@ -122,7 +122,7 @@ static int __devinit rng_probe(struct platform_device *ofdev)
122 return err; 122 return err;
123} 123}
124 124
125static int __devexit rng_remove(struct platform_device *dev) 125static int rng_remove(struct platform_device *dev)
126{ 126{
127 void __iomem *rng_regs = (void __iomem *)pasemi_rng.priv; 127 void __iomem *rng_regs = (void __iomem *)pasemi_rng.priv;
128 128
diff --git a/drivers/char/hw_random/picoxcell-rng.c b/drivers/char/hw_random/picoxcell-rng.c
index 97bd891422c7..d4b24c1dd48e 100644
--- a/drivers/char/hw_random/picoxcell-rng.c
+++ b/drivers/char/hw_random/picoxcell-rng.c
@@ -151,7 +151,7 @@ err_enable:
151 return ret; 151 return ret;
152} 152}
153 153
154static int __devexit picoxcell_trng_remove(struct platform_device *pdev) 154static int picoxcell_trng_remove(struct platform_device *pdev)
155{ 155{
156 hwrng_unregister(&picoxcell_trng); 156 hwrng_unregister(&picoxcell_trng);
157 clk_disable(rng_clk); 157 clk_disable(rng_clk);
diff --git a/drivers/char/hw_random/ppc4xx-rng.c b/drivers/char/hw_random/ppc4xx-rng.c
index c51762c13031..af6506a69cd9 100644
--- a/drivers/char/hw_random/ppc4xx-rng.c
+++ b/drivers/char/hw_random/ppc4xx-rng.c
@@ -111,7 +111,7 @@ static int __devinit ppc4xx_rng_probe(struct platform_device *dev)
111 return err; 111 return err;
112} 112}
113 113
114static int __devexit ppc4xx_rng_remove(struct platform_device *dev) 114static int ppc4xx_rng_remove(struct platform_device *dev)
115{ 115{
116 void __iomem *rng_regs = (void __iomem *) ppc4xx_rng.priv; 116 void __iomem *rng_regs = (void __iomem *) ppc4xx_rng.priv;
117 117
diff --git a/drivers/char/hw_random/timeriomem-rng.c b/drivers/char/hw_random/timeriomem-rng.c
index f1a1618db1fb..3a1abc9417e4 100644
--- a/drivers/char/hw_random/timeriomem-rng.c
+++ b/drivers/char/hw_random/timeriomem-rng.c
@@ -130,7 +130,7 @@ failed:
130 return ret; 130 return ret;
131} 131}
132 132
133static int __devexit timeriomem_rng_remove(struct platform_device *pdev) 133static int timeriomem_rng_remove(struct platform_device *pdev)
134{ 134{
135 del_timer_sync(&timeriomem_rng_timer); 135 del_timer_sync(&timeriomem_rng_timer);
136 hwrng_unregister(&timeriomem_rng_ops); 136 hwrng_unregister(&timeriomem_rng_ops);
diff --git a/drivers/char/hw_random/virtio-rng.c b/drivers/char/hw_random/virtio-rng.c
index 5708299507d0..621f595f1a98 100644
--- a/drivers/char/hw_random/virtio-rng.c
+++ b/drivers/char/hw_random/virtio-rng.c
@@ -119,7 +119,7 @@ static int virtrng_probe(struct virtio_device *vdev)
119 return probe_common(vdev); 119 return probe_common(vdev);
120} 120}
121 121
122static void __devexit virtrng_remove(struct virtio_device *vdev) 122static void virtrng_remove(struct virtio_device *vdev)
123{ 123{
124 remove_common(vdev); 124 remove_common(vdev);
125} 125}
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
index e55a7ad8ef18..20ab5b3a8915 100644
--- a/drivers/char/ipmi/ipmi_si_intf.c
+++ b/drivers/char/ipmi/ipmi_si_intf.c
@@ -2228,7 +2228,7 @@ err_free:
2228 return -EINVAL; 2228 return -EINVAL;
2229} 2229}
2230 2230
2231static void __devexit ipmi_pnp_remove(struct pnp_dev *dev) 2231static void ipmi_pnp_remove(struct pnp_dev *dev)
2232{ 2232{
2233 struct smi_info *info = pnp_get_drvdata(dev); 2233 struct smi_info *info = pnp_get_drvdata(dev);
2234 2234
@@ -2529,7 +2529,7 @@ static int ipmi_pci_probe(struct pci_dev *pdev,
2529 return 0; 2529 return 0;
2530} 2530}
2531 2531
2532static void __devexit ipmi_pci_remove(struct pci_dev *pdev) 2532static void ipmi_pci_remove(struct pci_dev *pdev)
2533{ 2533{
2534 struct smi_info *info = pci_get_drvdata(pdev); 2534 struct smi_info *info = pci_get_drvdata(pdev);
2535 cleanup_one_si(info); 2535 cleanup_one_si(info);
@@ -2635,7 +2635,7 @@ static int ipmi_probe(struct platform_device *dev)
2635 return 0; 2635 return 0;
2636} 2636}
2637 2637
2638static int __devexit ipmi_remove(struct platform_device *dev) 2638static int ipmi_remove(struct platform_device *dev)
2639{ 2639{
2640#ifdef CONFIG_OF 2640#ifdef CONFIG_OF
2641 cleanup_one_si(dev_get_drvdata(&dev->dev)); 2641 cleanup_one_si(dev_get_drvdata(&dev->dev));
diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c
index 861efa48c696..d780295a1473 100644
--- a/drivers/char/sonypi.c
+++ b/drivers/char/sonypi.c
@@ -1428,7 +1428,7 @@ static int sonypi_probe(struct platform_device *dev)
1428 return error; 1428 return error;
1429} 1429}
1430 1430
1431static int __devexit sonypi_remove(struct platform_device *dev) 1431static int sonypi_remove(struct platform_device *dev)
1432{ 1432{
1433 sonypi_disable(); 1433 sonypi_disable();
1434 1434
diff --git a/drivers/char/tb0219.c b/drivers/char/tb0219.c
index 76e3aea27ff7..34c63f85104d 100644
--- a/drivers/char/tb0219.c
+++ b/drivers/char/tb0219.c
@@ -318,7 +318,7 @@ static int tb0219_probe(struct platform_device *dev)
318 return 0; 318 return 0;
319} 319}
320 320
321static int __devexit tb0219_remove(struct platform_device *dev) 321static int tb0219_remove(struct platform_device *dev)
322{ 322{
323 _machine_restart = old_machine_restart; 323 _machine_restart = old_machine_restart;
324 324
diff --git a/drivers/char/tpm/tpm_i2c_infineon.c b/drivers/char/tpm/tpm_i2c_infineon.c
index 5a831aec9d4b..78983b77caf4 100644
--- a/drivers/char/tpm/tpm_i2c_infineon.c
+++ b/drivers/char/tpm/tpm_i2c_infineon.c
@@ -656,7 +656,7 @@ static int __devinit tpm_tis_i2c_probe(struct i2c_client *client,
656 return rc; 656 return rc;
657} 657}
658 658
659static int __devexit tpm_tis_i2c_remove(struct i2c_client *client) 659static int tpm_tis_i2c_remove(struct i2c_client *client)
660{ 660{
661 struct tpm_chip *chip = tpm_dev.chip; 661 struct tpm_chip *chip = tpm_dev.chip;
662 release_locality(chip, chip->vendor.locality, 1); 662 release_locality(chip, chip->vendor.locality, 1);
diff --git a/drivers/char/tpm/tpm_ibmvtpm.c b/drivers/char/tpm/tpm_ibmvtpm.c
index 3b032dbb9de0..5a72f39d9620 100644
--- a/drivers/char/tpm/tpm_ibmvtpm.c
+++ b/drivers/char/tpm/tpm_ibmvtpm.c
@@ -267,7 +267,7 @@ static int ibmvtpm_crq_send_init(struct ibmvtpm_dev *ibmvtpm)
267 * Return value: 267 * Return value:
268 * 0 268 * 0
269 */ 269 */
270static int __devexit tpm_ibmvtpm_remove(struct vio_dev *vdev) 270static int tpm_ibmvtpm_remove(struct vio_dev *vdev)
271{ 271{
272 struct ibmvtpm_dev *ibmvtpm = ibmvtpm_get_data(&vdev->dev); 272 struct ibmvtpm_dev *ibmvtpm = ibmvtpm_get_data(&vdev->dev);
273 int rc = 0; 273 int rc = 0;
diff --git a/drivers/char/tpm/tpm_infineon.c b/drivers/char/tpm/tpm_infineon.c
index 3251a44e8ceb..4dd5f8acecda 100644
--- a/drivers/char/tpm/tpm_infineon.c
+++ b/drivers/char/tpm/tpm_infineon.c
@@ -594,7 +594,7 @@ err_last:
594 return rc; 594 return rc;
595} 595}
596 596
597static __devexit void tpm_inf_pnp_remove(struct pnp_dev *dev) 597static void tpm_inf_pnp_remove(struct pnp_dev *dev)
598{ 598{
599 struct tpm_chip *chip = pnp_get_drvdata(dev); 599 struct tpm_chip *chip = pnp_get_drvdata(dev);
600 600
diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c
index 25fee274bdbd..a599cc267fcc 100644
--- a/drivers/char/tpm/tpm_tis.c
+++ b/drivers/char/tpm/tpm_tis.c
@@ -783,7 +783,7 @@ static struct pnp_device_id tpm_pnp_tbl[] = {
783}; 783};
784MODULE_DEVICE_TABLE(pnp, tpm_pnp_tbl); 784MODULE_DEVICE_TABLE(pnp, tpm_pnp_tbl);
785 785
786static __devexit void tpm_tis_pnp_remove(struct pnp_dev *dev) 786static void tpm_tis_pnp_remove(struct pnp_dev *dev)
787{ 787{
788 struct tpm_chip *chip = pnp_get_drvdata(dev); 788 struct tpm_chip *chip = pnp_get_drvdata(dev);
789 789
diff --git a/drivers/char/xilinx_hwicap/xilinx_hwicap.c b/drivers/char/xilinx_hwicap/xilinx_hwicap.c
index d10085f9a0de..5224da5202d3 100644
--- a/drivers/char/xilinx_hwicap/xilinx_hwicap.c
+++ b/drivers/char/xilinx_hwicap/xilinx_hwicap.c
@@ -717,7 +717,7 @@ static struct hwicap_driver_config fifo_icap_config = {
717 .reset = fifo_icap_reset, 717 .reset = fifo_icap_reset,
718}; 718};
719 719
720static int __devexit hwicap_remove(struct device *dev) 720static int hwicap_remove(struct device *dev)
721{ 721{
722 struct hwicap_drvdata *drvdata; 722 struct hwicap_drvdata *drvdata;
723 723
@@ -822,7 +822,7 @@ static int hwicap_drv_probe(struct platform_device *pdev)
822 &buffer_icap_config, regs); 822 &buffer_icap_config, regs);
823} 823}
824 824
825static int __devexit hwicap_drv_remove(struct platform_device *pdev) 825static int hwicap_drv_remove(struct platform_device *pdev)
826{ 826{
827 return hwicap_remove(&pdev->dev); 827 return hwicap_remove(&pdev->dev);
828} 828}