Skip to content

Commit

Permalink
cpuidle: drop owner assignment from platform_drivers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wolfram Sang committed Oct 20, 2014
1 parent 30f51f2 commit c6ec883
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion drivers/cpuidle/cpuidle-at91.c
Expand Up @@ -61,7 +61,6 @@ static int at91_cpuidle_probe(struct platform_device *dev)
static struct platform_driver at91_cpuidle_driver = {
.driver = {
.name = "cpuidle-at91",
.owner = THIS_MODULE,
},
.probe = at91_cpuidle_probe,
};
Expand Down
1 change: 0 additions & 1 deletion drivers/cpuidle/cpuidle-calxeda.c
Expand Up @@ -73,7 +73,6 @@ static int calxeda_cpuidle_probe(struct platform_device *pdev)
static struct platform_driver calxeda_cpuidle_plat_driver = {
.driver = {
.name = "cpuidle-calxeda",
.owner = THIS_MODULE,
},
.probe = calxeda_cpuidle_probe,
};
Expand Down
1 change: 0 additions & 1 deletion drivers/cpuidle/cpuidle-clps711x.c
Expand Up @@ -54,7 +54,6 @@ static int __init clps711x_cpuidle_probe(struct platform_device *pdev)
static struct platform_driver clps711x_cpuidle_driver = {
.driver = {
.name = CLPS711X_CPUIDLE_NAME,
.owner = THIS_MODULE,
},
};
module_platform_driver_probe(clps711x_cpuidle_driver, clps711x_cpuidle_probe);
Expand Down
1 change: 0 additions & 1 deletion drivers/cpuidle/cpuidle-exynos.c
Expand Up @@ -75,7 +75,6 @@ static struct platform_driver exynos_cpuidle_driver = {
.probe = exynos_cpuidle_probe,
.driver = {
.name = "exynos_cpuidle",
.owner = THIS_MODULE,
},
};

Expand Down
1 change: 0 additions & 1 deletion drivers/cpuidle/cpuidle-kirkwood.c
Expand Up @@ -78,7 +78,6 @@ static struct platform_driver kirkwood_cpuidle_driver = {
.remove = kirkwood_cpuidle_remove,
.driver = {
.name = "kirkwood_cpuidle",
.owner = THIS_MODULE,
},
};

Expand Down
3 changes: 0 additions & 3 deletions drivers/cpuidle/cpuidle-mvebu-v7.c
Expand Up @@ -118,7 +118,6 @@ static int mvebu_v7_cpuidle_probe(struct platform_device *pdev)
static struct platform_driver armadaxp_cpuidle_plat_driver = {
.driver = {
.name = "cpuidle-armada-xp",
.owner = THIS_MODULE,
},
.probe = mvebu_v7_cpuidle_probe,
};
Expand All @@ -128,7 +127,6 @@ module_platform_driver(armadaxp_cpuidle_plat_driver);
static struct platform_driver armada370_cpuidle_plat_driver = {
.driver = {
.name = "cpuidle-armada-370",
.owner = THIS_MODULE,
},
.probe = mvebu_v7_cpuidle_probe,
};
Expand All @@ -138,7 +136,6 @@ module_platform_driver(armada370_cpuidle_plat_driver);
static struct platform_driver armada38x_cpuidle_plat_driver = {
.driver = {
.name = "cpuidle-armada-38x",
.owner = THIS_MODULE,
},
.probe = mvebu_v7_cpuidle_probe,
};
Expand Down
1 change: 0 additions & 1 deletion drivers/cpuidle/cpuidle-ux500.c
Expand Up @@ -123,7 +123,6 @@ static int dbx500_cpuidle_probe(struct platform_device *pdev)
static struct platform_driver dbx500_cpuidle_plat_driver = {
.driver = {
.name = "cpuidle-dbx500",
.owner = THIS_MODULE,
},
.probe = dbx500_cpuidle_probe,
};
Expand Down
1 change: 0 additions & 1 deletion drivers/cpuidle/cpuidle-zynq.c
Expand Up @@ -72,7 +72,6 @@ static int zynq_cpuidle_probe(struct platform_device *pdev)
static struct platform_driver zynq_cpuidle_driver = {
.driver = {
.name = "cpuidle-zynq",
.owner = THIS_MODULE,
},
.probe = zynq_cpuidle_probe,
};
Expand Down

0 comments on commit c6ec883

Please sign in to comment.