diff options
46 files changed, 50 insertions, 50 deletions
diff --git a/drivers/mtd/devices/bcm47xxsflash.c b/drivers/mtd/devices/bcm47xxsflash.c index 113aced64990..4714584aa993 100644 --- a/drivers/mtd/devices/bcm47xxsflash.c +++ b/drivers/mtd/devices/bcm47xxsflash.c | |||
@@ -66,7 +66,7 @@ out: | |||
66 | return err; | 66 | return err; |
67 | } | 67 | } |
68 | 68 | ||
69 | static int __devexit bcm47xxsflash_remove(struct platform_device *pdev) | 69 | static int bcm47xxsflash_remove(struct platform_device *pdev) |
70 | { | 70 | { |
71 | struct bcma_sflash *sflash = dev_get_platdata(&pdev->dev); | 71 | struct bcma_sflash *sflash = dev_get_platdata(&pdev->dev); |
72 | 72 | ||
diff --git a/drivers/mtd/devices/block2mtd.c b/drivers/mtd/devices/block2mtd.c index 681e2ee0f2d6..8debac9efde9 100644 --- a/drivers/mtd/devices/block2mtd.c +++ b/drivers/mtd/devices/block2mtd.c | |||
@@ -433,7 +433,7 @@ static int __init block2mtd_init(void) | |||
433 | } | 433 | } |
434 | 434 | ||
435 | 435 | ||
436 | static void __devexit block2mtd_exit(void) | 436 | static void block2mtd_exit(void) |
437 | { | 437 | { |
438 | struct list_head *pos, *next; | 438 | struct list_head *pos, *next; |
439 | 439 | ||
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index ae43b0154003..f402b67a5314 100644 --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c | |||
@@ -972,7 +972,7 @@ static int m25p_probe(struct spi_device *spi) | |||
972 | } | 972 | } |
973 | 973 | ||
974 | 974 | ||
975 | static int __devexit m25p_remove(struct spi_device *spi) | 975 | static int m25p_remove(struct spi_device *spi) |
976 | { | 976 | { |
977 | struct m25p *flash = dev_get_drvdata(&spi->dev); | 977 | struct m25p *flash = dev_get_drvdata(&spi->dev); |
978 | int status; | 978 | int status; |
diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c index 0b3f17361acb..0caefb400f0c 100644 --- a/drivers/mtd/devices/mtd_dataflash.c +++ b/drivers/mtd/devices/mtd_dataflash.c | |||
@@ -897,7 +897,7 @@ static int dataflash_probe(struct spi_device *spi) | |||
897 | return status; | 897 | return status; |
898 | } | 898 | } |
899 | 899 | ||
900 | static int __devexit dataflash_remove(struct spi_device *spi) | 900 | static int dataflash_remove(struct spi_device *spi) |
901 | { | 901 | { |
902 | struct dataflash *flash = dev_get_drvdata(&spi->dev); | 902 | struct dataflash *flash = dev_get_drvdata(&spi->dev); |
903 | int status; | 903 | int status; |
diff --git a/drivers/mtd/devices/spear_smi.c b/drivers/mtd/devices/spear_smi.c index a30cd27ab916..2d2c2a5d4d2a 100644 --- a/drivers/mtd/devices/spear_smi.c +++ b/drivers/mtd/devices/spear_smi.c | |||
@@ -1016,7 +1016,7 @@ err: | |||
1016 | * | 1016 | * |
1017 | * free all allocations and delete the partitions. | 1017 | * free all allocations and delete the partitions. |
1018 | */ | 1018 | */ |
1019 | static int __devexit spear_smi_remove(struct platform_device *pdev) | 1019 | static int spear_smi_remove(struct platform_device *pdev) |
1020 | { | 1020 | { |
1021 | struct spear_smi *dev; | 1021 | struct spear_smi *dev; |
1022 | struct spear_snor_flash *flash; | 1022 | struct spear_snor_flash *flash; |
diff --git a/drivers/mtd/devices/sst25l.c b/drivers/mtd/devices/sst25l.c index e4f233941bf6..8091b0163694 100644 --- a/drivers/mtd/devices/sst25l.c +++ b/drivers/mtd/devices/sst25l.c | |||
@@ -411,7 +411,7 @@ static int sst25l_probe(struct spi_device *spi) | |||
411 | return 0; | 411 | return 0; |
412 | } | 412 | } |
413 | 413 | ||
414 | static int __devexit sst25l_remove(struct spi_device *spi) | 414 | static int sst25l_remove(struct spi_device *spi) |
415 | { | 415 | { |
416 | struct sst25l_flash *flash = dev_get_drvdata(&spi->dev); | 416 | struct sst25l_flash *flash = dev_get_drvdata(&spi->dev); |
417 | int ret; | 417 | int ret; |
diff --git a/drivers/mtd/maps/amd76xrom.c b/drivers/mtd/maps/amd76xrom.c index 1a4f671181f4..31ee5c8dd5f4 100644 --- a/drivers/mtd/maps/amd76xrom.c +++ b/drivers/mtd/maps/amd76xrom.c | |||
@@ -289,7 +289,7 @@ static int amd76xrom_init_one (struct pci_dev *pdev, | |||
289 | } | 289 | } |
290 | 290 | ||
291 | 291 | ||
292 | static void __devexit amd76xrom_remove_one (struct pci_dev *pdev) | 292 | static void amd76xrom_remove_one (struct pci_dev *pdev) |
293 | { | 293 | { |
294 | struct amd76xrom_window *window = &amd76xrom_window; | 294 | struct amd76xrom_window *window = &amd76xrom_window; |
295 | 295 | ||
diff --git a/drivers/mtd/maps/autcpu12-nvram.c b/drivers/mtd/maps/autcpu12-nvram.c index b8c858913bbe..a2dc2ae4b24e 100644 --- a/drivers/mtd/maps/autcpu12-nvram.c +++ b/drivers/mtd/maps/autcpu12-nvram.c | |||
@@ -105,7 +105,7 @@ static int autcpu12_nvram_probe(struct platform_device *pdev) | |||
105 | return -ENOMEM; | 105 | return -ENOMEM; |
106 | } | 106 | } |
107 | 107 | ||
108 | static int __devexit autcpu12_nvram_remove(struct platform_device *pdev) | 108 | static int autcpu12_nvram_remove(struct platform_device *pdev) |
109 | { | 109 | { |
110 | struct autcpu12_nvram_priv *priv = platform_get_drvdata(pdev); | 110 | struct autcpu12_nvram_priv *priv = platform_get_drvdata(pdev); |
111 | 111 | ||
diff --git a/drivers/mtd/maps/bfin-async-flash.c b/drivers/mtd/maps/bfin-async-flash.c index 6057c6404289..7d484de4abea 100644 --- a/drivers/mtd/maps/bfin-async-flash.c +++ b/drivers/mtd/maps/bfin-async-flash.c | |||
@@ -172,7 +172,7 @@ static int bfin_flash_probe(struct platform_device *pdev) | |||
172 | return 0; | 172 | return 0; |
173 | } | 173 | } |
174 | 174 | ||
175 | static int __devexit bfin_flash_remove(struct platform_device *pdev) | 175 | static int bfin_flash_remove(struct platform_device *pdev) |
176 | { | 176 | { |
177 | struct async_state *state = platform_get_drvdata(pdev); | 177 | struct async_state *state = platform_get_drvdata(pdev); |
178 | gpio_free(state->enet_flash_pin); | 178 | gpio_free(state->enet_flash_pin); |
diff --git a/drivers/mtd/maps/ck804xrom.c b/drivers/mtd/maps/ck804xrom.c index 65fedb9f296a..0ac41f2e3013 100644 --- a/drivers/mtd/maps/ck804xrom.c +++ b/drivers/mtd/maps/ck804xrom.c | |||
@@ -320,7 +320,7 @@ static int ck804xrom_init_one (struct pci_dev *pdev, | |||
320 | } | 320 | } |
321 | 321 | ||
322 | 322 | ||
323 | static void __devexit ck804xrom_remove_one (struct pci_dev *pdev) | 323 | static void ck804xrom_remove_one (struct pci_dev *pdev) |
324 | { | 324 | { |
325 | struct ck804xrom_window *window = &ck804xrom_window; | 325 | struct ck804xrom_window *window = &ck804xrom_window; |
326 | 326 | ||
diff --git a/drivers/mtd/maps/esb2rom.c b/drivers/mtd/maps/esb2rom.c index 664303f11f08..6d6cb8857e40 100644 --- a/drivers/mtd/maps/esb2rom.c +++ b/drivers/mtd/maps/esb2rom.c | |||
@@ -378,7 +378,7 @@ static int esb2rom_init_one(struct pci_dev *pdev, | |||
378 | return 0; | 378 | return 0; |
379 | } | 379 | } |
380 | 380 | ||
381 | static void __devexit esb2rom_remove_one (struct pci_dev *pdev) | 381 | static void esb2rom_remove_one (struct pci_dev *pdev) |
382 | { | 382 | { |
383 | struct esb2rom_window *window = &esb2rom_window; | 383 | struct esb2rom_window *window = &esb2rom_window; |
384 | esb2rom_cleanup(window); | 384 | esb2rom_cleanup(window); |
diff --git a/drivers/mtd/maps/gpio-addr-flash.c b/drivers/mtd/maps/gpio-addr-flash.c index 4babe04dda50..41aa8db36020 100644 --- a/drivers/mtd/maps/gpio-addr-flash.c +++ b/drivers/mtd/maps/gpio-addr-flash.c | |||
@@ -258,7 +258,7 @@ static int gpio_flash_probe(struct platform_device *pdev) | |||
258 | return 0; | 258 | return 0; |
259 | } | 259 | } |
260 | 260 | ||
261 | static int __devexit gpio_flash_remove(struct platform_device *pdev) | 261 | static int gpio_flash_remove(struct platform_device *pdev) |
262 | { | 262 | { |
263 | struct async_state *state = platform_get_drvdata(pdev); | 263 | struct async_state *state = platform_get_drvdata(pdev); |
264 | size_t i = 0; | 264 | size_t i = 0; |
diff --git a/drivers/mtd/maps/ichxrom.c b/drivers/mtd/maps/ichxrom.c index 9673601c3833..03d60efda277 100644 --- a/drivers/mtd/maps/ichxrom.c +++ b/drivers/mtd/maps/ichxrom.c | |||
@@ -315,7 +315,7 @@ static int ichxrom_init_one (struct pci_dev *pdev, | |||
315 | } | 315 | } |
316 | 316 | ||
317 | 317 | ||
318 | static void __devexit ichxrom_remove_one (struct pci_dev *pdev) | 318 | static void ichxrom_remove_one (struct pci_dev *pdev) |
319 | { | 319 | { |
320 | struct ichxrom_window *window = &ichxrom_window; | 320 | struct ichxrom_window *window = &ichxrom_window; |
321 | ichxrom_cleanup(window); | 321 | ichxrom_cleanup(window); |
diff --git a/drivers/mtd/maps/intel_vr_nor.c b/drivers/mtd/maps/intel_vr_nor.c index 1694c03e4884..3ee2ad1dcbe7 100644 --- a/drivers/mtd/maps/intel_vr_nor.c +++ b/drivers/mtd/maps/intel_vr_nor.c | |||
@@ -63,7 +63,7 @@ struct vr_nor_mtd { | |||
63 | #define TIMING_BYTE_EN (1 << 0) /* 8-bit vs 16-bit bus */ | 63 | #define TIMING_BYTE_EN (1 << 0) /* 8-bit vs 16-bit bus */ |
64 | #define TIMING_MASK 0x3FFF0000 | 64 | #define TIMING_MASK 0x3FFF0000 |
65 | 65 | ||
66 | static void __devexit vr_nor_destroy_partitions(struct vr_nor_mtd *p) | 66 | static void vr_nor_destroy_partitions(struct vr_nor_mtd *p) |
67 | { | 67 | { |
68 | mtd_device_unregister(p->info); | 68 | mtd_device_unregister(p->info); |
69 | } | 69 | } |
@@ -75,7 +75,7 @@ static int vr_nor_init_partitions(struct vr_nor_mtd *p) | |||
75 | return mtd_device_parse_register(p->info, NULL, NULL, NULL, 0); | 75 | return mtd_device_parse_register(p->info, NULL, NULL, NULL, 0); |
76 | } | 76 | } |
77 | 77 | ||
78 | static void __devexit vr_nor_destroy_mtd_setup(struct vr_nor_mtd *p) | 78 | static void vr_nor_destroy_mtd_setup(struct vr_nor_mtd *p) |
79 | { | 79 | { |
80 | map_destroy(p->info); | 80 | map_destroy(p->info); |
81 | } | 81 | } |
@@ -96,7 +96,7 @@ static int vr_nor_mtd_setup(struct vr_nor_mtd *p) | |||
96 | return 0; | 96 | return 0; |
97 | } | 97 | } |
98 | 98 | ||
99 | static void __devexit vr_nor_destroy_maps(struct vr_nor_mtd *p) | 99 | static void vr_nor_destroy_maps(struct vr_nor_mtd *p) |
100 | { | 100 | { |
101 | unsigned int exp_timing_cs0; | 101 | unsigned int exp_timing_cs0; |
102 | 102 | ||
@@ -176,7 +176,7 @@ static struct pci_device_id vr_nor_pci_ids[] = { | |||
176 | {0,} | 176 | {0,} |
177 | }; | 177 | }; |
178 | 178 | ||
179 | static void __devexit vr_nor_pci_remove(struct pci_dev *dev) | 179 | static void vr_nor_pci_remove(struct pci_dev *dev) |
180 | { | 180 | { |
181 | struct vr_nor_mtd *p = pci_get_drvdata(dev); | 181 | struct vr_nor_mtd *p = pci_get_drvdata(dev); |
182 | 182 | ||
diff --git a/drivers/mtd/maps/lantiq-flash.c b/drivers/mtd/maps/lantiq-flash.c index 0cf6c73070fd..3c3c791eb96a 100644 --- a/drivers/mtd/maps/lantiq-flash.c +++ b/drivers/mtd/maps/lantiq-flash.c | |||
@@ -185,7 +185,7 @@ err_out: | |||
185 | return err; | 185 | return err; |
186 | } | 186 | } |
187 | 187 | ||
188 | static int __devexit | 188 | static int |
189 | ltq_mtd_remove(struct platform_device *pdev) | 189 | ltq_mtd_remove(struct platform_device *pdev) |
190 | { | 190 | { |
191 | struct ltq_mtd *ltq_mtd = platform_get_drvdata(pdev); | 191 | struct ltq_mtd *ltq_mtd = platform_get_drvdata(pdev); |
diff --git a/drivers/mtd/maps/pci.c b/drivers/mtd/maps/pci.c index 81a8caf3bd13..ed82914966f5 100644 --- a/drivers/mtd/maps/pci.c +++ b/drivers/mtd/maps/pci.c | |||
@@ -308,7 +308,7 @@ out: | |||
308 | return err; | 308 | return err; |
309 | } | 309 | } |
310 | 310 | ||
311 | static void __devexit | 311 | static void |
312 | mtd_pci_remove(struct pci_dev *dev) | 312 | mtd_pci_remove(struct pci_dev *dev) |
313 | { | 313 | { |
314 | struct mtd_info *mtd = pci_get_drvdata(dev); | 314 | struct mtd_info *mtd = pci_get_drvdata(dev); |
diff --git a/drivers/mtd/maps/pismo.c b/drivers/mtd/maps/pismo.c index 01db0d0b076a..afea93b515d5 100644 --- a/drivers/mtd/maps/pismo.c +++ b/drivers/mtd/maps/pismo.c | |||
@@ -197,7 +197,7 @@ static void pismo_add_one(struct pismo_data *pismo, int i, | |||
197 | } | 197 | } |
198 | } | 198 | } |
199 | 199 | ||
200 | static int __devexit pismo_remove(struct i2c_client *client) | 200 | static int pismo_remove(struct i2c_client *client) |
201 | { | 201 | { |
202 | struct pismo_data *pismo = i2c_get_clientdata(client); | 202 | struct pismo_data *pismo = i2c_get_clientdata(client); |
203 | int i; | 203 | int i; |
diff --git a/drivers/mtd/maps/pxa2xx-flash.c b/drivers/mtd/maps/pxa2xx-flash.c index b5120f9e9845..43e3dbb976d9 100644 --- a/drivers/mtd/maps/pxa2xx-flash.c +++ b/drivers/mtd/maps/pxa2xx-flash.c | |||
@@ -105,7 +105,7 @@ static int pxa2xx_flash_probe(struct platform_device *pdev) | |||
105 | return 0; | 105 | return 0; |
106 | } | 106 | } |
107 | 107 | ||
108 | static int __devexit pxa2xx_flash_remove(struct platform_device *dev) | 108 | static int pxa2xx_flash_remove(struct platform_device *dev) |
109 | { | 109 | { |
110 | struct pxa2xx_flash_info *info = platform_get_drvdata(dev); | 110 | struct pxa2xx_flash_info *info = platform_get_drvdata(dev); |
111 | 111 | ||
diff --git a/drivers/mtd/maps/scb2_flash.c b/drivers/mtd/maps/scb2_flash.c index bb1857f70bb1..71796137e97b 100644 --- a/drivers/mtd/maps/scb2_flash.c +++ b/drivers/mtd/maps/scb2_flash.c | |||
@@ -197,7 +197,7 @@ scb2_flash_probe(struct pci_dev *dev, const struct pci_device_id *ent) | |||
197 | return 0; | 197 | return 0; |
198 | } | 198 | } |
199 | 199 | ||
200 | static void __devexit | 200 | static void |
201 | scb2_flash_remove(struct pci_dev *dev) | 201 | scb2_flash_remove(struct pci_dev *dev) |
202 | { | 202 | { |
203 | if (!scb2_mtd) | 203 | if (!scb2_mtd) |
diff --git a/drivers/mtd/maps/sun_uflash.c b/drivers/mtd/maps/sun_uflash.c index 2618e4dd2718..d467f3b11c96 100644 --- a/drivers/mtd/maps/sun_uflash.c +++ b/drivers/mtd/maps/sun_uflash.c | |||
@@ -121,7 +121,7 @@ static int uflash_probe(struct platform_device *op) | |||
121 | return uflash_devinit(op, dp); | 121 | return uflash_devinit(op, dp); |
122 | } | 122 | } |
123 | 123 | ||
124 | static int __devexit uflash_remove(struct platform_device *op) | 124 | static int uflash_remove(struct platform_device *op) |
125 | { | 125 | { |
126 | struct uflash_dev *up = dev_get_drvdata(&op->dev); | 126 | struct uflash_dev *up = dev_get_drvdata(&op->dev); |
127 | 127 | ||
diff --git a/drivers/mtd/maps/vmu-flash.c b/drivers/mtd/maps/vmu-flash.c index 84c3f5a99e12..6b223cfe92b7 100644 --- a/drivers/mtd/maps/vmu-flash.c +++ b/drivers/mtd/maps/vmu-flash.c | |||
@@ -690,7 +690,7 @@ fail_nomem: | |||
690 | return error; | 690 | return error; |
691 | } | 691 | } |
692 | 692 | ||
693 | static void __devexit vmu_disconnect(struct maple_device *mdev) | 693 | static void vmu_disconnect(struct maple_device *mdev) |
694 | { | 694 | { |
695 | struct memcard *card; | 695 | struct memcard *card; |
696 | struct mdev_part *mpart; | 696 | struct mdev_part *mpart; |
@@ -789,7 +789,7 @@ static int probe_maple_vmu(struct device *dev) | |||
789 | return 0; | 789 | return 0; |
790 | } | 790 | } |
791 | 791 | ||
792 | static int __devexit remove_maple_vmu(struct device *dev) | 792 | static int remove_maple_vmu(struct device *dev) |
793 | { | 793 | { |
794 | struct maple_device *mdev = to_maple_dev(dev); | 794 | struct maple_device *mdev = to_maple_dev(dev); |
795 | 795 | ||
diff --git a/drivers/mtd/nand/ams-delta.c b/drivers/mtd/nand/ams-delta.c index 703e37387135..f1d71cdc8aac 100644 --- a/drivers/mtd/nand/ams-delta.c +++ b/drivers/mtd/nand/ams-delta.c | |||
@@ -270,7 +270,7 @@ out_free: | |||
270 | /* | 270 | /* |
271 | * Clean up routine | 271 | * Clean up routine |
272 | */ | 272 | */ |
273 | static int __devexit ams_delta_cleanup(struct platform_device *pdev) | 273 | static int ams_delta_cleanup(struct platform_device *pdev) |
274 | { | 274 | { |
275 | void __iomem *io_base = platform_get_drvdata(pdev); | 275 | void __iomem *io_base = platform_get_drvdata(pdev); |
276 | 276 | ||
diff --git a/drivers/mtd/nand/au1550nd.c b/drivers/mtd/nand/au1550nd.c index 73d6423680ca..217459d02b2f 100644 --- a/drivers/mtd/nand/au1550nd.c +++ b/drivers/mtd/nand/au1550nd.c | |||
@@ -491,7 +491,7 @@ out1: | |||
491 | return ret; | 491 | return ret; |
492 | } | 492 | } |
493 | 493 | ||
494 | static int __devexit au1550nd_remove(struct platform_device *pdev) | 494 | static int au1550nd_remove(struct platform_device *pdev) |
495 | { | 495 | { |
496 | struct au1550nd_ctx *ctx = platform_get_drvdata(pdev); | 496 | struct au1550nd_ctx *ctx = platform_get_drvdata(pdev); |
497 | struct resource *r = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 497 | struct resource *r = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c index 56de9b676385..4271e948d1e2 100644 --- a/drivers/mtd/nand/bf5xx_nand.c +++ b/drivers/mtd/nand/bf5xx_nand.c | |||
@@ -667,7 +667,7 @@ static int bf5xx_nand_add_partition(struct bf5xx_nand_info *info) | |||
667 | return mtd_device_register(mtd, parts, nr); | 667 | return mtd_device_register(mtd, parts, nr); |
668 | } | 668 | } |
669 | 669 | ||
670 | static int __devexit bf5xx_nand_remove(struct platform_device *pdev) | 670 | static int bf5xx_nand_remove(struct platform_device *pdev) |
671 | { | 671 | { |
672 | struct bf5xx_nand_info *info = to_nand_info(pdev); | 672 | struct bf5xx_nand_info *info = to_nand_info(pdev); |
673 | 673 | ||
diff --git a/drivers/mtd/nand/cafe_nand.c b/drivers/mtd/nand/cafe_nand.c index 480834a98382..010d61266536 100644 --- a/drivers/mtd/nand/cafe_nand.c +++ b/drivers/mtd/nand/cafe_nand.c | |||
@@ -821,7 +821,7 @@ static int cafe_nand_probe(struct pci_dev *pdev, | |||
821 | return err; | 821 | return err; |
822 | } | 822 | } |
823 | 823 | ||
824 | static void __devexit cafe_nand_remove(struct pci_dev *pdev) | 824 | static void cafe_nand_remove(struct pci_dev *pdev) |
825 | { | 825 | { |
826 | struct mtd_info *mtd = pci_get_drvdata(pdev); | 826 | struct mtd_info *mtd = pci_get_drvdata(pdev); |
827 | struct cafe_priv *cafe = mtd->priv; | 827 | struct cafe_priv *cafe = mtd->priv; |
diff --git a/drivers/mtd/nand/denali_dt.c b/drivers/mtd/nand/denali_dt.c index f9b593c81db6..546f8cb5688d 100644 --- a/drivers/mtd/nand/denali_dt.c +++ b/drivers/mtd/nand/denali_dt.c | |||
@@ -129,7 +129,7 @@ out_disable_clk: | |||
129 | return ret; | 129 | return ret; |
130 | } | 130 | } |
131 | 131 | ||
132 | static int __devexit denali_dt_remove(struct platform_device *ofdev) | 132 | static int denali_dt_remove(struct platform_device *ofdev) |
133 | { | 133 | { |
134 | struct denali_dt *dt = platform_get_drvdata(ofdev); | 134 | struct denali_dt *dt = platform_get_drvdata(ofdev); |
135 | 135 | ||
diff --git a/drivers/mtd/nand/denali_pci.c b/drivers/mtd/nand/denali_pci.c index f1f8f896fcc8..e3e46623b2b4 100644 --- a/drivers/mtd/nand/denali_pci.c +++ b/drivers/mtd/nand/denali_pci.c | |||
@@ -137,7 +137,7 @@ static int denali_init_pci(void) | |||
137 | } | 137 | } |
138 | module_init(denali_init_pci); | 138 | module_init(denali_init_pci); |
139 | 139 | ||
140 | static void __devexit denali_exit_pci(void) | 140 | static void denali_exit_pci(void) |
141 | { | 141 | { |
142 | pci_unregister_driver(&denali_pci_driver); | 142 | pci_unregister_driver(&denali_pci_driver); |
143 | } | 143 | } |
diff --git a/drivers/mtd/nand/fsl_upm.c b/drivers/mtd/nand/fsl_upm.c index a5643252584b..5a8f5c4ce512 100644 --- a/drivers/mtd/nand/fsl_upm.c +++ b/drivers/mtd/nand/fsl_upm.c | |||
@@ -318,7 +318,7 @@ err1: | |||
318 | return ret; | 318 | return ret; |
319 | } | 319 | } |
320 | 320 | ||
321 | static int __devexit fun_remove(struct platform_device *ofdev) | 321 | static int fun_remove(struct platform_device *ofdev) |
322 | { | 322 | { |
323 | struct fsl_upm_nand *fun = dev_get_drvdata(&ofdev->dev); | 323 | struct fsl_upm_nand *fun = dev_get_drvdata(&ofdev->dev); |
324 | int i; | 324 | int i; |
diff --git a/drivers/mtd/nand/gpio.c b/drivers/mtd/nand/gpio.c index 45f1a240bcbd..7aec5690289a 100644 --- a/drivers/mtd/nand/gpio.c +++ b/drivers/mtd/nand/gpio.c | |||
@@ -231,7 +231,7 @@ gpio_nand_get_io_sync(struct platform_device *pdev) | |||
231 | return platform_get_resource(pdev, IORESOURCE_MEM, 1); | 231 | return platform_get_resource(pdev, IORESOURCE_MEM, 1); |
232 | } | 232 | } |
233 | 233 | ||
234 | static int __devexit gpio_nand_remove(struct platform_device *dev) | 234 | static int gpio_nand_remove(struct platform_device *dev) |
235 | { | 235 | { |
236 | struct gpiomtd *gpiomtd = platform_get_drvdata(dev); | 236 | struct gpiomtd *gpiomtd = platform_get_drvdata(dev); |
237 | struct resource *res; | 237 | struct resource *res; |
diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c index 2a251c95a703..5cd141f7bfc2 100644 --- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c +++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c | |||
@@ -1675,7 +1675,7 @@ exit_acquire_resources: | |||
1675 | return ret; | 1675 | return ret; |
1676 | } | 1676 | } |
1677 | 1677 | ||
1678 | static int __devexit gpmi_nand_remove(struct platform_device *pdev) | 1678 | static int gpmi_nand_remove(struct platform_device *pdev) |
1679 | { | 1679 | { |
1680 | struct gpmi_nand_data *this = platform_get_drvdata(pdev); | 1680 | struct gpmi_nand_data *this = platform_get_drvdata(pdev); |
1681 | 1681 | ||
diff --git a/drivers/mtd/nand/jz4740_nand.c b/drivers/mtd/nand/jz4740_nand.c index 5396b6ceb088..72ac26e1ddf4 100644 --- a/drivers/mtd/nand/jz4740_nand.c +++ b/drivers/mtd/nand/jz4740_nand.c | |||
@@ -541,7 +541,7 @@ err_free: | |||
541 | return ret; | 541 | return ret; |
542 | } | 542 | } |
543 | 543 | ||
544 | static int __devexit jz_nand_remove(struct platform_device *pdev) | 544 | static int jz_nand_remove(struct platform_device *pdev) |
545 | { | 545 | { |
546 | struct jz_nand *nand = platform_get_drvdata(pdev); | 546 | struct jz_nand *nand = platform_get_drvdata(pdev); |
547 | struct jz_nand_platform_data *pdata = pdev->dev.platform_data; | 547 | struct jz_nand_platform_data *pdata = pdev->dev.platform_data; |
diff --git a/drivers/mtd/nand/lpc32xx_mlc.c b/drivers/mtd/nand/lpc32xx_mlc.c index bb83daf9c739..f182befa7360 100644 --- a/drivers/mtd/nand/lpc32xx_mlc.c +++ b/drivers/mtd/nand/lpc32xx_mlc.c | |||
@@ -845,7 +845,7 @@ err_exit1: | |||
845 | /* | 845 | /* |
846 | * Remove NAND device | 846 | * Remove NAND device |
847 | */ | 847 | */ |
848 | static int __devexit lpc32xx_nand_remove(struct platform_device *pdev) | 848 | static int lpc32xx_nand_remove(struct platform_device *pdev) |
849 | { | 849 | { |
850 | struct lpc32xx_nand_host *host = platform_get_drvdata(pdev); | 850 | struct lpc32xx_nand_host *host = platform_get_drvdata(pdev); |
851 | struct mtd_info *mtd = &host->mtd; | 851 | struct mtd_info *mtd = &host->mtd; |
diff --git a/drivers/mtd/nand/lpc32xx_slc.c b/drivers/mtd/nand/lpc32xx_slc.c index 17267f2819d2..030b78c62895 100644 --- a/drivers/mtd/nand/lpc32xx_slc.c +++ b/drivers/mtd/nand/lpc32xx_slc.c | |||
@@ -949,7 +949,7 @@ err_exit1: | |||
949 | /* | 949 | /* |
950 | * Remove NAND device. | 950 | * Remove NAND device. |
951 | */ | 951 | */ |
952 | static int __devexit lpc32xx_nand_remove(struct platform_device *pdev) | 952 | static int lpc32xx_nand_remove(struct platform_device *pdev) |
953 | { | 953 | { |
954 | uint32_t tmp; | 954 | uint32_t tmp; |
955 | struct lpc32xx_nand_host *host = platform_get_drvdata(pdev); | 955 | struct lpc32xx_nand_host *host = platform_get_drvdata(pdev); |
diff --git a/drivers/mtd/nand/mpc5121_nfc.c b/drivers/mtd/nand/mpc5121_nfc.c index 09f75a57e832..3c9cdcbc4cba 100644 --- a/drivers/mtd/nand/mpc5121_nfc.c +++ b/drivers/mtd/nand/mpc5121_nfc.c | |||
@@ -827,7 +827,7 @@ error: | |||
827 | return retval; | 827 | return retval; |
828 | } | 828 | } |
829 | 829 | ||
830 | static int __devexit mpc5121_nfc_remove(struct platform_device *op) | 830 | static int mpc5121_nfc_remove(struct platform_device *op) |
831 | { | 831 | { |
832 | struct device *dev = &op->dev; | 832 | struct device *dev = &op->dev; |
833 | struct mtd_info *mtd = dev_get_drvdata(dev); | 833 | struct mtd_info *mtd = dev_get_drvdata(dev); |
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index 77a03cf64dd3..4aef6a355d54 100644 --- a/drivers/mtd/nand/mxc_nand.c +++ b/drivers/mtd/nand/mxc_nand.c | |||
@@ -1538,7 +1538,7 @@ escan: | |||
1538 | return err; | 1538 | return err; |
1539 | } | 1539 | } |
1540 | 1540 | ||
1541 | static int __devexit mxcnd_remove(struct platform_device *pdev) | 1541 | static int mxcnd_remove(struct platform_device *pdev) |
1542 | { | 1542 | { |
1543 | struct mxc_nand_host *host = platform_get_drvdata(pdev); | 1543 | struct mxc_nand_host *host = platform_get_drvdata(pdev); |
1544 | 1544 | ||
diff --git a/drivers/mtd/nand/ndfc.c b/drivers/mtd/nand/ndfc.c index 6fa4588d4771..8e148f1478fd 100644 --- a/drivers/mtd/nand/ndfc.c +++ b/drivers/mtd/nand/ndfc.c | |||
@@ -256,7 +256,7 @@ static int ndfc_probe(struct platform_device *ofdev) | |||
256 | return 0; | 256 | return 0; |
257 | } | 257 | } |
258 | 258 | ||
259 | static int __devexit ndfc_remove(struct platform_device *ofdev) | 259 | static int ndfc_remove(struct platform_device *ofdev) |
260 | { | 260 | { |
261 | struct ndfc_controller *ndfc = dev_get_drvdata(&ofdev->dev); | 261 | struct ndfc_controller *ndfc = dev_get_drvdata(&ofdev->dev); |
262 | 262 | ||
diff --git a/drivers/mtd/nand/nuc900_nand.c b/drivers/mtd/nand/nuc900_nand.c index 00766dfe4d3f..a6191198d259 100644 --- a/drivers/mtd/nand/nuc900_nand.c +++ b/drivers/mtd/nand/nuc900_nand.c | |||
@@ -317,7 +317,7 @@ fail1: kfree(nuc900_nand); | |||
317 | return retval; | 317 | return retval; |
318 | } | 318 | } |
319 | 319 | ||
320 | static int __devexit nuc900_nand_remove(struct platform_device *pdev) | 320 | static int nuc900_nand_remove(struct platform_device *pdev) |
321 | { | 321 | { |
322 | struct nuc900_nand *nuc900_nand = platform_get_drvdata(pdev); | 322 | struct nuc900_nand *nuc900_nand = platform_get_drvdata(pdev); |
323 | struct resource *res; | 323 | struct resource *res; |
diff --git a/drivers/mtd/nand/orion_nand.c b/drivers/mtd/nand/orion_nand.c index e6b296dcb122..cd72b9299f6b 100644 --- a/drivers/mtd/nand/orion_nand.c +++ b/drivers/mtd/nand/orion_nand.c | |||
@@ -194,7 +194,7 @@ no_res: | |||
194 | return ret; | 194 | return ret; |
195 | } | 195 | } |
196 | 196 | ||
197 | static int __devexit orion_nand_remove(struct platform_device *pdev) | 197 | static int orion_nand_remove(struct platform_device *pdev) |
198 | { | 198 | { |
199 | struct mtd_info *mtd = platform_get_drvdata(pdev); | 199 | struct mtd_info *mtd = platform_get_drvdata(pdev); |
200 | struct nand_chip *nc = mtd->priv; | 200 | struct nand_chip *nc = mtd->priv; |
diff --git a/drivers/mtd/nand/pasemi_nand.c b/drivers/mtd/nand/pasemi_nand.c index 2e477cb20b73..5a67082c07ee 100644 --- a/drivers/mtd/nand/pasemi_nand.c +++ b/drivers/mtd/nand/pasemi_nand.c | |||
@@ -184,7 +184,7 @@ static int pasemi_nand_probe(struct platform_device *ofdev) | |||
184 | return err; | 184 | return err; |
185 | } | 185 | } |
186 | 186 | ||
187 | static int __devexit pasemi_nand_remove(struct platform_device *ofdev) | 187 | static int pasemi_nand_remove(struct platform_device *ofdev) |
188 | { | 188 | { |
189 | struct nand_chip *chip; | 189 | struct nand_chip *chip; |
190 | 190 | ||
diff --git a/drivers/mtd/nand/plat_nand.c b/drivers/mtd/nand/plat_nand.c index 32e2996c9e73..c004566a9ad2 100644 --- a/drivers/mtd/nand/plat_nand.c +++ b/drivers/mtd/nand/plat_nand.c | |||
@@ -134,7 +134,7 @@ out_free: | |||
134 | /* | 134 | /* |
135 | * Remove a NAND device. | 135 | * Remove a NAND device. |
136 | */ | 136 | */ |
137 | static int __devexit plat_nand_remove(struct platform_device *pdev) | 137 | static int plat_nand_remove(struct platform_device *pdev) |
138 | { | 138 | { |
139 | struct plat_nand_data *data = platform_get_drvdata(pdev); | 139 | struct plat_nand_data *data = platform_get_drvdata(pdev); |
140 | struct platform_nand_data *pdata = pdev->dev.platform_data; | 140 | struct platform_nand_data *pdata = pdev->dev.platform_data; |
diff --git a/drivers/mtd/nand/sh_flctl.c b/drivers/mtd/nand/sh_flctl.c index e45d6bd2901a..2a215962071f 100644 --- a/drivers/mtd/nand/sh_flctl.c +++ b/drivers/mtd/nand/sh_flctl.c | |||
@@ -1198,7 +1198,7 @@ err_iomap: | |||
1198 | return ret; | 1198 | return ret; |
1199 | } | 1199 | } |
1200 | 1200 | ||
1201 | static int __devexit flctl_remove(struct platform_device *pdev) | 1201 | static int flctl_remove(struct platform_device *pdev) |
1202 | { | 1202 | { |
1203 | struct sh_flctl *flctl = platform_get_drvdata(pdev); | 1203 | struct sh_flctl *flctl = platform_get_drvdata(pdev); |
1204 | 1204 | ||
diff --git a/drivers/mtd/nand/sharpsl.c b/drivers/mtd/nand/sharpsl.c index 870f0ff76c5f..127bc4271821 100644 --- a/drivers/mtd/nand/sharpsl.c +++ b/drivers/mtd/nand/sharpsl.c | |||
@@ -205,7 +205,7 @@ err_get_res: | |||
205 | /* | 205 | /* |
206 | * Clean up routine | 206 | * Clean up routine |
207 | */ | 207 | */ |
208 | static int __devexit sharpsl_nand_remove(struct platform_device *pdev) | 208 | static int sharpsl_nand_remove(struct platform_device *pdev) |
209 | { | 209 | { |
210 | struct sharpsl_nand *sharpsl = platform_get_drvdata(pdev); | 210 | struct sharpsl_nand *sharpsl = platform_get_drvdata(pdev); |
211 | 211 | ||
diff --git a/drivers/mtd/nand/socrates_nand.c b/drivers/mtd/nand/socrates_nand.c index c9791fd1ee53..09dde7d27178 100644 --- a/drivers/mtd/nand/socrates_nand.c +++ b/drivers/mtd/nand/socrates_nand.c | |||
@@ -220,7 +220,7 @@ out: | |||
220 | /* | 220 | /* |
221 | * Remove a NAND device. | 221 | * Remove a NAND device. |
222 | */ | 222 | */ |
223 | static int __devexit socrates_nand_remove(struct platform_device *ofdev) | 223 | static int socrates_nand_remove(struct platform_device *ofdev) |
224 | { | 224 | { |
225 | struct socrates_nand_host *host = dev_get_drvdata(&ofdev->dev); | 225 | struct socrates_nand_host *host = dev_get_drvdata(&ofdev->dev); |
226 | struct mtd_info *mtd = &host->mtd; | 226 | struct mtd_info *mtd = &host->mtd; |
diff --git a/drivers/mtd/onenand/generic.c b/drivers/mtd/onenand/generic.c index 03e6af342423..9f11562f849d 100644 --- a/drivers/mtd/onenand/generic.c +++ b/drivers/mtd/onenand/generic.c | |||
@@ -88,7 +88,7 @@ out_free_info: | |||
88 | return err; | 88 | return err; |
89 | } | 89 | } |
90 | 90 | ||
91 | static int __devexit generic_onenand_remove(struct platform_device *pdev) | 91 | static int generic_onenand_remove(struct platform_device *pdev) |
92 | { | 92 | { |
93 | struct onenand_info *info = platform_get_drvdata(pdev); | 93 | struct onenand_info *info = platform_get_drvdata(pdev); |
94 | struct resource *res = pdev->resource; | 94 | struct resource *res = pdev->resource; |
diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c index 8c10a2f54158..b364e6c57d26 100644 --- a/drivers/mtd/onenand/omap2.c +++ b/drivers/mtd/onenand/omap2.c | |||
@@ -787,7 +787,7 @@ err_kfree: | |||
787 | return r; | 787 | return r; |
788 | } | 788 | } |
789 | 789 | ||
790 | static int __devexit omap2_onenand_remove(struct platform_device *pdev) | 790 | static int omap2_onenand_remove(struct platform_device *pdev) |
791 | { | 791 | { |
792 | struct omap2_onenand *c = dev_get_drvdata(&pdev->dev); | 792 | struct omap2_onenand *c = dev_get_drvdata(&pdev->dev); |
793 | 793 | ||
diff --git a/drivers/mtd/onenand/samsung.c b/drivers/mtd/onenand/samsung.c index 3d462cbcdbe4..33f2a8fb8df9 100644 --- a/drivers/mtd/onenand/samsung.c +++ b/drivers/mtd/onenand/samsung.c | |||
@@ -1053,7 +1053,7 @@ onenand_fail: | |||
1053 | return err; | 1053 | return err; |
1054 | } | 1054 | } |
1055 | 1055 | ||
1056 | static int __devexit s3c_onenand_remove(struct platform_device *pdev) | 1056 | static int s3c_onenand_remove(struct platform_device *pdev) |
1057 | { | 1057 | { |
1058 | struct mtd_info *mtd = platform_get_drvdata(pdev); | 1058 | struct mtd_info *mtd = platform_get_drvdata(pdev); |
1059 | 1059 | ||