aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:42 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:42 -0400
commit98b773cf7b6b0d1c2e809702c5c05cf59eaefda8 (patch)
treeeeec8e3a14d1e959f843848bf53e3fb54fec5c3e
parent7b8f16c2d1a81b29035379b471226ea09817a29c (diff)
iommu: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
-rw-r--r--drivers/iommu/arm-smmu.c1
-rw-r--r--drivers/iommu/exynos-iommu.c1
-rw-r--r--drivers/iommu/fsl_pamu.c1
-rw-r--r--drivers/iommu/ipmmu-vmsa.c1
-rw-r--r--drivers/iommu/shmobile-ipmmu.c1
-rw-r--r--drivers/iommu/tegra-gart.c1
-rw-r--r--drivers/iommu/tegra-smmu.c1
7 files changed, 0 insertions, 7 deletions
diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c
index 60558f794922..480951484376 100644
--- a/drivers/iommu/arm-smmu.c
+++ b/drivers/iommu/arm-smmu.c
@@ -2062,7 +2062,6 @@ static int arm_smmu_device_remove(struct platform_device *pdev)
2062 2062
2063static struct platform_driver arm_smmu_driver = { 2063static struct platform_driver arm_smmu_driver = {
2064 .driver = { 2064 .driver = {
2065 .owner = THIS_MODULE,
2066 .name = "arm-smmu", 2065 .name = "arm-smmu",
2067 .of_match_table = of_match_ptr(arm_smmu_of_match), 2066 .of_match_table = of_match_ptr(arm_smmu_of_match),
2068 }, 2067 },
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index 74233186f6f7..e940f5077126 100644
--- a/drivers/iommu/exynos-iommu.c
+++ b/drivers/iommu/exynos-iommu.c
@@ -684,7 +684,6 @@ static const struct of_device_id sysmmu_of_match[] __initconst = {
684static struct platform_driver exynos_sysmmu_driver __refdata = { 684static struct platform_driver exynos_sysmmu_driver __refdata = {
685 .probe = exynos_sysmmu_probe, 685 .probe = exynos_sysmmu_probe,
686 .driver = { 686 .driver = {
687 .owner = THIS_MODULE,
688 .name = "exynos-sysmmu", 687 .name = "exynos-sysmmu",
689 .of_match_table = sysmmu_of_match, 688 .of_match_table = sysmmu_of_match,
690 } 689 }
diff --git a/drivers/iommu/fsl_pamu.c b/drivers/iommu/fsl_pamu.c
index 2b6ce9387af1..80ac68d884c5 100644
--- a/drivers/iommu/fsl_pamu.c
+++ b/drivers/iommu/fsl_pamu.c
@@ -1227,7 +1227,6 @@ static const struct of_device_id fsl_of_pamu_ids[] = {
1227static struct platform_driver fsl_of_pamu_driver = { 1227static struct platform_driver fsl_of_pamu_driver = {
1228 .driver = { 1228 .driver = {
1229 .name = "fsl-of-pamu", 1229 .name = "fsl-of-pamu",
1230 .owner = THIS_MODULE,
1231 }, 1230 },
1232 .probe = fsl_pamu_probe, 1231 .probe = fsl_pamu_probe,
1233}; 1232};
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c
index 7dab5cbcc775..33c9d5327e70 100644
--- a/drivers/iommu/ipmmu-vmsa.c
+++ b/drivers/iommu/ipmmu-vmsa.c
@@ -1221,7 +1221,6 @@ static int ipmmu_remove(struct platform_device *pdev)
1221 1221
1222static struct platform_driver ipmmu_driver = { 1222static struct platform_driver ipmmu_driver = {
1223 .driver = { 1223 .driver = {
1224 .owner = THIS_MODULE,
1225 .name = "ipmmu-vmsa", 1224 .name = "ipmmu-vmsa",
1226 }, 1225 },
1227 .probe = ipmmu_probe, 1226 .probe = ipmmu_probe,
diff --git a/drivers/iommu/shmobile-ipmmu.c b/drivers/iommu/shmobile-ipmmu.c
index bd97adecb1fd..951651a9746b 100644
--- a/drivers/iommu/shmobile-ipmmu.c
+++ b/drivers/iommu/shmobile-ipmmu.c
@@ -118,7 +118,6 @@ static int ipmmu_probe(struct platform_device *pdev)
118static struct platform_driver ipmmu_driver = { 118static struct platform_driver ipmmu_driver = {
119 .probe = ipmmu_probe, 119 .probe = ipmmu_probe,
120 .driver = { 120 .driver = {
121 .owner = THIS_MODULE,
122 .name = "ipmmu", 121 .name = "ipmmu",
123 }, 122 },
124}; 123};
diff --git a/drivers/iommu/tegra-gart.c b/drivers/iommu/tegra-gart.c
index a6d76abf2c06..f722a0c466cf 100644
--- a/drivers/iommu/tegra-gart.c
+++ b/drivers/iommu/tegra-gart.c
@@ -425,7 +425,6 @@ static struct platform_driver tegra_gart_driver = {
425 .probe = tegra_gart_probe, 425 .probe = tegra_gart_probe,
426 .remove = tegra_gart_remove, 426 .remove = tegra_gart_remove,
427 .driver = { 427 .driver = {
428 .owner = THIS_MODULE,
429 .name = "tegra-gart", 428 .name = "tegra-gart",
430 .pm = &tegra_gart_pm_ops, 429 .pm = &tegra_gart_pm_ops,
431 .of_match_table = tegra_gart_of_match, 430 .of_match_table = tegra_gart_of_match,
diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c
index 3afdf43f732a..6157946ae73d 100644
--- a/drivers/iommu/tegra-smmu.c
+++ b/drivers/iommu/tegra-smmu.c
@@ -1269,7 +1269,6 @@ static struct platform_driver tegra_smmu_driver = {
1269 .probe = tegra_smmu_probe, 1269 .probe = tegra_smmu_probe,
1270 .remove = tegra_smmu_remove, 1270 .remove = tegra_smmu_remove,
1271 .driver = { 1271 .driver = {
1272 .owner = THIS_MODULE,
1273 .name = "tegra-smmu", 1272 .name = "tegra-smmu",
1274 .pm = &tegra_smmu_pm_ops, 1273 .pm = &tegra_smmu_pm_ops,
1275 .of_match_table = tegra_smmu_of_match, 1274 .of_match_table = tegra_smmu_of_match,