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/onenand | |
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/onenand')
-rw-r--r-- | drivers/mtd/onenand/generic.c | 2 | ||||
-rw-r--r-- | drivers/mtd/onenand/omap2.c | 2 | ||||
-rw-r--r-- | drivers/mtd/onenand/samsung.c | 2 |
3 files changed, 3 insertions, 3 deletions
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); |