dma: 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>
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>
This commit is contained in:
Bill Pemberton 2012-11-19 13:20:04 -05:00 committed by Greg Kroah-Hartman
parent 7eeb741895
commit a7d6e3ec28
15 changed files with 15 additions and 15 deletions

View file

@ -1700,7 +1700,7 @@ MODULE_DEVICE_TABLE(of, dw_dma_id_table);
#endif #endif
static struct platform_driver dw_driver = { static struct platform_driver dw_driver = {
.remove = __devexit_p(dw_remove), .remove = dw_remove,
.shutdown = dw_shutdown, .shutdown = dw_shutdown,
.driver = { .driver = {
.name = "dw_dmac", .name = "dw_dmac",

View file

@ -598,7 +598,7 @@ static int __devexit edma_remove(struct platform_device *pdev)
static struct platform_driver edma_driver = { static struct platform_driver edma_driver = {
.probe = edma_probe, .probe = edma_probe,
.remove = __devexit_p(edma_remove), .remove = edma_remove,
.driver = { .driver = {
.name = "edma-dma-engine", .name = "edma-dma-engine",
.owner = THIS_MODULE, .owner = THIS_MODULE,

View file

@ -1432,7 +1432,7 @@ static struct pci_driver intel_mid_dma_pci_driver = {
.name = "Intel MID DMA", .name = "Intel MID DMA",
.id_table = intel_mid_dma_ids, .id_table = intel_mid_dma_ids,
.probe = intel_mid_dma_probe, .probe = intel_mid_dma_probe,
.remove = __devexit_p(intel_mid_dma_remove), .remove = intel_mid_dma_remove,
#ifdef CONFIG_PM #ifdef CONFIG_PM
.driver = { .driver = {
.pm = &intel_mid_dma_pm, .pm = &intel_mid_dma_pm,

View file

@ -125,7 +125,7 @@ static struct pci_driver ioat_pci_driver = {
.name = DRV_NAME, .name = DRV_NAME,
.id_table = ioat_pci_tbl, .id_table = ioat_pci_tbl,
.probe = ioat_pci_probe, .probe = ioat_pci_probe,
.remove = __devexit_p(ioat_remove), .remove = ioat_remove,
}; };
static struct ioatdma_device * static struct ioatdma_device *

View 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 = { static struct platform_driver iop_adma_driver = {
.probe = iop_adma_probe, .probe = iop_adma_probe,
.remove = __devexit_p(iop_adma_remove), .remove = iop_adma_remove,
.driver = { .driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.name = "iop-adma", .name = "iop-adma",

View file

@ -865,7 +865,7 @@ static struct platform_driver mmp_pdma_driver = {
}, },
.id_table = mmp_pdma_id_table, .id_table = mmp_pdma_id_table,
.probe = mmp_pdma_probe, .probe = mmp_pdma_probe,
.remove = __devexit_p(mmp_pdma_remove), .remove = mmp_pdma_remove,
}; };
module_platform_driver(mmp_pdma_driver); module_platform_driver(mmp_pdma_driver);

View file

@ -609,7 +609,7 @@ static struct platform_driver mmp_tdma_driver = {
}, },
.id_table = mmp_tdma_id_table, .id_table = mmp_tdma_id_table,
.probe = mmp_tdma_probe, .probe = mmp_tdma_probe,
.remove = __devexit_p(mmp_tdma_remove), .remove = mmp_tdma_remove,
}; };
module_platform_driver(mmp_tdma_driver); module_platform_driver(mmp_tdma_driver);

View file

@ -818,7 +818,7 @@ static struct of_device_id mpc_dma_match[] = {
static struct platform_driver mpc_dma_driver = { static struct platform_driver mpc_dma_driver = {
.probe = mpc_dma_probe, .probe = mpc_dma_probe,
.remove = __devexit_p(mpc_dma_remove), .remove = mpc_dma_remove,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE, .owner = THIS_MODULE,

View file

@ -1262,7 +1262,7 @@ mv_xor_conf_mbus_windows(struct mv_xor_shared_private *msp,
static struct platform_driver mv_xor_driver = { static struct platform_driver mv_xor_driver = {
.probe = mv_xor_probe, .probe = mv_xor_probe,
.remove = __devexit_p(mv_xor_remove), .remove = mv_xor_remove,
.driver = { .driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.name = MV_XOR_NAME, .name = MV_XOR_NAME,

View file

@ -1022,7 +1022,7 @@ static struct pci_driver pch_dma_driver = {
.name = DRV_NAME, .name = DRV_NAME,
.id_table = pch_dma_id_table, .id_table = pch_dma_id_table,
.probe = pch_dma_probe, .probe = pch_dma_probe,
.remove = __devexit_p(pch_dma_remove), .remove = pch_dma_remove,
#ifdef CONFIG_PM #ifdef CONFIG_PM
.suspend = pch_dma_suspend, .suspend = pch_dma_suspend,
.resume = pch_dma_resume, .resume = pch_dma_resume,

View file

@ -4914,7 +4914,7 @@ MODULE_DEVICE_TABLE(of, ppc440spe_adma_of_match);
static struct platform_driver ppc440spe_adma_driver = { static struct platform_driver ppc440spe_adma_driver = {
.probe = ppc440spe_adma_probe, .probe = ppc440spe_adma_probe,
.remove = __devexit_p(ppc440spe_adma_remove), .remove = ppc440spe_adma_remove,
.driver = { .driver = {
.name = "PPC440SP(E)-ADMA", .name = "PPC440SP(E)-ADMA",
.owner = THIS_MODULE, .owner = THIS_MODULE,

View file

@ -1072,7 +1072,7 @@ static struct platform_driver sa11x0_dma_driver = {
.pm = &sa11x0_dma_pm_ops, .pm = &sa11x0_dma_pm_ops,
}, },
.probe = sa11x0_dma_probe, .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) bool sa11x0_dma_filter_fn(struct dma_chan *chan, void *param)

View file

@ -926,7 +926,7 @@ static struct platform_driver sh_dmae_driver = {
.pm = &sh_dmae_pm, .pm = &sh_dmae_pm,
.name = SH_DMAE_DRV_NAME, .name = SH_DMAE_DRV_NAME,
}, },
.remove = __devexit_p(sh_dmae_remove), .remove = sh_dmae_remove,
.shutdown = sh_dmae_shutdown, .shutdown = sh_dmae_shutdown,
}; };

View file

@ -673,7 +673,7 @@ static struct of_device_id sirfsoc_dma_match[] = {
static struct platform_driver sirfsoc_dma_driver = { static struct platform_driver sirfsoc_dma_driver = {
.probe = sirfsoc_dma_probe, .probe = sirfsoc_dma_probe,
.remove = __devexit_p(sirfsoc_dma_remove), .remove = sirfsoc_dma_remove,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE, .owner = THIS_MODULE,

View file

@ -1418,7 +1418,7 @@ static struct platform_driver tegra_dmac_driver = {
.of_match_table = of_match_ptr(tegra_dma_of_match), .of_match_table = of_match_ptr(tegra_dma_of_match),
}, },
.probe = tegra_dma_probe, .probe = tegra_dma_probe,
.remove = __devexit_p(tegra_dma_remove), .remove = tegra_dma_remove,
}; };
module_platform_driver(tegra_dmac_driver); module_platform_driver(tegra_dmac_driver);