diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:24 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:24 -0400 |
commit | 30f51f248c1d0987733353b64adae26b23165908 (patch) | |
tree | 840f2ad0084c4c8c2f0f82302b6bc1837f395397 /drivers/cpufreq | |
parent | e030f980b3ed2d9f3a3e37f3e6941494c7c0c471 (diff) |
cpufreq: 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/cpufreq')
-rw-r--r-- | drivers/cpufreq/arm_big_little_dt.c | 1 | ||||
-rw-r--r-- | drivers/cpufreq/cpufreq-dt.c | 1 | ||||
-rw-r--r-- | drivers/cpufreq/davinci-cpufreq.c | 1 | ||||
-rw-r--r-- | drivers/cpufreq/dbx500-cpufreq.c | 1 | ||||
-rw-r--r-- | drivers/cpufreq/exynos-cpufreq.c | 1 | ||||
-rw-r--r-- | drivers/cpufreq/exynos5440-cpufreq.c | 1 | ||||
-rw-r--r-- | drivers/cpufreq/imx6q-cpufreq.c | 1 | ||||
-rw-r--r-- | drivers/cpufreq/integrator-cpufreq.c | 1 | ||||
-rw-r--r-- | drivers/cpufreq/kirkwood-cpufreq.c | 1 | ||||
-rw-r--r-- | drivers/cpufreq/loongson2_cpufreq.c | 1 | ||||
-rw-r--r-- | drivers/cpufreq/omap-cpufreq.c | 1 | ||||
-rw-r--r-- | drivers/cpufreq/s5pv210-cpufreq.c | 1 | ||||
-rw-r--r-- | drivers/cpufreq/spear-cpufreq.c | 1 | ||||
-rw-r--r-- | drivers/cpufreq/vexpress-spc-cpufreq.c | 1 |
14 files changed, 0 insertions, 14 deletions
diff --git a/drivers/cpufreq/arm_big_little_dt.c b/drivers/cpufreq/arm_big_little_dt.c index 4550f6976768..efa8efae50d1 100644 --- a/drivers/cpufreq/arm_big_little_dt.c +++ b/drivers/cpufreq/arm_big_little_dt.c | |||
@@ -105,7 +105,6 @@ static int generic_bL_remove(struct platform_device *pdev) | |||
105 | static struct platform_driver generic_bL_platdrv = { | 105 | static struct platform_driver generic_bL_platdrv = { |
106 | .driver = { | 106 | .driver = { |
107 | .name = "arm-bL-cpufreq-dt", | 107 | .name = "arm-bL-cpufreq-dt", |
108 | .owner = THIS_MODULE, | ||
109 | }, | 108 | }, |
110 | .probe = generic_bL_probe, | 109 | .probe = generic_bL_probe, |
111 | .remove = generic_bL_remove, | 110 | .remove = generic_bL_remove, |
diff --git a/drivers/cpufreq/cpufreq-dt.c b/drivers/cpufreq/cpufreq-dt.c index 6bbb8b913446..941836731116 100644 --- a/drivers/cpufreq/cpufreq-dt.c +++ b/drivers/cpufreq/cpufreq-dt.c | |||
@@ -351,7 +351,6 @@ static int dt_cpufreq_remove(struct platform_device *pdev) | |||
351 | static struct platform_driver dt_cpufreq_platdrv = { | 351 | static struct platform_driver dt_cpufreq_platdrv = { |
352 | .driver = { | 352 | .driver = { |
353 | .name = "cpufreq-dt", | 353 | .name = "cpufreq-dt", |
354 | .owner = THIS_MODULE, | ||
355 | }, | 354 | }, |
356 | .probe = dt_cpufreq_probe, | 355 | .probe = dt_cpufreq_probe, |
357 | .remove = dt_cpufreq_remove, | 356 | .remove = dt_cpufreq_remove, |
diff --git a/drivers/cpufreq/davinci-cpufreq.c b/drivers/cpufreq/davinci-cpufreq.c index 28a16dc6e02e..7e336d20c184 100644 --- a/drivers/cpufreq/davinci-cpufreq.c +++ b/drivers/cpufreq/davinci-cpufreq.c | |||
@@ -169,7 +169,6 @@ static int __exit davinci_cpufreq_remove(struct platform_device *pdev) | |||
169 | static struct platform_driver davinci_cpufreq_driver = { | 169 | static struct platform_driver davinci_cpufreq_driver = { |
170 | .driver = { | 170 | .driver = { |
171 | .name = "cpufreq-davinci", | 171 | .name = "cpufreq-davinci", |
172 | .owner = THIS_MODULE, | ||
173 | }, | 172 | }, |
174 | .remove = __exit_p(davinci_cpufreq_remove), | 173 | .remove = __exit_p(davinci_cpufreq_remove), |
175 | }; | 174 | }; |
diff --git a/drivers/cpufreq/dbx500-cpufreq.c b/drivers/cpufreq/dbx500-cpufreq.c index 4bebc1b5db48..5c3ec1dd4921 100644 --- a/drivers/cpufreq/dbx500-cpufreq.c +++ b/drivers/cpufreq/dbx500-cpufreq.c | |||
@@ -69,7 +69,6 @@ static int dbx500_cpufreq_probe(struct platform_device *pdev) | |||
69 | static struct platform_driver dbx500_cpufreq_plat_driver = { | 69 | static struct platform_driver dbx500_cpufreq_plat_driver = { |
70 | .driver = { | 70 | .driver = { |
71 | .name = "cpufreq-ux500", | 71 | .name = "cpufreq-ux500", |
72 | .owner = THIS_MODULE, | ||
73 | }, | 72 | }, |
74 | .probe = dbx500_cpufreq_probe, | 73 | .probe = dbx500_cpufreq_probe, |
75 | }; | 74 | }; |
diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c index 1e0ec57bf6e3..f99a0b0b7c06 100644 --- a/drivers/cpufreq/exynos-cpufreq.c +++ b/drivers/cpufreq/exynos-cpufreq.c | |||
@@ -211,7 +211,6 @@ err_vdd_arm: | |||
211 | static struct platform_driver exynos_cpufreq_platdrv = { | 211 | static struct platform_driver exynos_cpufreq_platdrv = { |
212 | .driver = { | 212 | .driver = { |
213 | .name = "exynos-cpufreq", | 213 | .name = "exynos-cpufreq", |
214 | .owner = THIS_MODULE, | ||
215 | }, | 214 | }, |
216 | .probe = exynos_cpufreq_probe, | 215 | .probe = exynos_cpufreq_probe, |
217 | }; | 216 | }; |
diff --git a/drivers/cpufreq/exynos5440-cpufreq.c b/drivers/cpufreq/exynos5440-cpufreq.c index f33f25b483ca..3e7a03620f37 100644 --- a/drivers/cpufreq/exynos5440-cpufreq.c +++ b/drivers/cpufreq/exynos5440-cpufreq.c | |||
@@ -439,7 +439,6 @@ static int exynos_cpufreq_remove(struct platform_device *pdev) | |||
439 | static struct platform_driver exynos_cpufreq_platdrv = { | 439 | static struct platform_driver exynos_cpufreq_platdrv = { |
440 | .driver = { | 440 | .driver = { |
441 | .name = "exynos5440-cpufreq", | 441 | .name = "exynos5440-cpufreq", |
442 | .owner = THIS_MODULE, | ||
443 | .of_match_table = exynos_cpufreq_match, | 442 | .of_match_table = exynos_cpufreq_match, |
444 | }, | 443 | }, |
445 | .probe = exynos_cpufreq_probe, | 444 | .probe = exynos_cpufreq_probe, |
diff --git a/drivers/cpufreq/imx6q-cpufreq.c b/drivers/cpufreq/imx6q-cpufreq.c index c2d30765bf3d..b2d0bc137f34 100644 --- a/drivers/cpufreq/imx6q-cpufreq.c +++ b/drivers/cpufreq/imx6q-cpufreq.c | |||
@@ -348,7 +348,6 @@ static int imx6q_cpufreq_remove(struct platform_device *pdev) | |||
348 | static struct platform_driver imx6q_cpufreq_platdrv = { | 348 | static struct platform_driver imx6q_cpufreq_platdrv = { |
349 | .driver = { | 349 | .driver = { |
350 | .name = "imx6q-cpufreq", | 350 | .name = "imx6q-cpufreq", |
351 | .owner = THIS_MODULE, | ||
352 | }, | 351 | }, |
353 | .probe = imx6q_cpufreq_probe, | 352 | .probe = imx6q_cpufreq_probe, |
354 | .remove = imx6q_cpufreq_remove, | 353 | .remove = imx6q_cpufreq_remove, |
diff --git a/drivers/cpufreq/integrator-cpufreq.c b/drivers/cpufreq/integrator-cpufreq.c index 6bd69adc3c5e..129e266f7621 100644 --- a/drivers/cpufreq/integrator-cpufreq.c +++ b/drivers/cpufreq/integrator-cpufreq.c | |||
@@ -226,7 +226,6 @@ static const struct of_device_id integrator_cpufreq_match[] = { | |||
226 | static struct platform_driver integrator_cpufreq_driver = { | 226 | static struct platform_driver integrator_cpufreq_driver = { |
227 | .driver = { | 227 | .driver = { |
228 | .name = "integrator-cpufreq", | 228 | .name = "integrator-cpufreq", |
229 | .owner = THIS_MODULE, | ||
230 | .of_match_table = integrator_cpufreq_match, | 229 | .of_match_table = integrator_cpufreq_match, |
231 | }, | 230 | }, |
232 | .remove = __exit_p(integrator_cpufreq_remove), | 231 | .remove = __exit_p(integrator_cpufreq_remove), |
diff --git a/drivers/cpufreq/kirkwood-cpufreq.c b/drivers/cpufreq/kirkwood-cpufreq.c index 7906d4acfe40..be42f103db60 100644 --- a/drivers/cpufreq/kirkwood-cpufreq.c +++ b/drivers/cpufreq/kirkwood-cpufreq.c | |||
@@ -183,7 +183,6 @@ static struct platform_driver kirkwood_cpufreq_platform_driver = { | |||
183 | .remove = kirkwood_cpufreq_remove, | 183 | .remove = kirkwood_cpufreq_remove, |
184 | .driver = { | 184 | .driver = { |
185 | .name = "kirkwood-cpufreq", | 185 | .name = "kirkwood-cpufreq", |
186 | .owner = THIS_MODULE, | ||
187 | }, | 186 | }, |
188 | }; | 187 | }; |
189 | 188 | ||
diff --git a/drivers/cpufreq/loongson2_cpufreq.c b/drivers/cpufreq/loongson2_cpufreq.c index 9fa177206032..fc897babab55 100644 --- a/drivers/cpufreq/loongson2_cpufreq.c +++ b/drivers/cpufreq/loongson2_cpufreq.c | |||
@@ -130,7 +130,6 @@ MODULE_DEVICE_TABLE(platform, platform_device_ids); | |||
130 | static struct platform_driver platform_driver = { | 130 | static struct platform_driver platform_driver = { |
131 | .driver = { | 131 | .driver = { |
132 | .name = "loongson2_cpufreq", | 132 | .name = "loongson2_cpufreq", |
133 | .owner = THIS_MODULE, | ||
134 | }, | 133 | }, |
135 | .id_table = platform_device_ids, | 134 | .id_table = platform_device_ids, |
136 | }; | 135 | }; |
diff --git a/drivers/cpufreq/omap-cpufreq.c b/drivers/cpufreq/omap-cpufreq.c index 5f69c9aa703c..e3866e0d5bf8 100644 --- a/drivers/cpufreq/omap-cpufreq.c +++ b/drivers/cpufreq/omap-cpufreq.c | |||
@@ -195,7 +195,6 @@ static int omap_cpufreq_remove(struct platform_device *pdev) | |||
195 | static struct platform_driver omap_cpufreq_platdrv = { | 195 | static struct platform_driver omap_cpufreq_platdrv = { |
196 | .driver = { | 196 | .driver = { |
197 | .name = "omap-cpufreq", | 197 | .name = "omap-cpufreq", |
198 | .owner = THIS_MODULE, | ||
199 | }, | 198 | }, |
200 | .probe = omap_cpufreq_probe, | 199 | .probe = omap_cpufreq_probe, |
201 | .remove = omap_cpufreq_remove, | 200 | .remove = omap_cpufreq_remove, |
diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv210-cpufreq.c index 567caa6313ff..b0dac7d6ba31 100644 --- a/drivers/cpufreq/s5pv210-cpufreq.c +++ b/drivers/cpufreq/s5pv210-cpufreq.c | |||
@@ -656,7 +656,6 @@ static int s5pv210_cpufreq_probe(struct platform_device *pdev) | |||
656 | static struct platform_driver s5pv210_cpufreq_platdrv = { | 656 | static struct platform_driver s5pv210_cpufreq_platdrv = { |
657 | .driver = { | 657 | .driver = { |
658 | .name = "s5pv210-cpufreq", | 658 | .name = "s5pv210-cpufreq", |
659 | .owner = THIS_MODULE, | ||
660 | }, | 659 | }, |
661 | .probe = s5pv210_cpufreq_probe, | 660 | .probe = s5pv210_cpufreq_probe, |
662 | }; | 661 | }; |
diff --git a/drivers/cpufreq/spear-cpufreq.c b/drivers/cpufreq/spear-cpufreq.c index 38678396636d..4894924a3ca2 100644 --- a/drivers/cpufreq/spear-cpufreq.c +++ b/drivers/cpufreq/spear-cpufreq.c | |||
@@ -236,7 +236,6 @@ out_put_node: | |||
236 | static struct platform_driver spear_cpufreq_platdrv = { | 236 | static struct platform_driver spear_cpufreq_platdrv = { |
237 | .driver = { | 237 | .driver = { |
238 | .name = "spear-cpufreq", | 238 | .name = "spear-cpufreq", |
239 | .owner = THIS_MODULE, | ||
240 | }, | 239 | }, |
241 | .probe = spear_cpufreq_probe, | 240 | .probe = spear_cpufreq_probe, |
242 | }; | 241 | }; |
diff --git a/drivers/cpufreq/vexpress-spc-cpufreq.c b/drivers/cpufreq/vexpress-spc-cpufreq.c index 7f7c9c01b44e..433e93fd4900 100644 --- a/drivers/cpufreq/vexpress-spc-cpufreq.c +++ b/drivers/cpufreq/vexpress-spc-cpufreq.c | |||
@@ -60,7 +60,6 @@ static int ve_spc_cpufreq_remove(struct platform_device *pdev) | |||
60 | static struct platform_driver ve_spc_cpufreq_platdrv = { | 60 | static struct platform_driver ve_spc_cpufreq_platdrv = { |
61 | .driver = { | 61 | .driver = { |
62 | .name = "vexpress-spc-cpufreq", | 62 | .name = "vexpress-spc-cpufreq", |
63 | .owner = THIS_MODULE, | ||
64 | }, | 63 | }, |
65 | .probe = ve_spc_cpufreq_probe, | 64 | .probe = ve_spc_cpufreq_probe, |
66 | .remove = ve_spc_cpufreq_remove, | 65 | .remove = ve_spc_cpufreq_remove, |