aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:21:24 -0500
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-11-22 05:07:02 -0500
commit5153b88cac39b0a14662f0e15439b826bacfe213 (patch)
tree023d5040ec41bfa558162456b20a69579fd036be /drivers/mtd/maps
parent8ea9eee903f3acf5aa6bdfb831461aec063b128b (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/maps')
-rw-r--r--drivers/mtd/maps/autcpu12-nvram.c2
-rw-r--r--drivers/mtd/maps/bfin-async-flash.c2
-rw-r--r--drivers/mtd/maps/gpio-addr-flash.c2
-rw-r--r--drivers/mtd/maps/intel_vr_nor.c2
-rw-r--r--drivers/mtd/maps/lantiq-flash.c2
-rw-r--r--drivers/mtd/maps/latch-addr-flash.c2
-rw-r--r--drivers/mtd/maps/pci.c2
-rw-r--r--drivers/mtd/maps/pismo.c2
-rw-r--r--drivers/mtd/maps/pxa2xx-flash.c2
-rw-r--r--drivers/mtd/maps/scb2_flash.c2
-rw-r--r--drivers/mtd/maps/sun_uflash.c2
-rw-r--r--drivers/mtd/maps/vmu-flash.c2
12 files changed, 12 insertions, 12 deletions
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};
126module_platform_driver(autcpu12_nvram_driver); 126module_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
185static struct platform_driver bfin_flash_driver = { 185static 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
274static struct platform_driver gpio_flash_driver = { 274static 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)
256static struct pci_driver vr_nor_pci_driver = { 256static 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
210static struct platform_driver ltq_mtd_driver = { 210static 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
219static struct platform_driver latch_addr_flash_driver = { 219static 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)
326static struct pci_driver mtd_pci_driver = { 326static 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
237module_pci_driver(scb2_flash_driver); 237module_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
161module_platform_driver(uflash_driver); 161module_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