aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/tegra20-apb-dma.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 18:09:59 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 18:57:15 -0500
commit4bf27b8b333bcd291664fd0f7d129099d474a23b (patch)
tree2037b00003c0cd8b6b1322bc37704c4c58f868a9 /drivers/dma/tegra20-apb-dma.c
parent56550d94cbaeaa195cb98c95d012b301cbd65a8d (diff)
Drivers: dma: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev* markings need to be removed. This change removes the use of __devinit, __devexit_p, __devinitconst, and __devexit from these drivers. Based on patches originally written by Bill Pemberton, but redone by me in order to handle some of the coding style issues better, by hand. Cc: Bill Pemberton <wfp5p@virginia.edu> Cc: Viresh Kumar <viresh.linux@gmail.com> Cc: Dan Williams <djbw@fb.com> Cc: Vinod Koul <vinod.koul@intel.com> Cc: Barry Song <baohua.song@csr.com> Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Cc: Alexander Duyck <alexander.h.duyck@intel.com> Cc: Russell King <rmk+kernel@arm.linux.org.uk> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Jassi Brar <jassisinghbrar@gmail.com> Cc: Dave Jiang <dave.jiang@intel.com> Cc: Bill Pemberton <wfp5p@virginia.edu> Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/dma/tegra20-apb-dma.c')
-rw-r--r--drivers/dma/tegra20-apb-dma.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dma/tegra20-apb-dma.c b/drivers/dma/tegra20-apb-dma.c
index efdfffa13349..c39e61bc8172 100644
--- a/drivers/dma/tegra20-apb-dma.c
+++ b/drivers/dma/tegra20-apb-dma.c
@@ -1184,7 +1184,7 @@ static const struct tegra_dma_chip_data tegra30_dma_chip_data = {
1184 .max_dma_count = 1024UL * 64, 1184 .max_dma_count = 1024UL * 64,
1185}; 1185};
1186 1186
1187static const struct of_device_id tegra_dma_of_match[] __devinitconst = { 1187static const struct of_device_id tegra_dma_of_match[] = {
1188 { 1188 {
1189 .compatible = "nvidia,tegra30-apbdma", 1189 .compatible = "nvidia,tegra30-apbdma",
1190 .data = &tegra30_dma_chip_data, 1190 .data = &tegra30_dma_chip_data,
@@ -1360,7 +1360,7 @@ err_pm_disable:
1360 return ret; 1360 return ret;
1361} 1361}
1362 1362
1363static int __devexit tegra_dma_remove(struct platform_device *pdev) 1363static int tegra_dma_remove(struct platform_device *pdev)
1364{ 1364{
1365 struct tegra_dma *tdma = platform_get_drvdata(pdev); 1365 struct tegra_dma *tdma = platform_get_drvdata(pdev);
1366 int i; 1366 int i;
@@ -1403,7 +1403,7 @@ static int tegra_dma_runtime_resume(struct device *dev)
1403 return 0; 1403 return 0;
1404} 1404}
1405 1405
1406static const struct dev_pm_ops tegra_dma_dev_pm_ops __devinitconst = { 1406static const struct dev_pm_ops tegra_dma_dev_pm_ops = {
1407#ifdef CONFIG_PM_RUNTIME 1407#ifdef CONFIG_PM_RUNTIME
1408 .runtime_suspend = tegra_dma_runtime_suspend, 1408 .runtime_suspend = tegra_dma_runtime_suspend,
1409 .runtime_resume = tegra_dma_runtime_resume, 1409 .runtime_resume = tegra_dma_runtime_resume,