diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:21:24 -0500 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-11-22 05:07:02 -0500 |
commit | 5153b88cac39b0a14662f0e15439b826bacfe213 (patch) | |
tree | 023d5040ec41bfa558162456b20a69579fd036be /drivers | |
parent | 8ea9eee903f3acf5aa6bdfb831461aec063b128b (diff) |
mtd: remove use of __devexit_p
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers')
38 files changed, 38 insertions, 38 deletions
diff --git a/drivers/mtd/devices/bcm47xxsflash.c b/drivers/mtd/devices/bcm47xxsflash.c index 2dc5a6f3fd57..113aced64990 100644 --- a/drivers/mtd/devices/bcm47xxsflash.c +++ b/drivers/mtd/devices/bcm47xxsflash.c | |||
@@ -77,7 +77,7 @@ static int __devexit bcm47xxsflash_remove(struct platform_device *pdev) | |||
77 | } | 77 | } |
78 | 78 | ||
79 | static struct platform_driver bcma_sflash_driver = { | 79 | static struct platform_driver bcma_sflash_driver = { |
80 | .remove = __devexit_p(bcm47xxsflash_remove), | 80 | .remove = bcm47xxsflash_remove, |
81 | .driver = { | 81 | .driver = { |
82 | .name = "bcma_sflash", | 82 | .name = "bcma_sflash", |
83 | .owner = THIS_MODULE, | 83 | .owner = THIS_MODULE, |
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index 1518324611a2..bd2d91254c62 100644 --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c | |||
@@ -994,7 +994,7 @@ static struct spi_driver m25p80_driver = { | |||
994 | }, | 994 | }, |
995 | .id_table = m25p_ids, | 995 | .id_table = m25p_ids, |
996 | .probe = m25p_probe, | 996 | .probe = m25p_probe, |
997 | .remove = __devexit_p(m25p_remove), | 997 | .remove = m25p_remove, |
998 | 998 | ||
999 | /* REVISIT: many of these chips have deep power-down modes, which | 999 | /* REVISIT: many of these chips have deep power-down modes, which |
1000 | * should clearly be entered on suspend() to minimize power use. | 1000 | * should clearly be entered on suspend() to minimize power use. |
diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c index 928fb0e6d73a..23ccc36840f6 100644 --- a/drivers/mtd/devices/mtd_dataflash.c +++ b/drivers/mtd/devices/mtd_dataflash.c | |||
@@ -920,7 +920,7 @@ static struct spi_driver dataflash_driver = { | |||
920 | }, | 920 | }, |
921 | 921 | ||
922 | .probe = dataflash_probe, | 922 | .probe = dataflash_probe, |
923 | .remove = __devexit_p(dataflash_remove), | 923 | .remove = dataflash_remove, |
924 | 924 | ||
925 | /* FIXME: investigate suspend and resume... */ | 925 | /* FIXME: investigate suspend and resume... */ |
926 | }; | 926 | }; |
diff --git a/drivers/mtd/devices/spear_smi.c b/drivers/mtd/devices/spear_smi.c index 39e95673cdd2..e27737c91212 100644 --- a/drivers/mtd/devices/spear_smi.c +++ b/drivers/mtd/devices/spear_smi.c | |||
@@ -1092,7 +1092,7 @@ static struct platform_driver spear_smi_driver = { | |||
1092 | #endif | 1092 | #endif |
1093 | }, | 1093 | }, |
1094 | .probe = spear_smi_probe, | 1094 | .probe = spear_smi_probe, |
1095 | .remove = __devexit_p(spear_smi_remove), | 1095 | .remove = spear_smi_remove, |
1096 | }; | 1096 | }; |
1097 | module_platform_driver(spear_smi_driver); | 1097 | module_platform_driver(spear_smi_driver); |
1098 | 1098 | ||
diff --git a/drivers/mtd/devices/sst25l.c b/drivers/mtd/devices/sst25l.c index ab8a2f4c8d60..9ebf86d8faa8 100644 --- a/drivers/mtd/devices/sst25l.c +++ b/drivers/mtd/devices/sst25l.c | |||
@@ -428,7 +428,7 @@ static struct spi_driver sst25l_driver = { | |||
428 | .owner = THIS_MODULE, | 428 | .owner = THIS_MODULE, |
429 | }, | 429 | }, |
430 | .probe = sst25l_probe, | 430 | .probe = sst25l_probe, |
431 | .remove = __devexit_p(sst25l_remove), | 431 | .remove = sst25l_remove, |
432 | }; | 432 | }; |
433 | 433 | ||
434 | module_spi_driver(sst25l_driver); | 434 | module_spi_driver(sst25l_driver); |
diff --git a/drivers/mtd/maps/autcpu12-nvram.c b/drivers/mtd/maps/autcpu12-nvram.c index 76fb594bb1d9..ca0313db6fea 100644 --- a/drivers/mtd/maps/autcpu12-nvram.c +++ b/drivers/mtd/maps/autcpu12-nvram.c | |||
@@ -121,7 +121,7 @@ static struct platform_driver autcpu12_nvram_driver = { | |||
121 | .owner = THIS_MODULE, | 121 | .owner = THIS_MODULE, |
122 | }, | 122 | }, |
123 | .probe = autcpu12_nvram_probe, | 123 | .probe = autcpu12_nvram_probe, |
124 | .remove = __devexit_p(autcpu12_nvram_remove), | 124 | .remove = autcpu12_nvram_remove, |
125 | }; | 125 | }; |
126 | module_platform_driver(autcpu12_nvram_driver); | 126 | module_platform_driver(autcpu12_nvram_driver); |
127 | 127 | ||
diff --git a/drivers/mtd/maps/bfin-async-flash.c b/drivers/mtd/maps/bfin-async-flash.c index ef5cde84a8b3..340e8a260547 100644 --- a/drivers/mtd/maps/bfin-async-flash.c +++ b/drivers/mtd/maps/bfin-async-flash.c | |||
@@ -184,7 +184,7 @@ static int __devexit bfin_flash_remove(struct platform_device *pdev) | |||
184 | 184 | ||
185 | static struct platform_driver bfin_flash_driver = { | 185 | static struct platform_driver bfin_flash_driver = { |
186 | .probe = bfin_flash_probe, | 186 | .probe = bfin_flash_probe, |
187 | .remove = __devexit_p(bfin_flash_remove), | 187 | .remove = bfin_flash_remove, |
188 | .driver = { | 188 | .driver = { |
189 | .name = DRIVER_NAME, | 189 | .name = DRIVER_NAME, |
190 | }, | 190 | }, |
diff --git a/drivers/mtd/maps/gpio-addr-flash.c b/drivers/mtd/maps/gpio-addr-flash.c index e4de96ba52b3..670af9afa786 100644 --- a/drivers/mtd/maps/gpio-addr-flash.c +++ b/drivers/mtd/maps/gpio-addr-flash.c | |||
@@ -273,7 +273,7 @@ static int __devexit gpio_flash_remove(struct platform_device *pdev) | |||
273 | 273 | ||
274 | static struct platform_driver gpio_flash_driver = { | 274 | static struct platform_driver gpio_flash_driver = { |
275 | .probe = gpio_flash_probe, | 275 | .probe = gpio_flash_probe, |
276 | .remove = __devexit_p(gpio_flash_remove), | 276 | .remove = gpio_flash_remove, |
277 | .driver = { | 277 | .driver = { |
278 | .name = DRIVER_NAME, | 278 | .name = DRIVER_NAME, |
279 | }, | 279 | }, |
diff --git a/drivers/mtd/maps/intel_vr_nor.c b/drivers/mtd/maps/intel_vr_nor.c index 93f03175c82d..f6185d4c6ba9 100644 --- a/drivers/mtd/maps/intel_vr_nor.c +++ b/drivers/mtd/maps/intel_vr_nor.c | |||
@@ -256,7 +256,7 @@ vr_nor_pci_probe(struct pci_dev *dev, const struct pci_device_id *id) | |||
256 | static struct pci_driver vr_nor_pci_driver = { | 256 | static struct pci_driver vr_nor_pci_driver = { |
257 | .name = DRV_NAME, | 257 | .name = DRV_NAME, |
258 | .probe = vr_nor_pci_probe, | 258 | .probe = vr_nor_pci_probe, |
259 | .remove = __devexit_p(vr_nor_pci_remove), | 259 | .remove = vr_nor_pci_remove, |
260 | .id_table = vr_nor_pci_ids, | 260 | .id_table = vr_nor_pci_ids, |
261 | }; | 261 | }; |
262 | 262 | ||
diff --git a/drivers/mtd/maps/lantiq-flash.c b/drivers/mtd/maps/lantiq-flash.c index c03456f17004..4c032f168138 100644 --- a/drivers/mtd/maps/lantiq-flash.c +++ b/drivers/mtd/maps/lantiq-flash.c | |||
@@ -209,7 +209,7 @@ MODULE_DEVICE_TABLE(of, ltq_mtd_match); | |||
209 | 209 | ||
210 | static struct platform_driver ltq_mtd_driver = { | 210 | static struct platform_driver ltq_mtd_driver = { |
211 | .probe = ltq_mtd_probe, | 211 | .probe = ltq_mtd_probe, |
212 | .remove = __devexit_p(ltq_mtd_remove), | 212 | .remove = ltq_mtd_remove, |
213 | .driver = { | 213 | .driver = { |
214 | .name = "ltq-nor", | 214 | .name = "ltq-nor", |
215 | .owner = THIS_MODULE, | 215 | .owner = THIS_MODULE, |
diff --git a/drivers/mtd/maps/latch-addr-flash.c b/drivers/mtd/maps/latch-addr-flash.c index 3c7ad17fca78..962a76a283a5 100644 --- a/drivers/mtd/maps/latch-addr-flash.c +++ b/drivers/mtd/maps/latch-addr-flash.c | |||
@@ -218,7 +218,7 @@ done: | |||
218 | 218 | ||
219 | static struct platform_driver latch_addr_flash_driver = { | 219 | static struct platform_driver latch_addr_flash_driver = { |
220 | .probe = latch_addr_flash_probe, | 220 | .probe = latch_addr_flash_probe, |
221 | .remove = __devexit_p(latch_addr_flash_remove), | 221 | .remove = latch_addr_flash_remove, |
222 | .driver = { | 222 | .driver = { |
223 | .name = DRIVER_NAME, | 223 | .name = DRIVER_NAME, |
224 | }, | 224 | }, |
diff --git a/drivers/mtd/maps/pci.c b/drivers/mtd/maps/pci.c index 1c30c1a307f4..ddc8c0c56d01 100644 --- a/drivers/mtd/maps/pci.c +++ b/drivers/mtd/maps/pci.c | |||
@@ -326,7 +326,7 @@ mtd_pci_remove(struct pci_dev *dev) | |||
326 | static struct pci_driver mtd_pci_driver = { | 326 | static struct pci_driver mtd_pci_driver = { |
327 | .name = "MTD PCI", | 327 | .name = "MTD PCI", |
328 | .probe = mtd_pci_probe, | 328 | .probe = mtd_pci_probe, |
329 | .remove = __devexit_p(mtd_pci_remove), | 329 | .remove = mtd_pci_remove, |
330 | .id_table = mtd_pci_ids, | 330 | .id_table = mtd_pci_ids, |
331 | }; | 331 | }; |
332 | 332 | ||
diff --git a/drivers/mtd/maps/pismo.c b/drivers/mtd/maps/pismo.c index 65bd1cd4d627..9f4e5947c99f 100644 --- a/drivers/mtd/maps/pismo.c +++ b/drivers/mtd/maps/pismo.c | |||
@@ -267,7 +267,7 @@ static struct i2c_driver pismo_driver = { | |||
267 | .owner = THIS_MODULE, | 267 | .owner = THIS_MODULE, |
268 | }, | 268 | }, |
269 | .probe = pismo_probe, | 269 | .probe = pismo_probe, |
270 | .remove = __devexit_p(pismo_remove), | 270 | .remove = pismo_remove, |
271 | .id_table = pismo_id, | 271 | .id_table = pismo_id, |
272 | }; | 272 | }; |
273 | 273 | ||
diff --git a/drivers/mtd/maps/pxa2xx-flash.c b/drivers/mtd/maps/pxa2xx-flash.c index 81884c277405..f913a1c3f2b9 100644 --- a/drivers/mtd/maps/pxa2xx-flash.c +++ b/drivers/mtd/maps/pxa2xx-flash.c | |||
@@ -139,7 +139,7 @@ static struct platform_driver pxa2xx_flash_driver = { | |||
139 | .owner = THIS_MODULE, | 139 | .owner = THIS_MODULE, |
140 | }, | 140 | }, |
141 | .probe = pxa2xx_flash_probe, | 141 | .probe = pxa2xx_flash_probe, |
142 | .remove = __devexit_p(pxa2xx_flash_remove), | 142 | .remove = pxa2xx_flash_remove, |
143 | .shutdown = pxa2xx_flash_shutdown, | 143 | .shutdown = pxa2xx_flash_shutdown, |
144 | }; | 144 | }; |
145 | 145 | ||
diff --git a/drivers/mtd/maps/scb2_flash.c b/drivers/mtd/maps/scb2_flash.c index 9dcbc684abdb..d527608e5d22 100644 --- a/drivers/mtd/maps/scb2_flash.c +++ b/drivers/mtd/maps/scb2_flash.c | |||
@@ -231,7 +231,7 @@ static struct pci_driver scb2_flash_driver = { | |||
231 | .name = "Intel SCB2 BIOS Flash", | 231 | .name = "Intel SCB2 BIOS Flash", |
232 | .id_table = scb2_flash_pci_ids, | 232 | .id_table = scb2_flash_pci_ids, |
233 | .probe = scb2_flash_probe, | 233 | .probe = scb2_flash_probe, |
234 | .remove = __devexit_p(scb2_flash_remove), | 234 | .remove = scb2_flash_remove, |
235 | }; | 235 | }; |
236 | 236 | ||
237 | module_pci_driver(scb2_flash_driver); | 237 | module_pci_driver(scb2_flash_driver); |
diff --git a/drivers/mtd/maps/sun_uflash.c b/drivers/mtd/maps/sun_uflash.c index 175e537b444f..1c03ca7c4a74 100644 --- a/drivers/mtd/maps/sun_uflash.c +++ b/drivers/mtd/maps/sun_uflash.c | |||
@@ -155,7 +155,7 @@ static struct platform_driver uflash_driver = { | |||
155 | .of_match_table = uflash_match, | 155 | .of_match_table = uflash_match, |
156 | }, | 156 | }, |
157 | .probe = uflash_probe, | 157 | .probe = uflash_probe, |
158 | .remove = __devexit_p(uflash_remove), | 158 | .remove = uflash_remove, |
159 | }; | 159 | }; |
160 | 160 | ||
161 | module_platform_driver(uflash_driver); | 161 | module_platform_driver(uflash_driver); |
diff --git a/drivers/mtd/maps/vmu-flash.c b/drivers/mtd/maps/vmu-flash.c index 2e2b0945edc7..5a83a264eb83 100644 --- a/drivers/mtd/maps/vmu-flash.c +++ b/drivers/mtd/maps/vmu-flash.c | |||
@@ -802,7 +802,7 @@ static struct maple_driver vmu_flash_driver = { | |||
802 | .drv = { | 802 | .drv = { |
803 | .name = "Dreamcast_visual_memory", | 803 | .name = "Dreamcast_visual_memory", |
804 | .probe = probe_maple_vmu, | 804 | .probe = probe_maple_vmu, |
805 | .remove = __devexit_p(remove_maple_vmu), | 805 | .remove = remove_maple_vmu, |
806 | }, | 806 | }, |
807 | }; | 807 | }; |
808 | 808 | ||
diff --git a/drivers/mtd/nand/ams-delta.c b/drivers/mtd/nand/ams-delta.c index 9e7723aa7acc..51dba43e2879 100644 --- a/drivers/mtd/nand/ams-delta.c +++ b/drivers/mtd/nand/ams-delta.c | |||
@@ -289,7 +289,7 @@ static int __devexit ams_delta_cleanup(struct platform_device *pdev) | |||
289 | 289 | ||
290 | static struct platform_driver ams_delta_nand_driver = { | 290 | static struct platform_driver ams_delta_nand_driver = { |
291 | .probe = ams_delta_init, | 291 | .probe = ams_delta_init, |
292 | .remove = __devexit_p(ams_delta_cleanup), | 292 | .remove = ams_delta_cleanup, |
293 | .driver = { | 293 | .driver = { |
294 | .name = "ams-delta-nand", | 294 | .name = "ams-delta-nand", |
295 | .owner = THIS_MODULE, | 295 | .owner = THIS_MODULE, |
diff --git a/drivers/mtd/nand/au1550nd.c b/drivers/mtd/nand/au1550nd.c index 5c47b200045a..d84af46ccc8d 100644 --- a/drivers/mtd/nand/au1550nd.c +++ b/drivers/mtd/nand/au1550nd.c | |||
@@ -509,7 +509,7 @@ static struct platform_driver au1550nd_driver = { | |||
509 | .owner = THIS_MODULE, | 509 | .owner = THIS_MODULE, |
510 | }, | 510 | }, |
511 | .probe = au1550nd_probe, | 511 | .probe = au1550nd_probe, |
512 | .remove = __devexit_p(au1550nd_remove), | 512 | .remove = au1550nd_remove, |
513 | }; | 513 | }; |
514 | 514 | ||
515 | module_platform_driver(au1550nd_driver); | 515 | module_platform_driver(au1550nd_driver); |
diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c index ab0caa74eb43..0afd4ac34248 100644 --- a/drivers/mtd/nand/bf5xx_nand.c +++ b/drivers/mtd/nand/bf5xx_nand.c | |||
@@ -865,7 +865,7 @@ static int bf5xx_nand_resume(struct platform_device *dev) | |||
865 | /* driver device registration */ | 865 | /* driver device registration */ |
866 | static struct platform_driver bf5xx_nand_driver = { | 866 | static struct platform_driver bf5xx_nand_driver = { |
867 | .probe = bf5xx_nand_probe, | 867 | .probe = bf5xx_nand_probe, |
868 | .remove = __devexit_p(bf5xx_nand_remove), | 868 | .remove = bf5xx_nand_remove, |
869 | .suspend = bf5xx_nand_suspend, | 869 | .suspend = bf5xx_nand_suspend, |
870 | .resume = bf5xx_nand_resume, | 870 | .resume = bf5xx_nand_resume, |
871 | .driver = { | 871 | .driver = { |
diff --git a/drivers/mtd/nand/cafe_nand.c b/drivers/mtd/nand/cafe_nand.c index 2bb7170502c2..1b62f043bf7e 100644 --- a/drivers/mtd/nand/cafe_nand.c +++ b/drivers/mtd/nand/cafe_nand.c | |||
@@ -887,7 +887,7 @@ static struct pci_driver cafe_nand_pci_driver = { | |||
887 | .name = "CAFÉ NAND", | 887 | .name = "CAFÉ NAND", |
888 | .id_table = cafe_nand_tbl, | 888 | .id_table = cafe_nand_tbl, |
889 | .probe = cafe_nand_probe, | 889 | .probe = cafe_nand_probe, |
890 | .remove = __devexit_p(cafe_nand_remove), | 890 | .remove = cafe_nand_remove, |
891 | .resume = cafe_nand_resume, | 891 | .resume = cafe_nand_resume, |
892 | }; | 892 | }; |
893 | 893 | ||
diff --git a/drivers/mtd/nand/denali_dt.c b/drivers/mtd/nand/denali_dt.c index fbabbaa04374..445de7c8bb50 100644 --- a/drivers/mtd/nand/denali_dt.c +++ b/drivers/mtd/nand/denali_dt.c | |||
@@ -142,7 +142,7 @@ static int __devexit denali_dt_remove(struct platform_device *ofdev) | |||
142 | 142 | ||
143 | static struct platform_driver denali_dt_driver = { | 143 | static struct platform_driver denali_dt_driver = { |
144 | .probe = denali_dt_probe, | 144 | .probe = denali_dt_probe, |
145 | .remove = __devexit_p(denali_dt_remove), | 145 | .remove = denali_dt_remove, |
146 | .driver = { | 146 | .driver = { |
147 | .name = "denali-nand-dt", | 147 | .name = "denali-nand-dt", |
148 | .owner = THIS_MODULE, | 148 | .owner = THIS_MODULE, |
diff --git a/drivers/mtd/nand/fsl_upm.c b/drivers/mtd/nand/fsl_upm.c index 45df542b9c61..b40661d7160e 100644 --- a/drivers/mtd/nand/fsl_upm.c +++ b/drivers/mtd/nand/fsl_upm.c | |||
@@ -350,7 +350,7 @@ static struct platform_driver of_fun_driver = { | |||
350 | .of_match_table = of_fun_match, | 350 | .of_match_table = of_fun_match, |
351 | }, | 351 | }, |
352 | .probe = fun_probe, | 352 | .probe = fun_probe, |
353 | .remove = __devexit_p(fun_remove), | 353 | .remove = fun_remove, |
354 | }; | 354 | }; |
355 | 355 | ||
356 | module_platform_driver(of_fun_driver); | 356 | module_platform_driver(of_fun_driver); |
diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c index d37619882fa6..7ce6d01a3c94 100644 --- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c +++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c | |||
@@ -1692,7 +1692,7 @@ static struct platform_driver gpmi_nand_driver = { | |||
1692 | .of_match_table = gpmi_nand_id_table, | 1692 | .of_match_table = gpmi_nand_id_table, |
1693 | }, | 1693 | }, |
1694 | .probe = gpmi_nand_probe, | 1694 | .probe = gpmi_nand_probe, |
1695 | .remove = __devexit_p(gpmi_nand_remove), | 1695 | .remove = gpmi_nand_remove, |
1696 | .id_table = gpmi_ids, | 1696 | .id_table = gpmi_ids, |
1697 | }; | 1697 | }; |
1698 | module_platform_driver(gpmi_nand_driver); | 1698 | module_platform_driver(gpmi_nand_driver); |
diff --git a/drivers/mtd/nand/jz4740_nand.c b/drivers/mtd/nand/jz4740_nand.c index 100b6775e175..2552fe28d050 100644 --- a/drivers/mtd/nand/jz4740_nand.c +++ b/drivers/mtd/nand/jz4740_nand.c | |||
@@ -573,7 +573,7 @@ static int __devexit jz_nand_remove(struct platform_device *pdev) | |||
573 | 573 | ||
574 | static struct platform_driver jz_nand_driver = { | 574 | static struct platform_driver jz_nand_driver = { |
575 | .probe = jz_nand_probe, | 575 | .probe = jz_nand_probe, |
576 | .remove = __devexit_p(jz_nand_remove), | 576 | .remove = jz_nand_remove, |
577 | .driver = { | 577 | .driver = { |
578 | .name = "jz4740-nand", | 578 | .name = "jz4740-nand", |
579 | .owner = THIS_MODULE, | 579 | .owner = THIS_MODULE, |
diff --git a/drivers/mtd/nand/lpc32xx_mlc.c b/drivers/mtd/nand/lpc32xx_mlc.c index c29b7ac1f6af..311564259d28 100644 --- a/drivers/mtd/nand/lpc32xx_mlc.c +++ b/drivers/mtd/nand/lpc32xx_mlc.c | |||
@@ -907,7 +907,7 @@ MODULE_DEVICE_TABLE(of, lpc32xx_nand_match); | |||
907 | 907 | ||
908 | static struct platform_driver lpc32xx_nand_driver = { | 908 | static struct platform_driver lpc32xx_nand_driver = { |
909 | .probe = lpc32xx_nand_probe, | 909 | .probe = lpc32xx_nand_probe, |
910 | .remove = __devexit_p(lpc32xx_nand_remove), | 910 | .remove = lpc32xx_nand_remove, |
911 | .resume = lpc32xx_nand_resume, | 911 | .resume = lpc32xx_nand_resume, |
912 | .suspend = lpc32xx_nand_suspend, | 912 | .suspend = lpc32xx_nand_suspend, |
913 | .driver = { | 913 | .driver = { |
diff --git a/drivers/mtd/nand/lpc32xx_slc.c b/drivers/mtd/nand/lpc32xx_slc.c index 32409c45d479..9e291b71a8cc 100644 --- a/drivers/mtd/nand/lpc32xx_slc.c +++ b/drivers/mtd/nand/lpc32xx_slc.c | |||
@@ -1021,7 +1021,7 @@ MODULE_DEVICE_TABLE(of, lpc32xx_nand_match); | |||
1021 | 1021 | ||
1022 | static struct platform_driver lpc32xx_nand_driver = { | 1022 | static struct platform_driver lpc32xx_nand_driver = { |
1023 | .probe = lpc32xx_nand_probe, | 1023 | .probe = lpc32xx_nand_probe, |
1024 | .remove = __devexit_p(lpc32xx_nand_remove), | 1024 | .remove = lpc32xx_nand_remove, |
1025 | .resume = lpc32xx_nand_resume, | 1025 | .resume = lpc32xx_nand_resume, |
1026 | .suspend = lpc32xx_nand_suspend, | 1026 | .suspend = lpc32xx_nand_suspend, |
1027 | .driver = { | 1027 | .driver = { |
diff --git a/drivers/mtd/nand/mpc5121_nfc.c b/drivers/mtd/nand/mpc5121_nfc.c index f776c8577b8c..17fe0c942fb0 100644 --- a/drivers/mtd/nand/mpc5121_nfc.c +++ b/drivers/mtd/nand/mpc5121_nfc.c | |||
@@ -848,7 +848,7 @@ static struct of_device_id mpc5121_nfc_match[] __devinitdata = { | |||
848 | 848 | ||
849 | static struct platform_driver mpc5121_nfc_driver = { | 849 | static struct platform_driver mpc5121_nfc_driver = { |
850 | .probe = mpc5121_nfc_probe, | 850 | .probe = mpc5121_nfc_probe, |
851 | .remove = __devexit_p(mpc5121_nfc_remove), | 851 | .remove = mpc5121_nfc_remove, |
852 | .driver = { | 852 | .driver = { |
853 | .name = DRV_NAME, | 853 | .name = DRV_NAME, |
854 | .owner = THIS_MODULE, | 854 | .owner = THIS_MODULE, |
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index 72e31d86030d..a4caf640a307 100644 --- a/drivers/mtd/nand/mxc_nand.c +++ b/drivers/mtd/nand/mxc_nand.c | |||
@@ -1556,7 +1556,7 @@ static struct platform_driver mxcnd_driver = { | |||
1556 | .of_match_table = of_match_ptr(mxcnd_dt_ids), | 1556 | .of_match_table = of_match_ptr(mxcnd_dt_ids), |
1557 | }, | 1557 | }, |
1558 | .probe = mxcnd_probe, | 1558 | .probe = mxcnd_probe, |
1559 | .remove = __devexit_p(mxcnd_remove), | 1559 | .remove = mxcnd_remove, |
1560 | }; | 1560 | }; |
1561 | module_platform_driver(mxcnd_driver); | 1561 | module_platform_driver(mxcnd_driver); |
1562 | 1562 | ||
diff --git a/drivers/mtd/nand/ndfc.c b/drivers/mtd/nand/ndfc.c index 5fd3f010e3ae..32e6bef480dc 100644 --- a/drivers/mtd/nand/ndfc.c +++ b/drivers/mtd/nand/ndfc.c | |||
@@ -279,7 +279,7 @@ static struct platform_driver ndfc_driver = { | |||
279 | .of_match_table = ndfc_match, | 279 | .of_match_table = ndfc_match, |
280 | }, | 280 | }, |
281 | .probe = ndfc_probe, | 281 | .probe = ndfc_probe, |
282 | .remove = __devexit_p(ndfc_remove), | 282 | .remove = ndfc_remove, |
283 | }; | 283 | }; |
284 | 284 | ||
285 | module_platform_driver(ndfc_driver); | 285 | module_platform_driver(ndfc_driver); |
diff --git a/drivers/mtd/nand/nuc900_nand.c b/drivers/mtd/nand/nuc900_nand.c index 94dc46bc118c..eed134c55326 100644 --- a/drivers/mtd/nand/nuc900_nand.c +++ b/drivers/mtd/nand/nuc900_nand.c | |||
@@ -340,7 +340,7 @@ static int __devexit nuc900_nand_remove(struct platform_device *pdev) | |||
340 | 340 | ||
341 | static struct platform_driver nuc900_nand_driver = { | 341 | static struct platform_driver nuc900_nand_driver = { |
342 | .probe = nuc900_nand_probe, | 342 | .probe = nuc900_nand_probe, |
343 | .remove = __devexit_p(nuc900_nand_remove), | 343 | .remove = nuc900_nand_remove, |
344 | .driver = { | 344 | .driver = { |
345 | .name = "nuc900-fmi", | 345 | .name = "nuc900-fmi", |
346 | .owner = THIS_MODULE, | 346 | .owner = THIS_MODULE, |
diff --git a/drivers/mtd/nand/orion_nand.c b/drivers/mtd/nand/orion_nand.c index aefaf8cd31ef..e6b296dcb122 100644 --- a/drivers/mtd/nand/orion_nand.c +++ b/drivers/mtd/nand/orion_nand.c | |||
@@ -223,7 +223,7 @@ static struct of_device_id orion_nand_of_match_table[] = { | |||
223 | #endif | 223 | #endif |
224 | 224 | ||
225 | static struct platform_driver orion_nand_driver = { | 225 | static struct platform_driver orion_nand_driver = { |
226 | .remove = __devexit_p(orion_nand_remove), | 226 | .remove = orion_nand_remove, |
227 | .driver = { | 227 | .driver = { |
228 | .name = "orion_nand", | 228 | .name = "orion_nand", |
229 | .owner = THIS_MODULE, | 229 | .owner = THIS_MODULE, |
diff --git a/drivers/mtd/nand/plat_nand.c b/drivers/mtd/nand/plat_nand.c index a47ee68a0cfa..95a1dba150d2 100644 --- a/drivers/mtd/nand/plat_nand.c +++ b/drivers/mtd/nand/plat_nand.c | |||
@@ -160,7 +160,7 @@ MODULE_DEVICE_TABLE(of, plat_nand_match); | |||
160 | 160 | ||
161 | static struct platform_driver plat_nand_driver = { | 161 | static struct platform_driver plat_nand_driver = { |
162 | .probe = plat_nand_probe, | 162 | .probe = plat_nand_probe, |
163 | .remove = __devexit_p(plat_nand_remove), | 163 | .remove = plat_nand_remove, |
164 | .driver = { | 164 | .driver = { |
165 | .name = "gen_nand", | 165 | .name = "gen_nand", |
166 | .owner = THIS_MODULE, | 166 | .owner = THIS_MODULE, |
diff --git a/drivers/mtd/nand/sharpsl.c b/drivers/mtd/nand/sharpsl.c index 3421e3762a5a..541fd5117625 100644 --- a/drivers/mtd/nand/sharpsl.c +++ b/drivers/mtd/nand/sharpsl.c | |||
@@ -228,7 +228,7 @@ static struct platform_driver sharpsl_nand_driver = { | |||
228 | .owner = THIS_MODULE, | 228 | .owner = THIS_MODULE, |
229 | }, | 229 | }, |
230 | .probe = sharpsl_nand_probe, | 230 | .probe = sharpsl_nand_probe, |
231 | .remove = __devexit_p(sharpsl_nand_remove), | 231 | .remove = sharpsl_nand_remove, |
232 | }; | 232 | }; |
233 | 233 | ||
234 | module_platform_driver(sharpsl_nand_driver); | 234 | module_platform_driver(sharpsl_nand_driver); |
diff --git a/drivers/mtd/nand/socrates_nand.c b/drivers/mtd/nand/socrates_nand.c index f3f28fafbf7a..78b1a040b88a 100644 --- a/drivers/mtd/nand/socrates_nand.c +++ b/drivers/mtd/nand/socrates_nand.c | |||
@@ -251,7 +251,7 @@ static struct platform_driver socrates_nand_driver = { | |||
251 | .of_match_table = socrates_nand_match, | 251 | .of_match_table = socrates_nand_match, |
252 | }, | 252 | }, |
253 | .probe = socrates_nand_probe, | 253 | .probe = socrates_nand_probe, |
254 | .remove = __devexit_p(socrates_nand_remove), | 254 | .remove = socrates_nand_remove, |
255 | }; | 255 | }; |
256 | 256 | ||
257 | module_platform_driver(socrates_nand_driver); | 257 | module_platform_driver(socrates_nand_driver); |
diff --git a/drivers/mtd/onenand/generic.c b/drivers/mtd/onenand/generic.c index 1c4f97c63e62..27aa44a6ec26 100644 --- a/drivers/mtd/onenand/generic.c +++ b/drivers/mtd/onenand/generic.c | |||
@@ -112,7 +112,7 @@ static struct platform_driver generic_onenand_driver = { | |||
112 | .owner = THIS_MODULE, | 112 | .owner = THIS_MODULE, |
113 | }, | 113 | }, |
114 | .probe = generic_onenand_probe, | 114 | .probe = generic_onenand_probe, |
115 | .remove = __devexit_p(generic_onenand_remove), | 115 | .remove = generic_onenand_remove, |
116 | }; | 116 | }; |
117 | 117 | ||
118 | module_platform_driver(generic_onenand_driver); | 118 | module_platform_driver(generic_onenand_driver); |
diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c index 1961be985171..73dac4c64a90 100644 --- a/drivers/mtd/onenand/omap2.c +++ b/drivers/mtd/onenand/omap2.c | |||
@@ -811,7 +811,7 @@ static int __devexit omap2_onenand_remove(struct platform_device *pdev) | |||
811 | 811 | ||
812 | static struct platform_driver omap2_onenand_driver = { | 812 | static struct platform_driver omap2_onenand_driver = { |
813 | .probe = omap2_onenand_probe, | 813 | .probe = omap2_onenand_probe, |
814 | .remove = __devexit_p(omap2_onenand_remove), | 814 | .remove = omap2_onenand_remove, |
815 | .shutdown = omap2_onenand_shutdown, | 815 | .shutdown = omap2_onenand_shutdown, |
816 | .driver = { | 816 | .driver = { |
817 | .name = DRIVER_NAME, | 817 | .name = DRIVER_NAME, |
diff --git a/drivers/mtd/onenand/samsung.c b/drivers/mtd/onenand/samsung.c index 8e4b3f2742ba..3d462cbcdbe4 100644 --- a/drivers/mtd/onenand/samsung.c +++ b/drivers/mtd/onenand/samsung.c | |||
@@ -1130,7 +1130,7 @@ static struct platform_driver s3c_onenand_driver = { | |||
1130 | }, | 1130 | }, |
1131 | .id_table = s3c_onenand_driver_ids, | 1131 | .id_table = s3c_onenand_driver_ids, |
1132 | .probe = s3c_onenand_probe, | 1132 | .probe = s3c_onenand_probe, |
1133 | .remove = __devexit_p(s3c_onenand_remove), | 1133 | .remove = s3c_onenand_remove, |
1134 | }; | 1134 | }; |
1135 | 1135 | ||
1136 | module_platform_driver(s3c_onenand_driver); | 1136 | module_platform_driver(s3c_onenand_driver); |