]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mmc: remove use of __devexit
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:26:03 +0000 (13:26 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Nov 2012 20:28:18 +0000 (12:28 -0800)
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Manuel Lauss <manuel.lauss@gmail.com>
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: Viresh Kumar <viresh.linux@gmail.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: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
27 files changed:
drivers/mmc/host/au1xmmc.c
drivers/mmc/host/bfin_sdh.c
drivers/mmc/host/cb710-mmc.c
drivers/mmc/host/dw_mmc-pci.c
drivers/mmc/host/dw_mmc-pltfm.c
drivers/mmc/host/dw_mmc-pltfm.h
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_mmcif.c
drivers/mmc/host/tmio_mmc.c
drivers/mmc/host/via-sdmmc.c
drivers/mmc/host/wbsd.c

index 606c16a6c6395cf5d5daa505999b4ea0874f4bd8..127a8fade4daa6de02507c24060fb9aa76dab922 100644 (file)
@@ -1114,7 +1114,7 @@ out0:
        return ret;
 }
 
-static int __devexit au1xmmc_remove(struct platform_device *pdev)
+static int au1xmmc_remove(struct platform_device *pdev)
 {
        struct au1xmmc_host *host = platform_get_drvdata(pdev);
 
index 4ef3901451b4caac462a3750882d2df732f6e66c..fb4348c5b6ace996613dd5de99c12105869cc90b 100644 (file)
@@ -617,7 +617,7 @@ out1:
        return ret;
 }
 
-static int __devexit sdh_remove(struct platform_device *pdev)
+static int sdh_remove(struct platform_device *pdev)
 {
        struct mmc_host *mmc = platform_get_drvdata(pdev);
 
index c12a5615ab9b5b084dc258c27d526bd701882fef..777ca2046b27bf589a6be96104249433d228bb5d 100644 (file)
@@ -746,7 +746,7 @@ err_free_mmc:
        return err;
 }
 
-static int __devexit cb710_mmc_exit(struct platform_device *pdev)
+static int cb710_mmc_exit(struct platform_device *pdev)
 {
        struct cb710_slot *slot = cb710_pdev_to_slot(pdev);
        struct mmc_host *mmc = cb710_slot_to_mmc(slot);
index 324c8bfeb7ec6edfa2fb21b1b601e34528b09d45..083fcd29c9c60dd89f8cd935589a5501aabbc541 100644 (file)
@@ -85,7 +85,7 @@ err_disable_dev:
        return ret;
 }
 
-static void __devexit dw_mci_pci_remove(struct pci_dev *pdev)
+static void dw_mci_pci_remove(struct pci_dev *pdev)
 {
        struct dw_mci *host = pci_get_drvdata(pdev);
 
index 867977f698418e62783dcbf40e7197a60301b7f1..8fd6d2cc498d6a2263d98fabd88f098699628d99 100644 (file)
@@ -67,7 +67,7 @@ static int dw_mci_pltfm_probe(struct platform_device *pdev)
        return dw_mci_pltfm_register(pdev, NULL);
 }
 
-static int __devexit dw_mci_pltfm_remove(struct platform_device *pdev)
+static int dw_mci_pltfm_remove(struct platform_device *pdev)
 {
        struct dw_mci *host = platform_get_drvdata(pdev);
 
index 2ac37b81de4d2774f3f468922284243090f16fd9..68e7fd2f6148b64af06dd2b9be8c1f235240e4ad 100644 (file)
@@ -14,7 +14,7 @@
 
 extern int dw_mci_pltfm_register(struct platform_device *pdev,
                                const struct dw_mci_drv_data *drv_data);
-extern int __devexit dw_mci_pltfm_remove(struct platform_device *pdev);
+extern int dw_mci_pltfm_remove(struct platform_device *pdev);
 extern const struct dev_pm_ops dw_mci_pltfm_pmops;
 
 #endif /* _DW_MMC_PLTFM_H_ */
index 81826be41bc74aa9bdebb9060ba8f10abe0d3c68..2391c6b7a4bb7ce2629d4bf74c7e70b615560392 100644 (file)
@@ -938,7 +938,7 @@ err_free_host:
        return ret;
 }
 
-static int __devexit jz4740_mmc_remove(struct platform_device *pdev)
+static int jz4740_mmc_remove(struct platform_device *pdev)
 {
        struct jz4740_mmc_host *host = platform_get_drvdata(pdev);
 
index 1e2256b296e84c3e37d121600df559c8d5ae20f8..74145d1d51f5d9df1cfd9f287366ce25893b4d15 100644 (file)
@@ -1485,7 +1485,7 @@ nomem:
 }
 
 
-static int __devexit mmc_spi_remove(struct spi_device *spi)
+static int mmc_spi_remove(struct spi_device *spi)
 {
        struct mmc_host         *mmc = dev_get_drvdata(&spi->dev);
        struct mmc_spi_host     *host;
index 5e3e05dfa57f01bfd488c4fc7f45598a97bc09c8..ec28d175d9c8df972612f3af3bef1f65237bbdb5 100644 (file)
@@ -337,7 +337,7 @@ static void mmci_dma_setup(struct mmci_host *host)
 }
 
 /*
- * This is used in or __devexit so inline it
+ * This is used in or so inline it
  * so it can be discarded.
  */
 static inline void mmci_dma_release(struct mmci_host *host)
@@ -1522,7 +1522,7 @@ static int mmci_probe(struct amba_device *dev,
        return ret;
 }
 
-static int __devexit mmci_remove(struct amba_device *dev)
+static int mmci_remove(struct amba_device *dev)
 {
        struct mmc_host *mmc = amba_get_drvdata(dev);
 
index e18441b63bf2045730ff54328b7a2034b1a03b92..4e749ab690c81baf59ecdb39e2553b5726b78df9 100644 (file)
@@ -1478,7 +1478,7 @@ err_free_mem_region:
        return ret;
 }
 
-static int __devexit mmc_omap_remove(struct platform_device *pdev)
+static int mmc_omap_remove(struct platform_device *pdev)
 {
        struct mmc_omap_host *host = platform_get_drvdata(pdev);
        int i;
index 3bebdff216689f1ef0778ce4ae10160913124f2b..8cfcec360de165f73341bbaa521fed94b9f22377 100644 (file)
@@ -1986,7 +1986,7 @@ err:
        return ret;
 }
 
-static int __devexit omap_hsmmc_remove(struct platform_device *pdev)
+static int omap_hsmmc_remove(struct platform_device *pdev)
 {
        struct omap_hsmmc_host *host = platform_get_drvdata(pdev);
        struct resource *res;
index b846a975408a9a78df5e7bc2e8fca072ac97601e..63fb265e0da6545456fcc020029abf21ceca72a5 100644 (file)
@@ -1819,7 +1819,7 @@ static void s3cmci_shutdown(struct platform_device *pdev)
        clk_disable(host->clk);
 }
 
-static int __devexit s3cmci_remove(struct platform_device *pdev)
+static int s3cmci_remove(struct platform_device *pdev)
 {
        struct mmc_host         *mmc  = platform_get_drvdata(pdev);
        struct s3cmci_host      *host = mmc_priv(mmc);
index ce959dcfa7b202f8d4099d6733c685fa126a8bf3..30bfdc4ae52a0351caf5aec4bddd89347447fbdb 100644 (file)
@@ -100,7 +100,7 @@ static int sdhci_cns3xxx_probe(struct platform_device *pdev)
        return sdhci_pltfm_register(pdev, &sdhci_cns3xxx_pdata);
 }
 
-static int __devexit sdhci_cns3xxx_remove(struct platform_device *pdev)
+static int sdhci_cns3xxx_remove(struct platform_device *pdev)
 {
        return sdhci_pltfm_unregister(pdev);
 }
index 73c0eb8a091d07b253f921c74557d64cdafd2166..5f4d0331a91f5a3691554f241e47bed80721ab2a 100644 (file)
@@ -114,7 +114,7 @@ sdhci_dove_register_fail:
        return ret;
 }
 
-static int __devexit sdhci_dove_remove(struct platform_device *pdev)
+static int sdhci_dove_remove(struct platform_device *pdev)
 {
        struct sdhci_host *host = platform_get_drvdata(pdev);
        struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
index cd741bbde505c73dcd230915b64071b14015d1a9..8d54fd7b9d37f4b11a670da5be411999d15aeec1 100644 (file)
@@ -599,7 +599,7 @@ err_imx_data:
        return err;
 }
 
-static int __devexit sdhci_esdhc_imx_remove(struct platform_device *pdev)
+static int sdhci_esdhc_imx_remove(struct platform_device *pdev)
 {
        struct sdhci_host *host = platform_get_drvdata(pdev);
        struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
index 1aceed7d5a60a13538406da0c738c627e2ec4378..6617d6750a711fdf5f8d7673685ec5f271a0bee4 100644 (file)
@@ -213,7 +213,7 @@ static int sdhci_esdhc_probe(struct platform_device *pdev)
        return sdhci_pltfm_register(pdev, &sdhci_esdhc_pdata);
 }
 
-static int __devexit sdhci_esdhc_remove(struct platform_device *pdev)
+static int sdhci_esdhc_remove(struct platform_device *pdev)
 {
        return sdhci_pltfm_unregister(pdev);
 }
index aa78f3c27164c93f459c160991e6a57e7fc77f26..c3d3715ec3d70eebfec107a85781a97fefee1998 100644 (file)
@@ -71,7 +71,7 @@ static int sdhci_hlwd_probe(struct platform_device *pdev)
        return sdhci_pltfm_register(pdev, &sdhci_hlwd_pdata);
 }
 
-static int __devexit sdhci_hlwd_remove(struct platform_device *pdev)
+static int sdhci_hlwd_remove(struct platform_device *pdev)
 {
        return sdhci_pltfm_unregister(pdev);
 }
index 38447710a1efce11a0b528ceafa5f0889fc70451..d01aa610391fe3a2dcb8d4ab24df6b15f502b3ea 100644 (file)
@@ -1347,7 +1347,7 @@ static void sdhci_pci_runtime_pm_allow(struct device *dev)
        pm_suspend_ignore_children(dev, 1);
 }
 
-static void __devexit sdhci_pci_runtime_pm_forbid(struct device *dev)
+static void sdhci_pci_runtime_pm_forbid(struct device *dev)
 {
        pm_runtime_forbid(dev);
        pm_runtime_get_noresume(dev);
@@ -1445,7 +1445,7 @@ err:
        return ret;
 }
 
-static void __devexit sdhci_pci_remove(struct pci_dev *pdev)
+static void sdhci_pci_remove(struct pci_dev *pdev)
 {
        int i;
        struct sdhci_pci_chip *chip;
index 7d4dc1946312503d15b6b1f85f9a01c3a289d969..ac854aa192a8d6af7801d69f50d816529b3fdf35 100644 (file)
@@ -247,7 +247,7 @@ err_clk_get:
        return ret;
 }
 
-static int __devexit sdhci_pxav2_remove(struct platform_device *pdev)
+static int sdhci_pxav2_remove(struct platform_device *pdev)
 {
        struct sdhci_host *host = platform_get_drvdata(pdev);
        struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
index e89c80901f304e42fc556877a605ca76f8d84dda..186dfc36e4737ae5db10bc44c65bad7a2e017669 100644 (file)
@@ -313,7 +313,7 @@ err_clk_get:
        return ret;
 }
 
-static int __devexit sdhci_pxav3_remove(struct platform_device *pdev)
+static int sdhci_pxav3_remove(struct platform_device *pdev)
 {
        struct sdhci_host *host = platform_get_drvdata(pdev);
        struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
index f5dde9eb7989b13d88db4e6538e797fff3c8bd76..fe21ed428c3df04062aa053c6593a63c92691e67 100644 (file)
@@ -778,7 +778,7 @@ static int sdhci_s3c_probe(struct platform_device *pdev)
        return ret;
 }
 
