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/mtd/nand | |
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/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/ams-delta.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/au1550nd.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/bf5xx_nand.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/cafe_nand.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/denali_dt.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/fsl_upm.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/jz4740_nand.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/lpc32xx_mlc.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/lpc32xx_slc.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/mpc5121_nfc.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/mxc_nand.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/ndfc.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/nuc900_nand.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/orion_nand.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/plat_nand.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/sharpsl.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/socrates_nand.c | 2 |
18 files changed, 18 insertions, 18 deletions
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); |