Commit c6ec8832 authored by Wolfram Sang's avatar Wolfram Sang

cpuidle: 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: default avatarWolfram Sang <wsa@the-dreams.de>
parent 30f51f24
...@@ -61,7 +61,6 @@ static int at91_cpuidle_probe(struct platform_device *dev) ...@@ -61,7 +61,6 @@ static int at91_cpuidle_probe(struct platform_device *dev)
static struct platform_driver at91_cpuidle_driver = { static struct platform_driver at91_cpuidle_driver = {
.driver = { .driver = {
.name = "cpuidle-at91", .name = "cpuidle-at91",
.owner = THIS_MODULE,
}, },
.probe = at91_cpuidle_probe, .probe = at91_cpuidle_probe,
}; };
......
...@@ -73,7 +73,6 @@ static int calxeda_cpuidle_probe(struct platform_device *pdev) ...@@ -73,7 +73,6 @@ static int calxeda_cpuidle_probe(struct platform_device *pdev)
static struct platform_driver calxeda_cpuidle_plat_driver = { static struct platform_driver calxeda_cpuidle_plat_driver = {
.driver = { .driver = {
.name = "cpuidle-calxeda", .name = "cpuidle-calxeda",
.owner = THIS_MODULE,
}, },
.probe = calxeda_cpuidle_probe, .probe = calxeda_cpuidle_probe,
}; };
......
...@@ -54,7 +54,6 @@ static int __init clps711x_cpuidle_probe(struct platform_device *pdev) ...@@ -54,7 +54,6 @@ static int __init clps711x_cpuidle_probe(struct platform_device *pdev)
static struct platform_driver clps711x_cpuidle_driver = { static struct platform_driver clps711x_cpuidle_driver = {
.driver = { .driver = {
.name = CLPS711X_CPUIDLE_NAME, .name = CLPS711X_CPUIDLE_NAME,
.owner = THIS_MODULE,
}, },
}; };
module_platform_driver_probe(clps711x_cpuidle_driver, clps711x_cpuidle_probe); module_platform_driver_probe(clps711x_cpuidle_driver, clps711x_cpuidle_probe);
......
...@@ -75,7 +75,6 @@ static struct platform_driver exynos_cpuidle_driver = { ...@@ -75,7 +75,6 @@ static struct platform_driver exynos_cpuidle_driver = {
.probe = exynos_cpuidle_probe, .probe = exynos_cpuidle_probe,
.driver = { .driver = {
.name = "exynos_cpuidle", .name = "exynos_cpuidle",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -78,7 +78,6 @@ static struct platform_driver kirkwood_cpuidle_driver = { ...@@ -78,7 +78,6 @@ static struct platform_driver kirkwood_cpuidle_driver = {
.remove = kirkwood_cpuidle_remove, .remove = kirkwood_cpuidle_remove,
.driver = { .driver = {
.name = "kirkwood_cpuidle", .name = "kirkwood_cpuidle",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -118,7 +118,6 @@ static int mvebu_v7_cpuidle_probe(struct platform_device *pdev) ...@@ -118,7 +118,6 @@ static int mvebu_v7_cpuidle_probe(struct platform_device *pdev)
static struct platform_driver armadaxp_cpuidle_plat_driver = { static struct platform_driver armadaxp_cpuidle_plat_driver = {
.driver = { .driver = {
.name = "cpuidle-armada-xp", .name = "cpuidle-armada-xp",
.owner = THIS_MODULE,
}, },
.probe = mvebu_v7_cpuidle_probe, .probe = mvebu_v7_cpuidle_probe,
}; };
...@@ -128,7 +127,6 @@ module_platform_driver(armadaxp_cpuidle_plat_driver); ...@@ -128,7 +127,6 @@ module_platform_driver(armadaxp_cpuidle_plat_driver);
static struct platform_driver armada370_cpuidle_plat_driver = { static struct platform_driver armada370_cpuidle_plat_driver = {
.driver = { .driver = {
.name = "cpuidle-armada-370", .name = "cpuidle-armada-370",
.owner = THIS_MODULE,
}, },
.probe = mvebu_v7_cpuidle_probe, .probe = mvebu_v7_cpuidle_probe,
}; };
...@@ -138,7 +136,6 @@ module_platform_driver(armada370_cpuidle_plat_driver); ...@@ -138,7 +136,6 @@ module_platform_driver(armada370_cpuidle_plat_driver);
static struct platform_driver armada38x_cpuidle_plat_driver = { static struct platform_driver armada38x_cpuidle_plat_driver = {
.driver = { .driver = {
.name = "cpuidle-armada-38x", .name = "cpuidle-armada-38x",
.owner = THIS_MODULE,
}, },
.probe = mvebu_v7_cpuidle_probe, .probe = mvebu_v7_cpuidle_probe,
}; };
......
...@@ -123,7 +123,6 @@ static int dbx500_cpuidle_probe(struct platform_device *pdev) ...@@ -123,7 +123,6 @@ static int dbx500_cpuidle_probe(struct platform_device *pdev)
static struct platform_driver dbx500_cpuidle_plat_driver = { static struct platform_driver dbx500_cpuidle_plat_driver = {
.driver = { .driver = {
.name = "cpuidle-dbx500", .name = "cpuidle-dbx500",
.owner = THIS_MODULE,
}, },
.probe = dbx500_cpuidle_probe, .probe = dbx500_cpuidle_probe,
}; };
......
...@@ -72,7 +72,6 @@ static int zynq_cpuidle_probe(struct platform_device *pdev) ...@@ -72,7 +72,6 @@ static int zynq_cpuidle_probe(struct platform_device *pdev)
static struct platform_driver zynq_cpuidle_driver = { static struct platform_driver zynq_cpuidle_driver = {
.driver = { .driver = {
.name = "cpuidle-zynq", .name = "cpuidle-zynq",
.owner = THIS_MODULE,
}, },
.probe = zynq_cpuidle_probe, .probe = zynq_cpuidle_probe,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment