]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
dma: remove use of __devexit_p
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:20:04 +0000 (13:20 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Nov 2012 20:41:36 +0000 (12:41 -0800)
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Acked-by: Barry Song <baohua.song@csr.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15 files changed:
drivers/dma/dw_dmac.c
drivers/dma/edma.c
drivers/dma/intel_mid_dma.c
drivers/dma/ioat/pci.c
drivers/dma/iop-adma.c
drivers/dma/mmp_pdma.c
drivers/dma/mmp_tdma.c
drivers/dma/mpc512x_dma.c
drivers/dma/mv_xor.c
drivers/dma/pch_dma.c
drivers/dma/ppc4xx/adma.c
drivers/dma/sa11x0-dma.c
drivers/dma/sh/shdma.c
drivers/dma/sirf-dma.c
drivers/dma/tegra20-apb-dma.c

index c4b0eb3cde819977fbf2ac45cfb1b588ccc04f37..3b21818719d2140f2f30fd937a1ccf75089368b3 100644 (file)
@@ -1700,7 +1700,7 @@ MODULE_DEVICE_TABLE(of, dw_dma_id_table);
 #endif
 
 static struct platform_driver dw_driver = {
-       .remove         = __devexit_p(dw_remove),
+       .remove         = dw_remove,
        .shutdown       = dw_shutdown,
        .driver = {
                .name   = "dw_dmac",
index 05aea3ce850602634a0a715fe11a27ba020e40de..5e5cce4ec720e770285e47d4bf639728e24499df 100644 (file)
@@ -598,7 +598,7 @@ static int __devexit edma_remove(struct platform_device *pdev)
 
 static struct platform_driver edma_driver = {
        .probe          = edma_probe,
-       .remove         = __devexit_p(edma_remove),
+       .remove         = edma_remove,
        .driver = {
                .name = "edma-dma-engine",
                .owner = THIS_MODULE,
index 02b21d7d38e55b6bfc33392923610628683fc388..dffdeffe2c4e9745a62707302fc66b312208460f 100644 (file)
@@ -1432,7 +1432,7 @@ static struct pci_driver intel_mid_dma_pci_driver = {
        .name           =       "Intel MID DMA",
        .id_table       =       intel_mid_dma_ids,
        .probe          =       intel_mid_dma_probe,
-       .remove         =       __devexit_p(intel_mid_dma_remove),
+       .remove         =       intel_mid_dma_remove,
 #ifdef CONFIG_PM
        .driver = {
                .pm = &intel_mid_dma_pm,
index c0573061b45dfc5f45c40255d4a6d9c99a1fe882..bfa9a3536e092c6fe465a646a10624921b5814f1 100644 (file)
@@ -125,7 +125,7 @@ static struct pci_driver ioat_pci_driver = {
        .name           = DRV_NAME,
        .id_table       = ioat_pci_tbl,
        .probe          = ioat_pci_probe,
-       .remove         = __devexit_p(ioat_remove),
+       .remove         = ioat_remove,
 };
 
 static struct ioatdma_device *
index 79e3eba297029f465c4ba949f8e7c4a66a0c1a90..f4a8668b346776a780506c8e64779746e71f4a72 100644 (file)
@@ -1711,7 +1711,7 @@ static void iop_chan_start_null_xor(struct iop_adma_chan *iop_chan)
 
 static struct platform_driver iop_adma_driver = {
        .probe          = iop_adma_probe,
-       .remove         = __devexit_p(iop_adma_remove),
+       .remove         = iop_adma_remove,
        .driver         = {
                .owner  = THIS_MODULE,
                .name   = "iop-adma",
index 14da1f403edfdb4f0571abbbea5bddeec1120e02..4777986adbaf134663552fb5101dc71fa09493cd 100644 (file)
@@ -865,7 +865,7 @@ static struct platform_driver mmp_pdma_driver = {
        },
        .id_table       = mmp_pdma_id_table,
        .probe          = mmp_pdma_probe,
-       .remove         = __devexit_p(mmp_pdma_remove),
+       .remove         = mmp_pdma_remove,
 };
 
 module_platform_driver(mmp_pdma_driver);
index f3e8d71bcbc7018f12974197268a6cdf66ebd53b..7d7fc6b19261e8c129a13c6299d1e86785f65ebc 100644 (file)
@@ -609,7 +609,7 @@ static struct platform_driver mmp_tdma_driver = {
        },
        .id_table       = mmp_tdma_id_table,
        .probe          = mmp_tdma_probe,
-       .remove         = __devexit_p(mmp_tdma_remove),
+       .remove         = mmp_tdma_remove,
 };
 
 module_platform_driver(mmp_tdma_driver);
index 2ab0a3d0eed53eb107f475944b97a339e4419a77..4b8754b9a2df3aa73fb3cc9a162dfa869a424dd1 100644 (file)
@@ -818,7 +818,7 @@ static struct of_device_id mpc_dma_match[] = {
 
 static struct platform_driver mpc_dma_driver = {
        .probe          = mpc_dma_probe,
-       .remove         = __devexit_p(mpc_dma_remove),
+       .remove         = mpc_dma_remove,
        .driver = {
                .name = DRV_NAME,
                .owner = THIS_MODULE,
index e362e2b80efbc115e1fee0ac91efe0aa671c1ddb..2e9ad2d9fe4425526f6284fd928cb0271a354cb2 100644 (file)
@@ -1262,7 +1262,7 @@ mv_xor_conf_mbus_windows(struct mv_xor_shared_private *msp,
 
 static struct platform_driver mv_xor_driver = {
        .probe          = mv_xor_probe,
-       .remove         = __devexit_p(mv_xor_remove),
+       .remove         = mv_xor_remove,
        .driver         = {
                .owner  = THIS_MODULE,
                .name   = MV_XOR_NAME,
index 987ab5cd2617a1cc15fa807aba82ae411af5f77b..f7f1c194708932814792f85c2f47c601d15cb7b8 100644 (file)
@@ -1022,7 +1022,7 @@ static struct pci_driver pch_dma_driver = {
        .name           = DRV_NAME,
        .id_table       = pch_dma_id_table,
        .probe          = pch_dma_probe,
-       .remove         = __devexit_p(pch_dma_remove),
+       .remove         = pch_dma_remove,
 #ifdef CONFIG_PM
        .suspend        = pch_dma_suspend,
        .resume         = pch_dma_resume,
index f72348d0bc415b9e4355ead36a34132041b521a3..5c6717c48f4837b3c55d66aa7da15a1be7bb2d68 100644 (file)
@@ -4914,7 +4914,7 @@ MODULE_DEVICE_TABLE(of, ppc440spe_adma_of_match);
 
 static struct platform_driver ppc440spe_adma_driver = {
        .probe = ppc440spe_adma_probe,
-       .remove = __devexit_p(ppc440spe_adma_remove),
+       .remove = ppc440spe_adma_remove,
        .driver = {
                .name = "PPC440SP(E)-ADMA",
                .owner = THIS_MODULE,
index b893159c1ecb0c9f1ff68d667f8df5fc0cedeb80..1255d9b2c3dd479547fb64d8d62f8b6a0a9fe61f 100644 (file)
@@ -1072,7 +1072,7 @@ static struct platform_driver sa11x0_dma_driver = {
                .pm     = &sa11x0_dma_pm_ops,
        },
        .probe          = sa11x0_dma_probe,
-       .remove         = __devexit_p(sa11x0_dma_remove),
+       .remove         = sa11x0_dma_remove,
 };
 
 bool sa11x0_dma_filter_fn(struct dma_chan *chan, void *param)
index f41bcc5267fdafa94cdafbe20a1560088cde67ea..7dcf4e073186a6806106001055bf5243ada3f0f2 100644 (file)
@@ -926,7 +926,7 @@ static struct platform_driver sh_dmae_driver = {
                .pm     = &sh_dmae_pm,
                .name   = SH_DMAE_DRV_NAME,
        },
-       .remove         = __devexit_p(sh_dmae_remove),
+       .remove         = sh_dmae_remove,
        .shutdown       = sh_dmae_shutdown,
 };
 
index d451caace806445428c40d3f4d5678ada4a0925d..62d42c9e16b9c98fac058c6a1638a1c3ea5b065d 100644 (file)
@@ -673,7 +673,7 @@ static struct of_device_id sirfsoc_dma_match[] = {
 
 static struct platform_driver sirfsoc_dma_driver = {
        .probe          = sirfsoc_dma_probe,
-       .remove         = __devexit_p(sirfsoc_dma_remove),
+       .remove         = sirfsoc_dma_remove,
        .driver = {
                .name = DRV_NAME,
                .owner = THIS_MODULE,
index 528c62dd4b00e1b52928ff66f3a54e7ae206680f..655c4348e4686a8adad820b519284a24f4aba01c 100644 (file)
@@ -1418,7 +1418,7 @@ static struct platform_driver tegra_dmac_driver = {
                .of_match_table = of_match_ptr(tegra_dma_of_match),
        },
        .probe          = tegra_dma_probe,
-       .remove         = __devexit_p(tegra_dma_remove),
+       .remove         = tegra_dma_remove,
 };
 
 module_platform_driver(tegra_dmac_driver);