aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices
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/devices
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/devices')
-rw-r--r--drivers/mtd/devices/bcm47xxsflash.c2
-rw-r--r--drivers/mtd/devices/m25p80.c2
-rw-r--r--drivers/mtd/devices/mtd_dataflash.c2
-rw-r--r--drivers/mtd/devices/spear_smi.c2
-rw-r--r--drivers/mtd/devices/sst25l.c2
5 files changed, 5 insertions, 5 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
79static struct platform_driver bcma_sflash_driver = { 79static 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};
1097module_platform_driver(spear_smi_driver); 1097module_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
434module_spi_driver(sst25l_driver); 434module_spi_driver(sst25l_driver);