diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:28 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:28 -0400 |
commit | f05fae14a10ca0c07f176e680ef9ff9d348e7153 (patch) | |
tree | a0cf3ea3431ce3bcdbbcf0d20f4c9cee408b9f09 | |
parent | da2612af00d8216ba365866f9d52f04ea2ad7773 (diff) |
pwm: 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/pwm/pwm-ab8500.c | 1 | ||||
-rw-r--r-- | drivers/pwm/pwm-atmel-tcb.c | 1 | ||||
-rw-r--r-- | drivers/pwm/pwm-bfin.c | 1 | ||||
-rw-r--r-- | drivers/pwm/pwm-clps711x.c | 1 | ||||
-rw-r--r-- | drivers/pwm/pwm-imx.c | 1 | ||||
-rw-r--r-- | drivers/pwm/pwm-jz4740.c | 1 | ||||
-rw-r--r-- | drivers/pwm/pwm-lp3943.c | 1 | ||||
-rw-r--r-- | drivers/pwm/pwm-lpc32xx.c | 1 | ||||
-rw-r--r-- | drivers/pwm/pwm-mxs.c | 1 | ||||
-rw-r--r-- | drivers/pwm/pwm-puv3.c | 1 | ||||
-rw-r--r-- | drivers/pwm/pwm-pxa.c | 1 | ||||
-rw-r--r-- | drivers/pwm/pwm-renesas-tpu.c | 1 | ||||
-rw-r--r-- | drivers/pwm/pwm-samsung.c | 1 | ||||
-rw-r--r-- | drivers/pwm/pwm-spear.c | 1 | ||||
-rw-r--r-- | drivers/pwm/pwm-tegra.c | 1 | ||||
-rw-r--r-- | drivers/pwm/pwm-tiecap.c | 1 | ||||
-rw-r--r-- | drivers/pwm/pwm-tiehrpwm.c | 1 | ||||
-rw-r--r-- | drivers/pwm/pwm-tipwmss.c | 1 | ||||
-rw-r--r-- | drivers/pwm/pwm-vt8500.c | 1 |
19 files changed, 0 insertions, 19 deletions
diff --git a/drivers/pwm/pwm-ab8500.c b/drivers/pwm/pwm-ab8500.c index 4c07a8420b37..f39399273426 100644 --- a/drivers/pwm/pwm-ab8500.c +++ b/drivers/pwm/pwm-ab8500.c | |||
@@ -131,7 +131,6 @@ static int ab8500_pwm_remove(struct platform_device *pdev) | |||
131 | static struct platform_driver ab8500_pwm_driver = { | 131 | static struct platform_driver ab8500_pwm_driver = { |
132 | .driver = { | 132 | .driver = { |
133 | .name = "ab8500-pwm", | 133 | .name = "ab8500-pwm", |
134 | .owner = THIS_MODULE, | ||
135 | }, | 134 | }, |
136 | .probe = ab8500_pwm_probe, | 135 | .probe = ab8500_pwm_probe, |
137 | .remove = ab8500_pwm_remove, | 136 | .remove = ab8500_pwm_remove, |
diff --git a/drivers/pwm/pwm-atmel-tcb.c b/drivers/pwm/pwm-atmel-tcb.c index d56e5b717431..d14e0677c92d 100644 --- a/drivers/pwm/pwm-atmel-tcb.c +++ b/drivers/pwm/pwm-atmel-tcb.c | |||
@@ -436,7 +436,6 @@ MODULE_DEVICE_TABLE(of, atmel_tcb_pwm_dt_ids); | |||
436 | static struct platform_driver atmel_tcb_pwm_driver = { | 436 | static struct platform_driver atmel_tcb_pwm_driver = { |
437 | .driver = { | 437 | .driver = { |
438 | .name = "atmel-tcb-pwm", | 438 | .name = "atmel-tcb-pwm", |
439 | .owner = THIS_MODULE, | ||
440 | .of_match_table = atmel_tcb_pwm_dt_ids, | 439 | .of_match_table = atmel_tcb_pwm_dt_ids, |
441 | }, | 440 | }, |
442 | .probe = atmel_tcb_pwm_probe, | 441 | .probe = atmel_tcb_pwm_probe, |
diff --git a/drivers/pwm/pwm-bfin.c b/drivers/pwm/pwm-bfin.c index 9985d830e554..7631ef194de7 100644 --- a/drivers/pwm/pwm-bfin.c +++ b/drivers/pwm/pwm-bfin.c | |||
@@ -149,7 +149,6 @@ static int bfin_pwm_remove(struct platform_device *pdev) | |||
149 | static struct platform_driver bfin_pwm_driver = { | 149 | static struct platform_driver bfin_pwm_driver = { |
150 | .driver = { | 150 | .driver = { |
151 | .name = "bfin-pwm", | 151 | .name = "bfin-pwm", |
152 | .owner = THIS_MODULE, | ||
153 | }, | 152 | }, |
154 | .probe = bfin_pwm_probe, | 153 | .probe = bfin_pwm_probe, |
155 | .remove = bfin_pwm_remove, | 154 | .remove = bfin_pwm_remove, |
diff --git a/drivers/pwm/pwm-clps711x.c b/drivers/pwm/pwm-clps711x.c index fafb6a0111b0..a80c10803636 100644 --- a/drivers/pwm/pwm-clps711x.c +++ b/drivers/pwm/pwm-clps711x.c | |||
@@ -163,7 +163,6 @@ MODULE_DEVICE_TABLE(of, clps711x_pwm_dt_ids); | |||
163 | static struct platform_driver clps711x_pwm_driver = { | 163 | static struct platform_driver clps711x_pwm_driver = { |
164 | .driver = { | 164 | .driver = { |
165 | .name = "clps711x-pwm", | 165 | .name = "clps711x-pwm", |
166 | .owner = THIS_MODULE, | ||
167 | .of_match_table = of_match_ptr(clps711x_pwm_dt_ids), | 166 | .of_match_table = of_match_ptr(clps711x_pwm_dt_ids), |
168 | }, | 167 | }, |
169 | .probe = clps711x_pwm_probe, | 168 | .probe = clps711x_pwm_probe, |
diff --git a/drivers/pwm/pwm-imx.c b/drivers/pwm/pwm-imx.c index 5449d9150d40..11af7b4403f8 100644 --- a/drivers/pwm/pwm-imx.c +++ b/drivers/pwm/pwm-imx.c | |||
@@ -295,7 +295,6 @@ static int imx_pwm_remove(struct platform_device *pdev) | |||
295 | static struct platform_driver imx_pwm_driver = { | 295 | static struct platform_driver imx_pwm_driver = { |
296 | .driver = { | 296 | .driver = { |
297 | .name = "imx-pwm", | 297 | .name = "imx-pwm", |
298 | .owner = THIS_MODULE, | ||
299 | .of_match_table = imx_pwm_dt_ids, | 298 | .of_match_table = imx_pwm_dt_ids, |
300 | }, | 299 | }, |
301 | .probe = imx_pwm_probe, | 300 | .probe = imx_pwm_probe, |
diff --git a/drivers/pwm/pwm-jz4740.c b/drivers/pwm/pwm-jz4740.c index 9c46209e1d02..76d13150283f 100644 --- a/drivers/pwm/pwm-jz4740.c +++ b/drivers/pwm/pwm-jz4740.c | |||
@@ -194,7 +194,6 @@ static int jz4740_pwm_remove(struct platform_device *pdev) | |||
194 | static struct platform_driver jz4740_pwm_driver = { | 194 | static struct platform_driver jz4740_pwm_driver = { |
195 | .driver = { | 195 | .driver = { |
196 | .name = "jz4740-pwm", | 196 | .name = "jz4740-pwm", |
197 | .owner = THIS_MODULE, | ||
198 | }, | 197 | }, |
199 | .probe = jz4740_pwm_probe, | 198 | .probe = jz4740_pwm_probe, |
200 | .remove = jz4740_pwm_remove, | 199 | .remove = jz4740_pwm_remove, |
diff --git a/drivers/pwm/pwm-lp3943.c b/drivers/pwm/pwm-lp3943.c index 2c39b0e50fa4..872ea76a4f19 100644 --- a/drivers/pwm/pwm-lp3943.c +++ b/drivers/pwm/pwm-lp3943.c | |||
@@ -305,7 +305,6 @@ static struct platform_driver lp3943_pwm_driver = { | |||
305 | .remove = lp3943_pwm_remove, | 305 | .remove = lp3943_pwm_remove, |
306 | .driver = { | 306 | .driver = { |
307 | .name = "lp3943-pwm", | 307 | .name = "lp3943-pwm", |
308 | .owner = THIS_MODULE, | ||
309 | .of_match_table = of_match_ptr(lp3943_pwm_of_match), | 308 | .of_match_table = of_match_ptr(lp3943_pwm_of_match), |
310 | }, | 309 | }, |
311 | }; | 310 | }; |
diff --git a/drivers/pwm/pwm-lpc32xx.c b/drivers/pwm/pwm-lpc32xx.c index 9dc0f9d42bfa..9fde60ce8e7b 100644 --- a/drivers/pwm/pwm-lpc32xx.c +++ b/drivers/pwm/pwm-lpc32xx.c | |||
@@ -168,7 +168,6 @@ MODULE_DEVICE_TABLE(of, lpc32xx_pwm_dt_ids); | |||
168 | static struct platform_driver lpc32xx_pwm_driver = { | 168 | static struct platform_driver lpc32xx_pwm_driver = { |
169 | .driver = { | 169 | .driver = { |
170 | .name = "lpc32xx-pwm", | 170 | .name = "lpc32xx-pwm", |
171 | .owner = THIS_MODULE, | ||
172 | .of_match_table = lpc32xx_pwm_dt_ids, | 171 | .of_match_table = lpc32xx_pwm_dt_ids, |
173 | }, | 172 | }, |
174 | .probe = lpc32xx_pwm_probe, | 173 | .probe = lpc32xx_pwm_probe, |
diff --git a/drivers/pwm/pwm-mxs.c b/drivers/pwm/pwm-mxs.c index 4f1bb4e0a426..f75ecb09d97d 100644 --- a/drivers/pwm/pwm-mxs.c +++ b/drivers/pwm/pwm-mxs.c | |||
@@ -189,7 +189,6 @@ MODULE_DEVICE_TABLE(of, mxs_pwm_dt_ids); | |||
189 | static struct platform_driver mxs_pwm_driver = { | 189 | static struct platform_driver mxs_pwm_driver = { |
190 | .driver = { | 190 | .driver = { |
191 | .name = "mxs-pwm", | 191 | .name = "mxs-pwm", |
192 | .owner = THIS_MODULE, | ||
193 | .of_match_table = mxs_pwm_dt_ids, | 192 | .of_match_table = mxs_pwm_dt_ids, |
194 | }, | 193 | }, |
195 | .probe = mxs_pwm_probe, | 194 | .probe = mxs_pwm_probe, |
diff --git a/drivers/pwm/pwm-puv3.c b/drivers/pwm/pwm-puv3.c index a9a28083f245..ed6007b27585 100644 --- a/drivers/pwm/pwm-puv3.c +++ b/drivers/pwm/pwm-puv3.c | |||
@@ -146,7 +146,6 @@ static int pwm_remove(struct platform_device *pdev) | |||
146 | static struct platform_driver puv3_pwm_driver = { | 146 | static struct platform_driver puv3_pwm_driver = { |
147 | .driver = { | 147 | .driver = { |
148 | .name = "PKUnity-v3-PWM", | 148 | .name = "PKUnity-v3-PWM", |
149 | .owner = THIS_MODULE, | ||
150 | }, | 149 | }, |
151 | .probe = pwm_probe, | 150 | .probe = pwm_probe, |
152 | .remove = pwm_remove, | 151 | .remove = pwm_remove, |
diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c index 0b312ec420b6..cb2f7024cf68 100644 --- a/drivers/pwm/pwm-pxa.c +++ b/drivers/pwm/pwm-pxa.c | |||
@@ -225,7 +225,6 @@ static int pwm_remove(struct platform_device *pdev) | |||
225 | static struct platform_driver pwm_driver = { | 225 | static struct platform_driver pwm_driver = { |
226 | .driver = { | 226 | .driver = { |
227 | .name = "pxa25x-pwm", | 227 | .name = "pxa25x-pwm", |
228 | .owner = THIS_MODULE, | ||
229 | .of_match_table = pwm_of_match, | 228 | .of_match_table = pwm_of_match, |
230 | }, | 229 | }, |
231 | .probe = pwm_probe, | 230 | .probe = pwm_probe, |
diff --git a/drivers/pwm/pwm-renesas-tpu.c b/drivers/pwm/pwm-renesas-tpu.c index 3b71b42e89d5..ee63f9e9d0fb 100644 --- a/drivers/pwm/pwm-renesas-tpu.c +++ b/drivers/pwm/pwm-renesas-tpu.c | |||
@@ -468,7 +468,6 @@ static struct platform_driver tpu_driver = { | |||
468 | .remove = tpu_remove, | 468 | .remove = tpu_remove, |
469 | .driver = { | 469 | .driver = { |
470 | .name = "renesas-tpu-pwm", | 470 | .name = "renesas-tpu-pwm", |
471 | .owner = THIS_MODULE, | ||
472 | .of_match_table = of_match_ptr(tpu_of_table), | 471 | .of_match_table = of_match_ptr(tpu_of_table), |
473 | } | 472 | } |
474 | }; | 473 | }; |
diff --git a/drivers/pwm/pwm-samsung.c b/drivers/pwm/pwm-samsung.c index ba6b650cf8dc..3e9b5835a4af 100644 --- a/drivers/pwm/pwm-samsung.c +++ b/drivers/pwm/pwm-samsung.c | |||
@@ -601,7 +601,6 @@ static SIMPLE_DEV_PM_OPS(pwm_samsung_pm_ops, pwm_samsung_suspend, | |||
601 | static struct platform_driver pwm_samsung_driver = { | 601 | static struct platform_driver pwm_samsung_driver = { |
602 | .driver = { | 602 | .driver = { |
603 | .name = "samsung-pwm", | 603 | .name = "samsung-pwm", |
604 | .owner = THIS_MODULE, | ||
605 | .pm = &pwm_samsung_pm_ops, | 604 | .pm = &pwm_samsung_pm_ops, |
606 | .of_match_table = of_match_ptr(samsung_pwm_matches), | 605 | .of_match_table = of_match_ptr(samsung_pwm_matches), |
607 | }, | 606 | }, |
diff --git a/drivers/pwm/pwm-spear.c b/drivers/pwm/pwm-spear.c index 6fd93e6a4122..6c6b44fd3f43 100644 --- a/drivers/pwm/pwm-spear.c +++ b/drivers/pwm/pwm-spear.c | |||
@@ -252,7 +252,6 @@ MODULE_DEVICE_TABLE(of, spear_pwm_of_match); | |||
252 | static struct platform_driver spear_pwm_driver = { | 252 | static struct platform_driver spear_pwm_driver = { |
253 | .driver = { | 253 | .driver = { |
254 | .name = "spear-pwm", | 254 | .name = "spear-pwm", |
255 | .owner = THIS_MODULE, | ||
256 | .of_match_table = spear_pwm_of_match, | 255 | .of_match_table = spear_pwm_of_match, |
257 | }, | 256 | }, |
258 | .probe = spear_pwm_probe, | 257 | .probe = spear_pwm_probe, |
diff --git a/drivers/pwm/pwm-tegra.c b/drivers/pwm/pwm-tegra.c index 61d86b9498ca..5b97cae5423a 100644 --- a/drivers/pwm/pwm-tegra.c +++ b/drivers/pwm/pwm-tegra.c | |||
@@ -237,7 +237,6 @@ MODULE_DEVICE_TABLE(of, tegra_pwm_of_match); | |||
237 | static struct platform_driver tegra_pwm_driver = { | 237 | static struct platform_driver tegra_pwm_driver = { |
238 | .driver = { | 238 | .driver = { |
239 | .name = "tegra-pwm", | 239 | .name = "tegra-pwm", |
240 | .owner = THIS_MODULE, | ||
241 | .of_match_table = tegra_pwm_of_match, | 240 | .of_match_table = tegra_pwm_of_match, |
242 | }, | 241 | }, |
243 | .probe = tegra_pwm_probe, | 242 | .probe = tegra_pwm_probe, |
diff --git a/drivers/pwm/pwm-tiecap.c b/drivers/pwm/pwm-tiecap.c index 74efbe7f20c3..e557befdf4e6 100644 --- a/drivers/pwm/pwm-tiecap.c +++ b/drivers/pwm/pwm-tiecap.c | |||
@@ -331,7 +331,6 @@ static SIMPLE_DEV_PM_OPS(ecap_pwm_pm_ops, ecap_pwm_suspend, ecap_pwm_resume); | |||
331 | static struct platform_driver ecap_pwm_driver = { | 331 | static struct platform_driver ecap_pwm_driver = { |
332 | .driver = { | 332 | .driver = { |
333 | .name = "ecap", | 333 | .name = "ecap", |
334 | .owner = THIS_MODULE, | ||
335 | .of_match_table = ecap_of_match, | 334 | .of_match_table = ecap_of_match, |
336 | .pm = &ecap_pwm_pm_ops, | 335 | .pm = &ecap_pwm_pm_ops, |
337 | }, | 336 | }, |
diff --git a/drivers/pwm/pwm-tiehrpwm.c b/drivers/pwm/pwm-tiehrpwm.c index cb75133085a8..694b3cf7694b 100644 --- a/drivers/pwm/pwm-tiehrpwm.c +++ b/drivers/pwm/pwm-tiehrpwm.c | |||
@@ -599,7 +599,6 @@ static SIMPLE_DEV_PM_OPS(ehrpwm_pwm_pm_ops, ehrpwm_pwm_suspend, | |||
599 | static struct platform_driver ehrpwm_pwm_driver = { | 599 | static struct platform_driver ehrpwm_pwm_driver = { |
600 | .driver = { | 600 | .driver = { |
601 | .name = "ehrpwm", | 601 | .name = "ehrpwm", |
602 | .owner = THIS_MODULE, | ||
603 | .of_match_table = ehrpwm_of_match, | 602 | .of_match_table = ehrpwm_of_match, |
604 | .pm = &ehrpwm_pwm_pm_ops, | 603 | .pm = &ehrpwm_pwm_pm_ops, |
605 | }, | 604 | }, |
diff --git a/drivers/pwm/pwm-tipwmss.c b/drivers/pwm/pwm-tipwmss.c index 67481dc6da3f..5cf65a15d021 100644 --- a/drivers/pwm/pwm-tipwmss.c +++ b/drivers/pwm/pwm-tipwmss.c | |||
@@ -119,7 +119,6 @@ static SIMPLE_DEV_PM_OPS(pwmss_pm_ops, pwmss_suspend, pwmss_resume); | |||
119 | static struct platform_driver pwmss_driver = { | 119 | static struct platform_driver pwmss_driver = { |
120 | .driver = { | 120 | .driver = { |
121 | .name = "pwmss", | 121 | .name = "pwmss", |
122 | .owner = THIS_MODULE, | ||
123 | .pm = &pwmss_pm_ops, | 122 | .pm = &pwmss_pm_ops, |
124 | .of_match_table = pwmss_of_match, | 123 | .of_match_table = pwmss_of_match, |
125 | }, | 124 | }, |
diff --git a/drivers/pwm/pwm-vt8500.c b/drivers/pwm/pwm-vt8500.c index 652e6b5b859b..cdb58fd4619d 100644 --- a/drivers/pwm/pwm-vt8500.c +++ b/drivers/pwm/pwm-vt8500.c | |||
@@ -266,7 +266,6 @@ static struct platform_driver vt8500_pwm_driver = { | |||
266 | .remove = vt8500_pwm_remove, | 266 | .remove = vt8500_pwm_remove, |
267 | .driver = { | 267 | .driver = { |
268 | .name = "vt8500-pwm", | 268 | .name = "vt8500-pwm", |
269 | .owner = THIS_MODULE, | ||
270 | .of_match_table = vt8500_pwm_dt_ids, | 269 | .of_match_table = vt8500_pwm_dt_ids, |
271 | }, | 270 | }, |
272 | }; | 271 | }; |