aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:24 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:24 -0400
commitc6ec883212a9f7a341c16dc141e41c40b2b2c238 (patch)
tree37af9f86a65d913cf69af61f49db2c17ad5a9ae4 /drivers/cpuidle
parent30f51f248c1d0987733353b64adae26b23165908 (diff)
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: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/cpuidle')
-rw-r--r--drivers/cpuidle/cpuidle-at91.c1
-rw-r--r--drivers/cpuidle/cpuidle-calxeda.c1
-rw-r--r--drivers/cpuidle/cpuidle-clps711x.c1
-rw-r--r--drivers/cpuidle/cpuidle-exynos.c1
-rw-r--r--drivers/cpuidle/cpuidle-kirkwood.c1
-rw-r--r--drivers/cpuidle/cpuidle-mvebu-v7.c3
-rw-r--r--drivers/cpuidle/cpuidle-ux500.c1
-rw-r--r--drivers/cpuidle/cpuidle-zynq.c1
8 files changed, 0 insertions, 10 deletions
diff --git a/drivers/cpuidle/cpuidle-at91.c b/drivers/cpuidle/cpuidle-at91.c
index a0774370c6bc..f63a7d41f4f3 100644
--- a/drivers/cpuidle/cpuidle-at91.c
+++ b/drivers/cpuidle/cpuidle-at91.c
@@ -61,7 +61,6 @@ static int at91_cpuidle_probe(struct platform_device *dev)
61static struct platform_driver at91_cpuidle_driver = { 61static struct platform_driver at91_cpuidle_driver = {
62 .driver = { 62 .driver = {
63 .name = "cpuidle-at91", 63 .name = "cpuidle-at91",
64 .owner = THIS_MODULE,
65 }, 64 },
66 .probe = at91_cpuidle_probe, 65 .probe = at91_cpuidle_probe,
67}; 66};
diff --git a/drivers/cpuidle/cpuidle-calxeda.c b/drivers/cpuidle/cpuidle-calxeda.c
index 6e51114057d0..11b0466e4a97 100644
--- a/drivers/cpuidle/cpuidle-calxeda.c
+++ b/drivers/cpuidle/cpuidle-calxeda.c
@@ -73,7 +73,6 @@ static int calxeda_cpuidle_probe(struct platform_device *pdev)
73static struct platform_driver calxeda_cpuidle_plat_driver = { 73static struct platform_driver calxeda_cpuidle_plat_driver = {
74 .driver = { 74 .driver = {
75 .name = "cpuidle-calxeda", 75 .name = "cpuidle-calxeda",
76 .owner = THIS_MODULE,
77 }, 76 },
78 .probe = calxeda_cpuidle_probe, 77 .probe = calxeda_cpuidle_probe,
79}; 78};
diff --git a/drivers/cpuidle/cpuidle-clps711x.c b/drivers/cpuidle/cpuidle-clps711x.c
index 5243811daa6e..18a7f7380508 100644
--- a/drivers/cpuidle/cpuidle-clps711x.c
+++ b/drivers/cpuidle/cpuidle-clps711x.c
@@ -54,7 +54,6 @@ static int __init clps711x_cpuidle_probe(struct platform_device *pdev)
54static struct platform_driver clps711x_cpuidle_driver = { 54static struct platform_driver clps711x_cpuidle_driver = {
55 .driver = { 55 .driver = {
56 .name = CLPS711X_CPUIDLE_NAME, 56 .name = CLPS711X_CPUIDLE_NAME,
57 .owner = THIS_MODULE,
58 }, 57 },
59}; 58};
60module_platform_driver_probe(clps711x_cpuidle_driver, clps711x_cpuidle_probe); 59module_platform_driver_probe(clps711x_cpuidle_driver, clps711x_cpuidle_probe);
diff --git a/drivers/cpuidle/cpuidle-exynos.c b/drivers/cpuidle/cpuidle-exynos.c
index ba9b34b579f3..1b64cc97a6a8 100644
--- a/drivers/cpuidle/cpuidle-exynos.c
+++ b/drivers/cpuidle/cpuidle-exynos.c
@@ -75,7 +75,6 @@ static struct platform_driver exynos_cpuidle_driver = {
75 .probe = exynos_cpuidle_probe, 75 .probe = exynos_cpuidle_probe,
76 .driver = { 76 .driver = {
77 .name = "exynos_cpuidle", 77 .name = "exynos_cpuidle",
78 .owner = THIS_MODULE,
79 }, 78 },
80}; 79};
81 80
diff --git a/drivers/cpuidle/cpuidle-kirkwood.c b/drivers/cpuidle/cpuidle-kirkwood.c
index 41ba843251b8..10984b4be6df 100644
--- a/drivers/cpuidle/cpuidle-kirkwood.c
+++ b/drivers/cpuidle/cpuidle-kirkwood.c
@@ -78,7 +78,6 @@ static struct platform_driver kirkwood_cpuidle_driver = {
78 .remove = kirkwood_cpuidle_remove, 78 .remove = kirkwood_cpuidle_remove,
79 .driver = { 79 .driver = {
80 .name = "kirkwood_cpuidle", 80 .name = "kirkwood_cpuidle",
81 .owner = THIS_MODULE,
82 }, 81 },
83}; 82};
84 83
diff --git a/drivers/cpuidle/cpuidle-mvebu-v7.c b/drivers/cpuidle/cpuidle-mvebu-v7.c
index 45371bb16214..58fa4e9d7049 100644
--- a/drivers/cpuidle/cpuidle-mvebu-v7.c
+++ b/drivers/cpuidle/cpuidle-mvebu-v7.c
@@ -118,7 +118,6 @@ static int mvebu_v7_cpuidle_probe(struct platform_device *pdev)
118static struct platform_driver armadaxp_cpuidle_plat_driver = { 118static struct platform_driver armadaxp_cpuidle_plat_driver = {
119 .driver = { 119 .driver = {
120 .name = "cpuidle-armada-xp", 120 .name = "cpuidle-armada-xp",
121 .owner = THIS_MODULE,
122 }, 121 },
123 .probe = mvebu_v7_cpuidle_probe, 122 .probe = mvebu_v7_cpuidle_probe,
124}; 123};
@@ -128,7 +127,6 @@ module_platform_driver(armadaxp_cpuidle_plat_driver);
128static struct platform_driver armada370_cpuidle_plat_driver = { 127static struct platform_driver armada370_cpuidle_plat_driver = {
129 .driver = { 128 .driver = {
130 .name = "cpuidle-armada-370", 129 .name = "cpuidle-armada-370",
131 .owner = THIS_MODULE,
132 }, 130 },
133 .probe = mvebu_v7_cpuidle_probe, 131 .probe = mvebu_v7_cpuidle_probe,
134}; 132};
@@ -138,7 +136,6 @@ module_platform_driver(armada370_cpuidle_plat_driver);
138static struct platform_driver armada38x_cpuidle_plat_driver = { 136static struct platform_driver armada38x_cpuidle_plat_driver = {
139 .driver = { 137 .driver = {
140 .name = "cpuidle-armada-38x", 138 .name = "cpuidle-armada-38x",
141 .owner = THIS_MODULE,
142 }, 139 },
143 .probe = mvebu_v7_cpuidle_probe, 140 .probe = mvebu_v7_cpuidle_probe,
144}; 141};
diff --git a/drivers/cpuidle/cpuidle-ux500.c b/drivers/cpuidle/cpuidle-ux500.c
index 5e35804b1a95..56fb729dac64 100644
--- a/drivers/cpuidle/cpuidle-ux500.c
+++ b/drivers/cpuidle/cpuidle-ux500.c
@@ -123,7 +123,6 @@ static int dbx500_cpuidle_probe(struct platform_device *pdev)
123static struct platform_driver dbx500_cpuidle_plat_driver = { 123static struct platform_driver dbx500_cpuidle_plat_driver = {
124 .driver = { 124 .driver = {
125 .name = "cpuidle-dbx500", 125 .name = "cpuidle-dbx500",
126 .owner = THIS_MODULE,
127 }, 126 },
128 .probe = dbx500_cpuidle_probe, 127 .probe = dbx500_cpuidle_probe,
129}; 128};
diff --git a/drivers/cpuidle/cpuidle-zynq.c b/drivers/cpuidle/cpuidle-zynq.c
index c61b8b2a7c77..8396a57790a5 100644
--- a/drivers/cpuidle/cpuidle-zynq.c
+++ b/drivers/cpuidle/cpuidle-zynq.c
@@ -72,7 +72,6 @@ static int zynq_cpuidle_probe(struct platform_device *pdev)
72static struct platform_driver zynq_cpuidle_driver = { 72static struct platform_driver zynq_cpuidle_driver = {
73 .driver = { 73 .driver = {
74 .name = "cpuidle-zynq", 74 .name = "cpuidle-zynq",
75 .owner = THIS_MODULE,
76 }, 75 },
77 .probe = zynq_cpuidle_probe, 76 .probe = zynq_cpuidle_probe,
78}; 77};