aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:20:26 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 15:28:09 -0500
commit0433c14356702e296f474f77ebd42f0a9d9a5487 (patch)
treec51ea146be97a95cd8d16f6d5bf9bf7678b4adad /drivers/mmc
parent77f37917a6f2bd8635b553178bb34bdd80f08e40 (diff)
mmc: 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> Cc: Chris Ball <cjb@laptop.org> Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl> Cc: Jarkko Lavinen <jarkko.lavinen@nokia.com> Cc: Venkatraman S <svenkatr@ti.com> Cc: Ian Molton <ian@mnementh.co.uk> Cc: Bruce Chang <brucechang@via.com.tw> Cc: Harald Welte <HaraldWelte@viatech.com> Cc: Pierre Ossman <pierre@ossman.eu> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/bfin_sdh.c2
-rw-r--r--drivers/mmc/host/cb710-mmc.c2
-rw-r--r--drivers/mmc/host/jz4740_mmc.c2
-rw-r--r--drivers/mmc/host/mmc_spi.c2
-rw-r--r--drivers/mmc/host/mmci.c2
-rw-r--r--drivers/mmc/host/omap.c2
-rw-r--r--drivers/mmc/host/omap_hsmmc.c2
-rw-r--r--drivers/mmc/host/s3cmci.c2
-rw-r--r--drivers/mmc/host/sdhci-cns3xxx.c2
-rw-r--r--drivers/mmc/host/sdhci-dove.c2
-rw-r--r--drivers/mmc/host/sdhci-esdhc-imx.c2
-rw-r--r--drivers/mmc/host/sdhci-of-esdhc.c2
-rw-r--r--drivers/mmc/host/sdhci-of-hlwd.c2
-rw-r--r--drivers/mmc/host/sdhci-pci.c2
-rw-r--r--drivers/mmc/host/sdhci-pxav2.c2
-rw-r--r--drivers/mmc/host/sdhci-pxav3.c2
-rw-r--r--drivers/mmc/host/sdhci-s3c.c2
-rw-r--r--drivers/mmc/host/sdhci-spear.c2
-rw-r--r--drivers/mmc/host/sdhci-tegra.c2
-rw-r--r--drivers/mmc/host/sh_mobile_sdhi.c2
-rw-r--r--drivers/mmc/host/tmio_mmc.c2
-rw-r--r--drivers/mmc/host/via-sdmmc.c2
-rw-r--r--drivers/mmc/host/wbsd.c4
23 files changed, 24 insertions, 24 deletions
diff --git a/drivers/mmc/host/bfin_sdh.c b/drivers/mmc/host/bfin_sdh.c
index b9b463eca1ec..156ebe7d6fd0 100644
--- a/drivers/mmc/host/bfin_sdh.c
+++ b/drivers/mmc/host/bfin_sdh.c
@@ -680,7 +680,7 @@ static int sdh_resume(struct platform_device *dev)
680 680
681static struct platform_driver sdh_driver = { 681static struct platform_driver sdh_driver = {
682 .probe = sdh_probe, 682 .probe = sdh_probe,
683 .remove = __devexit_p(sdh_remove), 683 .remove = sdh_remove,
684 .suspend = sdh_suspend, 684 .suspend = sdh_suspend,
685 .resume = sdh_resume, 685 .resume = sdh_resume,
686 .driver = { 686 .driver = {
diff --git a/drivers/mmc/host/cb710-mmc.c b/drivers/mmc/host/cb710-mmc.c
index 83693fd7c6b3..39280b5756e8 100644
--- a/drivers/mmc/host/cb710-mmc.c
+++ b/drivers/mmc/host/cb710-mmc.c
@@ -773,7 +773,7 @@ static int __devexit cb710_mmc_exit(struct platform_device *pdev)
773static struct platform_driver cb710_mmc_driver = { 773static struct platform_driver cb710_mmc_driver = {
774 .driver.name = "cb710-mmc", 774 .driver.name = "cb710-mmc",
775 .probe = cb710_mmc_init, 775 .probe = cb710_mmc_init,
776 .remove = __devexit_p(cb710_mmc_exit), 776 .remove = cb710_mmc_exit,
777#ifdef CONFIG_PM 777#ifdef CONFIG_PM
778 .suspend = cb710_mmc_suspend, 778 .suspend = cb710_mmc_suspend,
779 .resume = cb710_mmc_resume, 779 .resume = cb710_mmc_resume,
diff --git a/drivers/mmc/host/jz4740_mmc.c b/drivers/mmc/host/jz4740_mmc.c
index c8852a8128a9..31cf20f0eaaa 100644
--- a/drivers/mmc/host/jz4740_mmc.c
+++ b/drivers/mmc/host/jz4740_mmc.c
@@ -1004,7 +1004,7 @@ const struct dev_pm_ops jz4740_mmc_pm_ops = {
1004 1004
1005static struct platform_driver jz4740_mmc_driver = { 1005static struct platform_driver jz4740_mmc_driver = {
1006 .probe = jz4740_mmc_probe, 1006 .probe = jz4740_mmc_probe,
1007 .remove = __devexit_p(jz4740_mmc_remove), 1007 .remove = jz4740_mmc_remove,
1008 .driver = { 1008 .driver = {
1009 .name = "jz4740-mmc", 1009 .name = "jz4740-mmc",
1010 .owner = THIS_MODULE, 1010 .owner = THIS_MODULE,
diff --git a/drivers/mmc/host/mmc_spi.c b/drivers/mmc/host/mmc_spi.c
index a600eabbd6c3..f7df7982ba11 100644
--- a/drivers/mmc/host/mmc_spi.c
+++ b/drivers/mmc/host/mmc_spi.c
@@ -1529,7 +1529,7 @@ static struct spi_driver mmc_spi_driver = {
1529 .of_match_table = mmc_spi_of_match_table, 1529 .of_match_table = mmc_spi_of_match_table,
1530 }, 1530 },
1531 .probe = mmc_spi_probe, 1531 .probe = mmc_spi_probe,
1532 .remove = __devexit_p(mmc_spi_remove), 1532 .remove = mmc_spi_remove,
1533}; 1533};
1534 1534
1535module_spi_driver(mmc_spi_driver); 1535module_spi_driver(mmc_spi_driver);
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index edc3e9baf0e7..3ca6757fbebd 100644
--- a/drivers/mmc/host/mmci.c
+++ b/drivers/mmc/host/mmci.c
@@ -1669,7 +1669,7 @@ static struct amba_driver mmci_driver = {
1669 .pm = &mmci_dev_pm_ops, 1669 .pm = &mmci_dev_pm_ops,
1670 }, 1670 },
1671 .probe = mmci_probe, 1671 .probe = mmci_probe,
1672 .remove = __devexit_p(mmci_remove), 1672 .remove = mmci_remove,
1673 .id_table = mmci_ids, 1673 .id_table = mmci_ids,
1674}; 1674};
1675 1675
diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c
index 48ad361613ef..3531a193d8d5 100644
--- a/drivers/mmc/host/omap.c
+++ b/drivers/mmc/host/omap.c
@@ -1566,7 +1566,7 @@ static int mmc_omap_resume(struct platform_device *pdev)
1566 1566
1567static struct platform_driver mmc_omap_driver = { 1567static struct platform_driver mmc_omap_driver = {
1568 .probe = mmc_omap_probe, 1568 .probe = mmc_omap_probe,
1569 .remove = __devexit_p(mmc_omap_remove), 1569 .remove = mmc_omap_remove,
1570 .suspend = mmc_omap_suspend, 1570 .suspend = mmc_omap_suspend,
1571 .resume = mmc_omap_resume, 1571 .resume = mmc_omap_resume,
1572 .driver = { 1572 .driver = {
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index fedd258cc4ea..58b4cf0f79a9 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -2149,7 +2149,7 @@ static struct dev_pm_ops omap_hsmmc_dev_pm_ops = {
2149 2149
2150static struct platform_driver omap_hsmmc_driver = { 2150static struct platform_driver omap_hsmmc_driver = {
2151 .probe = omap_hsmmc_probe, 2151 .probe = omap_hsmmc_probe,
2152 .remove = __devexit_p(omap_hsmmc_remove), 2152 .remove = omap_hsmmc_remove,
2153 .driver = { 2153 .driver = {
2154 .name = DRIVER_NAME, 2154 .name = DRIVER_NAME,
2155 .owner = THIS_MODULE, 2155 .owner = THIS_MODULE,
diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c
index 4638ddab97b8..a5fe5b243680 100644
--- a/drivers/mmc/host/s3cmci.c
+++ b/drivers/mmc/host/s3cmci.c
@@ -1906,7 +1906,7 @@ static struct platform_driver s3cmci_driver = {
1906 }, 1906 },
1907 .id_table = s3cmci_driver_ids, 1907 .id_table = s3cmci_driver_ids,
1908 .probe = s3cmci_probe, 1908 .probe = s3cmci_probe,
1909 .remove = __devexit_p(s3cmci_remove), 1909 .remove = s3cmci_remove,
1910 .shutdown = s3cmci_shutdown, 1910 .shutdown = s3cmci_shutdown,
1911}; 1911};
1912 1912
diff --git a/drivers/mmc/host/sdhci-cns3xxx.c b/drivers/mmc/host/sdhci-cns3xxx.c
index 28a870804f60..9236fa9d504c 100644
--- a/drivers/mmc/host/sdhci-cns3xxx.c
+++ b/drivers/mmc/host/sdhci-cns3xxx.c
@@ -112,7 +112,7 @@ static struct platform_driver sdhci_cns3xxx_driver = {
112 .pm = SDHCI_PLTFM_PMOPS, 112 .pm = SDHCI_PLTFM_PMOPS,
113 }, 113 },
114 .probe = sdhci_cns3xxx_probe, 114 .probe = sdhci_cns3xxx_probe,
115 .remove = __devexit_p(sdhci_cns3xxx_remove), 115 .remove = sdhci_cns3xxx_remove,
116}; 116};
117 117
118module_platform_driver(sdhci_cns3xxx_driver); 118module_platform_driver(sdhci_cns3xxx_driver);
diff --git a/drivers/mmc/host/sdhci-dove.c b/drivers/mmc/host/sdhci-dove.c
index 8fd50a211037..7ad1bb6cf6a0 100644
--- a/drivers/mmc/host/sdhci-dove.c
+++ b/drivers/mmc/host/sdhci-dove.c
@@ -143,7 +143,7 @@ static struct platform_driver sdhci_dove_driver = {
143 .of_match_table = of_match_ptr(sdhci_dove_of_match_table), 143 .of_match_table = of_match_ptr(sdhci_dove_of_match_table),
144 }, 144 },
145 .probe = sdhci_dove_probe, 145 .probe = sdhci_dove_probe,
146 .remove = __devexit_p(sdhci_dove_remove), 146 .remove = sdhci_dove_remove,
147}; 147};
148 148
149module_platform_driver(sdhci_dove_driver); 149module_platform_driver(sdhci_dove_driver);
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c
index effc2acfe778..6a4e98e60009 100644
--- a/drivers/mmc/host/sdhci-esdhc-imx.c
+++ b/drivers/mmc/host/sdhci-esdhc-imx.c
@@ -637,7 +637,7 @@ static struct platform_driver sdhci_esdhc_imx_driver = {
637 }, 637 },
638 .id_table = imx_esdhc_devtype, 638 .id_table = imx_esdhc_devtype,
639 .probe = sdhci_esdhc_imx_probe, 639 .probe = sdhci_esdhc_imx_probe,
640 .remove = __devexit_p(sdhci_esdhc_imx_remove), 640 .remove = sdhci_esdhc_imx_remove,
641}; 641};
642 642
643module_platform_driver(sdhci_esdhc_imx_driver); 643module_platform_driver(sdhci_esdhc_imx_driver);
diff --git a/drivers/mmc/host/sdhci-of-esdhc.c b/drivers/mmc/host/sdhci-of-esdhc.c
index 63d219f57cae..d7eb4ed307e7 100644
--- a/drivers/mmc/host/sdhci-of-esdhc.c
+++ b/drivers/mmc/host/sdhci-of-esdhc.c
@@ -234,7 +234,7 @@ static struct platform_driver sdhci_esdhc_driver = {
234 .pm = SDHCI_PLTFM_PMOPS, 234 .pm = SDHCI_PLTFM_PMOPS,
235 }, 235 },
236 .probe = sdhci_esdhc_probe, 236 .probe = sdhci_esdhc_probe,
237 .remove = __devexit_p(sdhci_esdhc_remove), 237 .remove = sdhci_esdhc_remove,
238}; 238};
239 239
240module_platform_driver(sdhci_esdhc_driver); 240module_platform_driver(sdhci_esdhc_driver);
diff --git a/drivers/mmc/host/sdhci-of-hlwd.c b/drivers/mmc/host/sdhci-of-hlwd.c
index 0ce088ae0228..3b6806902ac9 100644
--- a/drivers/mmc/host/sdhci-of-hlwd.c
+++ b/drivers/mmc/host/sdhci-of-hlwd.c
@@ -90,7 +90,7 @@ static struct platform_driver sdhci_hlwd_driver = {
90 .pm = SDHCI_PLTFM_PMOPS, 90 .pm = SDHCI_PLTFM_PMOPS,
91 }, 91 },
92 .probe = sdhci_hlwd_probe, 92 .probe = sdhci_hlwd_probe,
93 .remove = __devexit_p(sdhci_hlwd_remove), 93 .remove = sdhci_hlwd_remove,
94}; 94};
95 95
96module_platform_driver(sdhci_hlwd_driver); 96module_platform_driver(sdhci_hlwd_driver);
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
index 04936f353ced..7bc2270d9f91 100644
--- a/drivers/mmc/host/sdhci-pci.c
+++ b/drivers/mmc/host/sdhci-pci.c
@@ -1470,7 +1470,7 @@ static struct pci_driver sdhci_driver = {
1470 .name = "sdhci-pci", 1470 .name = "sdhci-pci",
1471 .id_table = pci_ids, 1471 .id_table = pci_ids,
1472 .probe = sdhci_pci_probe, 1472 .probe = sdhci_pci_probe,
1473 .remove = __devexit_p(sdhci_pci_remove), 1473 .remove = sdhci_pci_remove,
1474 .driver = { 1474 .driver = {
1475 .pm = &sdhci_pci_pm_ops 1475 .pm = &sdhci_pci_pm_ops
1476 }, 1476 },
diff --git a/drivers/mmc/host/sdhci-pxav2.c b/drivers/mmc/host/sdhci-pxav2.c
index 8e63a9c04e31..964fc6d0a81a 100644
--- a/drivers/mmc/host/sdhci-pxav2.c
+++ b/drivers/mmc/host/sdhci-pxav2.c
@@ -275,7 +275,7 @@ static struct platform_driver sdhci_pxav2_driver = {
275 .pm = SDHCI_PLTFM_PMOPS, 275 .pm = SDHCI_PLTFM_PMOPS,
276 }, 276 },
277 .probe = sdhci_pxav2_probe, 277 .probe = sdhci_pxav2_probe,
278 .remove = __devexit_p(sdhci_pxav2_remove), 278 .remove = sdhci_pxav2_remove,
279}; 279};
280 280
281module_platform_driver(sdhci_pxav2_driver); 281module_platform_driver(sdhci_pxav2_driver);
diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c
index e918a2bb3af1..a46cb67b1c33 100644
--- a/drivers/mmc/host/sdhci-pxav3.c
+++ b/drivers/mmc/host/sdhci-pxav3.c
@@ -346,7 +346,7 @@ static struct platform_driver sdhci_pxav3_driver = {
346 .pm = SDHCI_PLTFM_PMOPS, 346 .pm = SDHCI_PLTFM_PMOPS,
347 }, 347 },
348 .probe = sdhci_pxav3_probe, 348 .probe = sdhci_pxav3_probe,
349 .remove = __devexit_p(sdhci_pxav3_remove), 349 .remove = sdhci_pxav3_remove,
350}; 350};
351 351
352module_platform_driver(sdhci_pxav3_driver); 352module_platform_driver(sdhci_pxav3_driver);
diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c
index a54dd5d7a5f9..b62a0c12fa8b 100644
--- a/drivers/mmc/host/sdhci-s3c.c
+++ b/drivers/mmc/host/sdhci-s3c.c
@@ -916,7 +916,7 @@ MODULE_DEVICE_TABLE(of, sdhci_s3c_dt_match);
916 916
917static struct platform_driver sdhci_s3c_driver = { 917static struct platform_driver sdhci_s3c_driver = {
918 .probe = sdhci_s3c_probe, 918 .probe = sdhci_s3c_probe,
919 .remove = __devexit_p(sdhci_s3c_remove), 919 .remove = sdhci_s3c_remove,
920 .id_table = sdhci_s3c_driver_ids, 920 .id_table = sdhci_s3c_driver_ids,
921 .driver = { 921 .driver = {
922 .owner = THIS_MODULE, 922 .owner = THIS_MODULE,
diff --git a/drivers/mmc/host/sdhci-spear.c b/drivers/mmc/host/sdhci-spear.c
index 6be89c032deb..3ba9479712ff 100644
--- a/drivers/mmc/host/sdhci-spear.c
+++ b/drivers/mmc/host/sdhci-spear.c
@@ -336,7 +336,7 @@ static struct platform_driver sdhci_driver = {
336 .of_match_table = of_match_ptr(sdhci_spear_id_table), 336 .of_match_table = of_match_ptr(sdhci_spear_id_table),
337 }, 337 },
338 .probe = sdhci_probe, 338 .probe = sdhci_probe,
339 .remove = __devexit_p(sdhci_remove), 339 .remove = sdhci_remove,
340}; 340};
341 341
342module_platform_driver(sdhci_driver); 342module_platform_driver(sdhci_driver);
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c
index f9eb91623701..f2843549bf0f 100644
--- a/drivers/mmc/host/sdhci-tegra.c
+++ b/drivers/mmc/host/sdhci-tegra.c
@@ -407,7 +407,7 @@ static struct platform_driver sdhci_tegra_driver = {
407 .pm = SDHCI_PLTFM_PMOPS, 407 .pm = SDHCI_PLTFM_PMOPS,
408 }, 408 },
409 .probe = sdhci_tegra_probe, 409 .probe = sdhci_tegra_probe,
410 .remove = __devexit_p(sdhci_tegra_remove), 410 .remove = sdhci_tegra_remove,
411}; 411};
412 412
413module_platform_driver(sdhci_tegra_driver); 413module_platform_driver(sdhci_tegra_driver);
diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c
index 0bdc146178db..6a9a625503b3 100644
--- a/drivers/mmc/host/sh_mobile_sdhi.c
+++ b/drivers/mmc/host/sh_mobile_sdhi.c
@@ -330,7 +330,7 @@ static struct platform_driver sh_mobile_sdhi_driver = {
330 .of_match_table = sh_mobile_sdhi_of_match, 330 .of_match_table = sh_mobile_sdhi_of_match,
331 }, 331 },
332 .probe = sh_mobile_sdhi_probe, 332 .probe = sh_mobile_sdhi_probe,
333 .remove = __devexit_p(sh_mobile_sdhi_remove), 333 .remove = sh_mobile_sdhi_remove,
334}; 334};
335 335
336module_platform_driver(sh_mobile_sdhi_driver); 336module_platform_driver(sh_mobile_sdhi_driver);
diff --git a/drivers/mmc/host/tmio_mmc.c b/drivers/mmc/host/tmio_mmc.c
index 113ce6c9cf32..2f9bbdf5689c 100644
--- a/drivers/mmc/host/tmio_mmc.c
+++ b/drivers/mmc/host/tmio_mmc.c
@@ -133,7 +133,7 @@ static struct platform_driver tmio_mmc_driver = {
133 .owner = THIS_MODULE, 133 .owner = THIS_MODULE,
134 }, 134 },
135 .probe = tmio_mmc_probe, 135 .probe = tmio_mmc_probe,
136 .remove = __devexit_p(tmio_mmc_remove), 136 .remove = tmio_mmc_remove,
137 .suspend = tmio_mmc_suspend, 137 .suspend = tmio_mmc_suspend,
138 .resume = tmio_mmc_resume, 138 .resume = tmio_mmc_resume,
139}; 139};
diff --git a/drivers/mmc/host/via-sdmmc.c b/drivers/mmc/host/via-sdmmc.c
index f18becef156d..d8f8a5ec03f4 100644
--- a/drivers/mmc/host/via-sdmmc.c
+++ b/drivers/mmc/host/via-sdmmc.c
@@ -1332,7 +1332,7 @@ static struct pci_driver via_sd_driver = {
1332 .name = DRV_NAME, 1332 .name = DRV_NAME,
1333 .id_table = via_ids, 1333 .id_table = via_ids,
1334 .probe = via_sd_probe, 1334 .probe = via_sd_probe,
1335 .remove = __devexit_p(via_sd_remove), 1335 .remove = via_sd_remove,
1336 .suspend = via_sd_suspend, 1336 .suspend = via_sd_suspend,
1337 .resume = via_sd_resume, 1337 .resume = via_sd_resume,
1338}; 1338};
diff --git a/drivers/mmc/host/wbsd.c b/drivers/mmc/host/wbsd.c
index 64acd9ce141c..3c8ef5994073 100644
--- a/drivers/mmc/host/wbsd.c
+++ b/drivers/mmc/host/wbsd.c
@@ -1941,7 +1941,7 @@ static struct platform_device *wbsd_device;
1941 1941
1942static struct platform_driver wbsd_driver = { 1942static struct platform_driver wbsd_driver = {
1943 .probe = wbsd_probe, 1943 .probe = wbsd_probe,
1944 .remove = __devexit_p(wbsd_remove), 1944 .remove = wbsd_remove,
1945 1945
1946 .suspend = wbsd_platform_suspend, 1946 .suspend = wbsd_platform_suspend,
1947 .resume = wbsd_platform_resume, 1947 .resume = wbsd_platform_resume,
@@ -1957,7 +1957,7 @@ static struct pnp_driver wbsd_pnp_driver = {
1957 .name = DRIVER_NAME, 1957 .name = DRIVER_NAME,
1958 .id_table = pnp_dev_table, 1958 .id_table = pnp_dev_table,
1959 .probe = wbsd_pnp_probe, 1959 .probe = wbsd_pnp_probe,
1960 .remove = __devexit_p(wbsd_pnp_remove), 1960 .remove = wbsd_pnp_remove,
1961 1961
1962 .suspend = wbsd_pnp_suspend, 1962 .suspend = wbsd_pnp_suspend,
1963 .resume = wbsd_pnp_resume, 1963 .resume = wbsd_pnp_resume,