diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:26:04 -0500 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-11-22 05:07:03 -0500 |
commit | 810b7e060c14110d8f580daaf77fab3a7d950483 (patch) | |
tree | 6658118508c317e46e10f98baadb8b7d7909b3b8 /drivers/mtd/maps | |
parent | 5e75e86e6d1561d5ae8e38412f93609475f19ed1 (diff) |
mtd: remove use of __devexit
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/maps')
-rw-r--r-- | drivers/mtd/maps/amd76xrom.c | 2 | ||||
-rw-r--r-- | drivers/mtd/maps/autcpu12-nvram.c | 2 | ||||
-rw-r--r-- | drivers/mtd/maps/bfin-async-flash.c | 2 | ||||
-rw-r--r-- | drivers/mtd/maps/ck804xrom.c | 2 | ||||
-rw-r--r-- | drivers/mtd/maps/esb2rom.c | 2 | ||||
-rw-r--r-- | drivers/mtd/maps/gpio-addr-flash.c | 2 | ||||
-rw-r--r-- | drivers/mtd/maps/ichxrom.c | 2 | ||||
-rw-r--r-- | drivers/mtd/maps/intel_vr_nor.c | 8 | ||||
-rw-r--r-- | drivers/mtd/maps/lantiq-flash.c | 2 | ||||
-rw-r--r-- | drivers/mtd/maps/pci.c | 2 | ||||
-rw-r--r-- | drivers/mtd/maps/pismo.c | 2 | ||||
-rw-r--r-- | drivers/mtd/maps/pxa2xx-flash.c | 2 | ||||
-rw-r--r-- | drivers/mtd/maps/scb2_flash.c | 2 | ||||
-rw-r--r-- | drivers/mtd/maps/sun_uflash.c | 2 | ||||
-rw-r--r-- | drivers/mtd/maps/vmu-flash.c | 4 |
15 files changed, 19 insertions, 19 deletions
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 | ||