-static int __devexit sdhci_s3c_remove(struct platform_device *pdev)
+static int sdhci_s3c_remove(struct platform_device *pdev)
 {
        struct sdhci_host *host =  platform_get_drvdata(pdev);
        struct sdhci_s3c *sc = sdhci_priv(host);
index 3fd18964145a09142ec3e9c5707550470568bb30..df2379a340f1804364eb258ca6c89b9aadb1e530 100644 (file)
@@ -266,7 +266,7 @@ err:
        return ret;
 }
 
-static int __devexit sdhci_remove(struct platform_device *pdev)
+static int sdhci_remove(struct platform_device *pdev)
 {
        struct sdhci_host *host = platform_get_drvdata(pdev);
        struct spear_sdhci *sdhci = dev_get_platdata(&pdev->dev);
index d3936d0e3360e7ba1be56b5dd38ee2da333191bf..3695b2e0cbd2ad20bd92adc08a74a09b75761962 100644 (file)
@@ -370,7 +370,7 @@ err_no_plat:
        return rc;
 }
 
-static int __devexit sdhci_tegra_remove(struct platform_device *pdev)
+static int sdhci_tegra_remove(struct platform_device *pdev)
 {
        struct sdhci_host *host = platform_get_drvdata(pdev);
        struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
index 9872b52332f886a87babc2c9614f2bf5c80ae9a4..9b8efac896a88cf35048ec33ca17428c1fc9a4ce 100644 (file)
@@ -1430,7 +1430,7 @@ ealloch:
        return ret;
 }
 
-static int __devexit sh_mmcif_remove(struct platform_device *pdev)
+static int sh_mmcif_remove(struct platform_device *pdev)
 {
        struct sh_mmcif_host *host = platform_get_drvdata(pdev);
        struct sh_mmcif_plat_data *pd = pdev->dev.platform_data;
index f415be885654a76d840c87293158a9f96b3a037e..139212e79cde887fe06a6bfc3f7cb89356df0a25 100644 (file)
@@ -107,7 +107,7 @@ out:
        return ret;
 }
 
-static int __devexit tmio_mmc_remove(struct platform_device *pdev)
+static int tmio_mmc_remove(struct platform_device *pdev)
 {
        const struct mfd_cell *cell = mfd_get_cell(pdev);
        struct mmc_host *mmc = platform_get_drvdata(pdev);
index 1f1a252184a713a8011f217b328d35c0c7711ddb..4f84586c6e9eeed9cafd5f89cc83c530b46fff87 100644 (file)
@@ -1176,7 +1176,7 @@ disable:
        return ret;
 }
 
-static void __devexit via_sd_remove(struct pci_dev *pcidev)
+static void via_sd_remove(struct pci_dev *pcidev)
 {
        struct via_crdr_mmc_host *sdhost = pci_get_drvdata(pcidev);
        unsigned long flags;
index d71358a2695d9b504065596597f7ba4840dd2a1a..e954b77588769ce6950ff73f9c8e3c5c3320c531 100644 (file)
@@ -1735,7 +1735,7 @@ static int wbsd_init(struct device *dev, int base, int irq, int dma,
        return 0;
 }
 
-static void __devexit wbsd_shutdown(struct device *dev, int pnp)
+static void wbsd_shutdown(struct device *dev, int pnp)
 {
        struct mmc_host *mmc = dev_get_drvdata(dev);
        struct wbsd_host *host;
@@ -1768,7 +1768,7 @@ static int wbsd_probe(struct platform_device *dev)
        return wbsd_init(&dev->dev, param_io, param_irq, param_dma, 0);
 }
 
-static int __devexit wbsd_remove(struct platform_device *dev)
+static int wbsd_remove(struct platform_device *dev)
 {
        wbsd_shutdown(&dev->dev, 0);
 
@@ -1801,7 +1801,7 @@ wbsd_pnp_probe(struct pnp_dev *pnpdev, const struct pnp_device_id *dev_id)
        return wbsd_init(&pnpdev->dev, io, irq, dma, 1);
 }
 
-static void __devexit wbsd_pnp_remove(struct pnp_dev *dev)
+static void wbsd_pnp_remove(struct pnp_dev *dev)
 {
        wbsd_shutdown(&dev->dev, 1);
 }