mmc: remove use of __devexit_p
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:20:26 +0000 (13:20 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Nov 2012 20:28:09 +0000 (12:28 -0800)
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>
23 files changed:
drivers/mmc/host/bfin_sdh.c
drivers/mmc/host/cb710-mmc.c
drivers/mmc/host/jz4740_mmc.c
drivers/mmc/host/mmc_spi.c
drivers/mmc/host/mmci.c
drivers/mmc/host/omap.c
drivers/mmc/host/omap_hsmmc.c
drivers/mmc/host/s3cmci.c
drivers/mmc/host/sdhci-cns3xxx.c
drivers/mmc/host/sdhci-dove.c
drivers/mmc/host/sdhci-esdhc-imx.c
drivers/mmc/host/sdhci-of-esdhc.c
drivers/mmc/host/sdhci-of-hlwd.c
drivers/mmc/host/sdhci-pci.c
drivers/mmc/host/sdhci-pxav2.c
drivers/mmc/host/sdhci-pxav3.c
drivers/mmc/host/sdhci-s3c.c
drivers/mmc/host/sdhci-spear.c
drivers/mmc/host/sdhci-tegra.c
drivers/mmc/host/sh_mobile_sdhi.c
drivers/mmc/host/tmio_mmc.c
drivers/mmc/host/via-sdmmc.c
drivers/mmc/host/wbsd.c

index b9b463eca1ec64a2d608f3362ede48cd418842b6..156ebe7d6fd0160bb0cf469796f0d252b17a2fa4 100644 (file)
@@ -680,7 +680,7 @@ static int sdh_resume(struct platform_device *dev)
 
 static struct platform_driver sdh_driver = {
        .probe   = sdh_probe,
-       .remove  = __devexit_p(sdh_remove),
+       .remove  = sdh_remove,
        .suspend = sdh_suspend,
        .resume  = sdh_resume,
        .driver  = {
index 83693fd7c6b35718e5a65d81d3e8499a7694a378..39280b5756e8bbad979a04148081f6b604bf9033 100644 (file)
@@ -773,7 +773,7 @@ static int __devexit cb710_mmc_exit(struct platform_device *pdev)
 static struct platform_driver cb710_mmc_driver = {
        .driver.name = "cb710-mmc",
        .probe = cb710_mmc_init,
-       .remove = __devexit_p(cb710_mmc_exit),
+       .remove = cb710_mmc_exit,
 #ifdef CONFIG_PM
        .suspend = cb710_mmc_suspend,
        .resume = cb710_mmc_resume,
index c8852a8128a90c119d7d53c5eec5381aa9678008..31cf20f0eaaaaa6e96a5522bc3603a6344da1d0c 100644 (file)
@@ -1004,7 +1004,7 @@ const struct dev_pm_ops jz4740_mmc_pm_ops = {
 
 static struct platform_driver jz4740_mmc_driver = {
        .probe = jz4740_mmc_probe,
-       .remove = __devexit_p(jz4740_mmc_remove),
+       .remove = jz4740_mmc_remove,
        .driver = {
                .name = "jz4740-mmc",
                .owner = THIS_MODULE,
index a600eabbd6c30671a4b3d318974dc9f8af728590..f7df7982ba116dbee0af03ef10469f039d1c4b9e 100644 (file)
@@ -1529,7 +1529,7 @@ static struct spi_driver mmc_spi_driver = {
                .of_match_table = mmc_spi_of_match_table,
        },
        .probe =        mmc_spi_probe,
-       .remove =       __devexit_p(mmc_spi_remove),
+       .remove =       mmc_spi_remove,
 };
 
 module_spi_driver(mmc_spi_driver);
index edc3e9baf0e7bea7be23841c11692968ad2a344b..3ca6757fbebd3ab5d0e19cdf271c7aeffe7d07d8 100644 (file)
@@ -1669,7 +1669,7 @@ static struct amba_driver mmci_driver = {
                .pm     = &mmci_dev_pm_ops,
        },
        .probe          = mmci_probe,
-       .remove         = __devexit_p(mmci_remove),
+       .remove         = mmci_remove,
        .id_table       = mmci_ids,
 };
 
index 48ad361613efb2ebaca728ac53f87a147e8beb45..3531a193d8d5af608fdca2357fad361a007e01ea 100644 (file)
@@ -1566,7 +1566,7 @@ static int mmc_omap_resume(struct platform_device *pdev)
 
 static struct platform_driver mmc_omap_driver = {
        .probe          = mmc_omap_probe,
-       .remove         = __devexit_p(mmc_omap_remove),
+       .remove         = mmc_omap_remove,
        .suspend        = mmc_omap_suspend,
        .resume         = mmc_omap_resume,
        .driver         = {
index fedd258cc4ea2effe547f1fc15729f60277d8c33..58b4cf0f79a9e688645f6dbf4ae8235c40c0e041 100644 (file)
@@ -2149,7 +2149,7 @@ static struct dev_pm_ops omap_hsmmc_dev_pm_ops = {
 
 static struct platform_driver omap_hsmmc_driver = {
        .probe          = omap_hsmmc_probe,
-       .remove         = __devexit_p(omap_hsmmc_remove),
+       .remove         = omap_hsmmc_remove,
        .driver         = {
                .name = DRIVER_NAME,
                .owner = THIS_MODULE,
index 4638ddab97b879cb4a8bc5443b919acd8fe01ffc..a5fe5b24368031e389eef5c82a751b5a68db7aad 100644 (file)
@@ -1906,7 +1906,7 @@ static struct platform_driver s3cmci_driver = {
        },
        .id_table       = s3cmci_driver_ids,
        .probe          = s3cmci_probe,
-       .remove         = __devexit_p(s3cmci_remove),
+       .remove         = s3cmci_remove,
        .shutdown       = s3cmci_shutdown,
 };
 
index 28a870804f60bc3cb0dbbe5e7a9d48e3e9088004..9236fa9d504c9edae04338c426be4c04373cd9ef 100644 (file)
@@ -112,7 +112,7 @@ static struct platform_driver sdhci_cns3xxx_driver = {
                .pm     = SDHCI_PLTFM_PMOPS,
        },
        .probe          = sdhci_cns3xxx_probe,
-       .remove         = __devexit_p(sdhci_cns3xxx_remove),
+       .remove         = sdhci_cns3xxx_remove,
 };
 
 module_platform_driver(sdhci_cns3xxx_driver);
index 8fd50a211037126df4a4beea26dd6fc3aaa71c94..7ad1bb6cf6a0178244d9f94b1970c2fe061d6638 100644 (file)
@@ -143,7 +143,7 @@ static struct platform_driver sdhci_dove_driver = {
                .of_match_table = of_match_ptr(sdhci_dove_of_match_table),
        },
        .probe          = sdhci_dove_probe,
-       .remove         = __devexit_p(sdhci_dove_remove),
+       .remove         = sdhci_dove_remove,
 };
 
 module_platform_driver(sdhci_dove_driver);
index effc2acfe77838427997078eacab1551af46c416..6a4e98e600097f84a22f2a55ec48a98b6f5e3788 100644 (file)
@@ -637,7 +637,7 @@ static struct platform_driver sdhci_esdhc_imx_driver = {
        },
        .id_table       = imx_esdhc_devtype,
        .probe          = sdhci_esdhc_imx_probe,
-       .remove         = __devexit_p(sdhci_esdhc_imx_remove),
+       .remove         = sdhci_esdhc_imx_remove,
 };
 
 module_platform_driver(sdhci_esdhc_imx_driver);
index 63d219f57caebcd3a4cd0216ec17aca2500cb257..d7eb4ed307e7467b8ccfc9fb4ca357d621c0765e 100644 (file)
@@ -234,7 +234,7 @@ static struct platform_driver sdhci_esdhc_driver = {
                .pm = SDHCI_PLTFM_PMOPS,
        },
        .probe = sdhci_esdhc_probe,
-       .remove = __devexit_p(sdhci_esdhc_remove),
+       .remove = sdhci_esdhc_remove,
 };
 
 module_platform_driver(sdhci_esdhc_driver);
index 0ce088ae02289ecf743e00c120a210e7de550d45..3b6806902ac935fa349d94eb7719f2195394d210 100644 (file)
@@ -90,7 +90,7 @@ static struct platform_driver sdhci_hlwd_driver = {
                .pm = SDHCI_PLTFM_PMOPS,
        },
        .probe = sdhci_hlwd_probe,
-       .remove = __devexit_p(sdhci_hlwd_remove),
+       .remove = sdhci_hlwd_remove,
 };
 
 module_platform_driver(sdhci_hlwd_driver);
index 04936f353ced53461a35545b22add0460c582d3a..7bc2270d9f91c03f047297cae5624e93a0f8c19c 100644 (file)
@@ -1470,7 +1470,7 @@ static struct pci_driver sdhci_driver = {
        .name =         "sdhci-pci",
        .id_table =     pci_ids,
        .probe =        sdhci_pci_probe,
-       .remove =       __devexit_p(sdhci_pci_remove),
+       .remove =       sdhci_pci_remove,
        .driver =       {
                .pm =   &sdhci_pci_pm_ops
        },
index 8e63a9c04e3176fd9f8950caa2c461636b6cce47..964fc6d0a81ac941f8279ea3c2db13f57ea9d710 100644 (file)
@@ -275,7 +275,7 @@ static struct platform_driver sdhci_pxav2_driver = {
                .pm     = SDHCI_PLTFM_PMOPS,
        },
        .probe          = sdhci_pxav2_probe,
-       .remove         = __devexit_p(sdhci_pxav2_remove),
+       .remove         = sdhci_pxav2_remove,
 };
 
 module_platform_driver(sdhci_pxav2_driver);
index e918a2bb3af1aa99a0f51f97ce0c10f1bd33b3dd..a46cb67b1c334b73b81be9606d7287af8d968bfa 100644 (file)
@@ -346,7 +346,7 @@ static struct platform_driver sdhci_pxav3_driver = {
                .pm     = SDHCI_PLTFM_PMOPS,
        },
        .probe          = sdhci_pxav3_probe,
-       .remove         = __devexit_p(sdhci_pxav3_remove),
+       .remove         = sdhci_pxav3_remove,
 };
 
 module_platform_driver(sdhci_pxav3_driver);
index a54dd5d7a5f94b1b3e550e799ee95999c5e54df8..b62a0c12fa8bf6b836eff4cce9c9e70cf3336fa1 100644 (file)
@@ -916,7 +916,7 @@ MODULE_DEVICE_TABLE(of, sdhci_s3c_dt_match);
 
 static struct platform_driver sdhci_s3c_driver = {
        .probe          = sdhci_s3c_probe,
-       .remove         = __devexit_p(sdhci_s3c_remove),
+       .remove         = sdhci_s3c_remove,
        .id_table       = sdhci_s3c_driver_ids,
        .driver         = {
                .owner  = THIS_MODULE,
index 6be89c032debe32f16ad978730b70695a2512aab..3ba9479712fffa08f601eb4fff0d6430251f8614 100644 (file)
@@ -336,7 +336,7 @@ static struct platform_driver sdhci_driver = {
                .of_match_table = of_match_ptr(sdhci_spear_id_table),
        },
        .probe          = sdhci_probe,
-       .remove         = __devexit_p(sdhci_remove),
+       .remove         = sdhci_remove,
 };
 
 module_platform_driver(sdhci_driver);
index f9eb9162370178793c804917aa57042f594757a5..f2843549bf0fe308a498172e8773134fbe1aa34b 100644 (file)
@@ -407,7 +407,7 @@ static struct platform_driver sdhci_tegra_driver = {
                .pm     = SDHCI_PLTFM_PMOPS,
        },
        .probe          = sdhci_tegra_probe,
-       .remove         = __devexit_p(sdhci_tegra_remove),
+       .remove         = sdhci_tegra_remove,
 };
 
 module_platform_driver(sdhci_tegra_driver);
index 0bdc146178dbcee41aa55c1f27754bb36c256d37..6a9a625503b37e7597e9a4e17c69103a95c389e9 100644 (file)
@@ -330,7 +330,7 @@ static struct platform_driver sh_mobile_sdhi_driver = {
                .of_match_table = sh_mobile_sdhi_of_match,
        },
        .probe          = sh_mobile_sdhi_probe,
-       .remove         = __devexit_p(sh_mobile_sdhi_remove),
+       .remove         = sh_mobile_sdhi_remove,
 };
 
 module_platform_driver(sh_mobile_sdhi_driver);
index 113ce6c9cf3203d1ad71f445ce62b63be6f2eca5..2f9bbdf5689c282e8e8435e465ee20cb504e2f0e 100644 (file)
@@ -133,7 +133,7 @@ static struct platform_driver tmio_mmc_driver = {
                .owner = THIS_MODULE,
        },
        .probe = tmio_mmc_probe,
-       .remove = __devexit_p(tmio_mmc_remove),
+       .remove = tmio_mmc_remove,
        .suspend = tmio_mmc_suspend,
        .resume = tmio_mmc_resume,
 };
index f18becef156d391519cfb6d211bf2b0efa66a372..d8f8a5ec03f401839e4bb308404e346c98e6a29b 100644 (file)
@@ -1332,7 +1332,7 @@ static struct pci_driver via_sd_driver = {
        .name = DRV_NAME,
        .id_table = via_ids,
        .probe = via_sd_probe,
-       .remove = __devexit_p(via_sd_remove),
+       .remove = via_sd_remove,
        .suspend = via_sd_suspend,
        .resume = via_sd_resume,
 };
index 64acd9ce141cb9a9e14690d3e0b05f8150737a3d..3c8ef59940736412ff49e254ff3d4e00a7dc44c8 100644 (file)
@@ -1941,7 +1941,7 @@ static struct platform_device *wbsd_device;
 
 static struct platform_driver wbsd_driver = {
        .probe          = wbsd_probe,
-       .remove         = __devexit_p(wbsd_remove),
+       .remove         = wbsd_remove,
 
        .suspend        = wbsd_platform_suspend,
        .resume         = wbsd_platform_resume,
@@ -1957,7 +1957,7 @@ static struct pnp_driver wbsd_pnp_driver = {
        .name           = DRIVER_NAME,
        .id_table       = pnp_dev_table,
        .probe          = wbsd_pnp_probe,
-       .remove         = __devexit_p(wbsd_pnp_remove),
+       .remove         = wbsd_pnp_remove,
 
        .suspend        = wbsd_pnp_suspend,
        .resume         = wbsd_pnp_resume,