diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:31 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:31 -0400 |
commit | 4a3a950ee9cc76188f5be9088bc765889f7a61c5 (patch) | |
tree | 9b7e09ea510b50c67d659bdf0d9848db25519a2d /drivers | |
parent | e94d68450e2f45b8d227cc1987121d1460841a1e (diff) |
gpio: 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')
51 files changed, 0 insertions, 52 deletions
diff --git a/drivers/gpio/gpio-adp5520.c b/drivers/gpio/gpio-adp5520.c index b08bd169e568..caff711ca5a9 100644 --- a/drivers/gpio/gpio-adp5520.c +++ b/drivers/gpio/gpio-adp5520.c | |||
@@ -177,7 +177,6 @@ static int adp5520_gpio_remove(struct platform_device *pdev) | |||
177 | static struct platform_driver adp5520_gpio_driver = { | 177 | static struct platform_driver adp5520_gpio_driver = { |
178 | .driver = { | 178 | .driver = { |
179 | .name = "adp5520-gpio", | 179 | .name = "adp5520-gpio", |
180 | .owner = THIS_MODULE, | ||
181 | }, | 180 | }, |
182 | .probe = adp5520_gpio_probe, | 181 | .probe = adp5520_gpio_probe, |
183 | .remove = adp5520_gpio_remove, | 182 | .remove = adp5520_gpio_remove, |
diff --git a/drivers/gpio/gpio-bcm-kona.c b/drivers/gpio/gpio-bcm-kona.c index de0801e9767a..9fc05581cbd6 100644 --- a/drivers/gpio/gpio-bcm-kona.c +++ b/drivers/gpio/gpio-bcm-kona.c | |||
@@ -668,7 +668,6 @@ err_irq_domain: | |||
668 | static struct platform_driver bcm_kona_gpio_driver = { | 668 | static struct platform_driver bcm_kona_gpio_driver = { |
669 | .driver = { | 669 | .driver = { |
670 | .name = "bcm-kona-gpio", | 670 | .name = "bcm-kona-gpio", |
671 | .owner = THIS_MODULE, | ||
672 | .of_match_table = bcm_kona_gpio_of_match, | 671 | .of_match_table = bcm_kona_gpio_of_match, |
673 | }, | 672 | }, |
674 | .probe = bcm_kona_gpio_probe, | 673 | .probe = bcm_kona_gpio_probe, |
diff --git a/drivers/gpio/gpio-clps711x.c b/drivers/gpio/gpio-clps711x.c index e1e861239e95..b6908f1ff1ab 100644 --- a/drivers/gpio/gpio-clps711x.c +++ b/drivers/gpio/gpio-clps711x.c | |||
@@ -87,7 +87,6 @@ MODULE_DEVICE_TABLE(of, clps711x_gpio_ids); | |||
87 | static struct platform_driver clps711x_gpio_driver = { | 87 | static struct platform_driver clps711x_gpio_driver = { |
88 | .driver = { | 88 | .driver = { |
89 | .name = "clps711x-gpio", | 89 | .name = "clps711x-gpio", |
90 | .owner = THIS_MODULE, | ||
91 | .of_match_table = of_match_ptr(clps711x_gpio_ids), | 90 | .of_match_table = of_match_ptr(clps711x_gpio_ids), |
92 | }, | 91 | }, |
93 | .probe = clps711x_gpio_probe, | 92 | .probe = clps711x_gpio_probe, |
diff --git a/drivers/gpio/gpio-crystalcove.c b/drivers/gpio/gpio-crystalcove.c index bbfe7f508502..55d4803d71b0 100644 --- a/drivers/gpio/gpio-crystalcove.c +++ b/drivers/gpio/gpio-crystalcove.c | |||
@@ -379,7 +379,6 @@ static struct platform_driver crystalcove_gpio_driver = { | |||
379 | .remove = crystalcove_gpio_remove, | 379 | .remove = crystalcove_gpio_remove, |
380 | .driver = { | 380 | .driver = { |
381 | .name = "crystal_cove_gpio", | 381 | .name = "crystal_cove_gpio", |
382 | .owner = THIS_MODULE, | ||
383 | }, | 382 | }, |
384 | }; | 383 | }; |
385 | 384 | ||
diff --git a/drivers/gpio/gpio-cs5535.c b/drivers/gpio/gpio-cs5535.c index 668127fe90ef..feb4cecfcb01 100644 --- a/drivers/gpio/gpio-cs5535.c +++ b/drivers/gpio/gpio-cs5535.c | |||
@@ -372,7 +372,6 @@ static int cs5535_gpio_remove(struct platform_device *pdev) | |||
372 | static struct platform_driver cs5535_gpio_driver = { | 372 | static struct platform_driver cs5535_gpio_driver = { |
373 | .driver = { | 373 | .driver = { |
374 | .name = DRV_NAME, | 374 | .name = DRV_NAME, |
375 | .owner = THIS_MODULE, | ||
376 | }, | 375 | }, |
377 | .probe = cs5535_gpio_probe, | 376 | .probe = cs5535_gpio_probe, |
378 | .remove = cs5535_gpio_remove, | 377 | .remove = cs5535_gpio_remove, |
diff --git a/drivers/gpio/gpio-da9052.c b/drivers/gpio/gpio-da9052.c index c5bccd4dec96..389a4d2a4926 100644 --- a/drivers/gpio/gpio-da9052.c +++ b/drivers/gpio/gpio-da9052.c | |||
@@ -246,7 +246,6 @@ static struct platform_driver da9052_gpio_driver = { | |||
246 | .remove = da9052_gpio_remove, | 246 | .remove = da9052_gpio_remove, |
247 | .driver = { | 247 | .driver = { |
248 | .name = "da9052-gpio", | 248 | .name = "da9052-gpio", |
249 | .owner = THIS_MODULE, | ||
250 | }, | 249 | }, |
251 | }; | 250 | }; |
252 | 251 | ||
diff --git a/drivers/gpio/gpio-da9055.c b/drivers/gpio/gpio-da9055.c index 9167c4331081..b8d757036887 100644 --- a/drivers/gpio/gpio-da9055.c +++ b/drivers/gpio/gpio-da9055.c | |||
@@ -183,7 +183,6 @@ static struct platform_driver da9055_gpio_driver = { | |||
183 | .remove = da9055_gpio_remove, | 183 | .remove = da9055_gpio_remove, |
184 | .driver = { | 184 | .driver = { |
185 | .name = "da9055-gpio", | 185 | .name = "da9055-gpio", |
186 | .owner = THIS_MODULE, | ||
187 | }, | 186 | }, |
188 | }; | 187 | }; |
189 | 188 | ||
diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c index 9f0682534e2f..ab06a92faac6 100644 --- a/drivers/gpio/gpio-davinci.c +++ b/drivers/gpio/gpio-davinci.c | |||
@@ -619,7 +619,6 @@ static struct platform_driver davinci_gpio_driver = { | |||
619 | .probe = davinci_gpio_probe, | 619 | .probe = davinci_gpio_probe, |
620 | .driver = { | 620 | .driver = { |
621 | .name = "davinci_gpio", | 621 | .name = "davinci_gpio", |
622 | .owner = THIS_MODULE, | ||
623 | .of_match_table = of_match_ptr(davinci_gpio_ids), | 622 | .of_match_table = of_match_ptr(davinci_gpio_ids), |
624 | }, | 623 | }, |
625 | }; | 624 | }; |
diff --git a/drivers/gpio/gpio-dwapb.c b/drivers/gpio/gpio-dwapb.c index b43cd84b61f1..165cce593e64 100644 --- a/drivers/gpio/gpio-dwapb.c +++ b/drivers/gpio/gpio-dwapb.c | |||
@@ -703,7 +703,6 @@ static SIMPLE_DEV_PM_OPS(dwapb_gpio_pm_ops, dwapb_gpio_suspend, | |||
703 | static struct platform_driver dwapb_gpio_driver = { | 703 | static struct platform_driver dwapb_gpio_driver = { |
704 | .driver = { | 704 | .driver = { |
705 | .name = "gpio-dwapb", | 705 | .name = "gpio-dwapb", |
706 | .owner = THIS_MODULE, | ||
707 | .pm = &dwapb_gpio_pm_ops, | 706 | .pm = &dwapb_gpio_pm_ops, |
708 | .of_match_table = of_match_ptr(dwapb_of_match), | 707 | .of_match_table = of_match_ptr(dwapb_of_match), |
709 | }, | 708 | }, |
diff --git a/drivers/gpio/gpio-em.c b/drivers/gpio/gpio-em.c index fe49ec3cdb7d..0c6c4d138c3d 100644 --- a/drivers/gpio/gpio-em.c +++ b/drivers/gpio/gpio-em.c | |||
@@ -428,7 +428,6 @@ static struct platform_driver em_gio_device_driver = { | |||
428 | .driver = { | 428 | .driver = { |
429 | .name = "em_gio", | 429 | .name = "em_gio", |
430 | .of_match_table = em_gio_dt_ids, | 430 | .of_match_table = em_gio_dt_ids, |
431 | .owner = THIS_MODULE, | ||
432 | } | 431 | } |
433 | }; | 432 | }; |
434 | 433 | ||
diff --git a/drivers/gpio/gpio-ep93xx.c b/drivers/gpio/gpio-ep93xx.c index dcc2bb4074ef..45684f36ddb1 100644 --- a/drivers/gpio/gpio-ep93xx.c +++ b/drivers/gpio/gpio-ep93xx.c | |||
@@ -374,7 +374,6 @@ static int ep93xx_gpio_probe(struct platform_device *pdev) | |||
374 | static struct platform_driver ep93xx_gpio_driver = { | 374 | static struct platform_driver ep93xx_gpio_driver = { |
375 | .driver = { | 375 | .driver = { |
376 | .name = "gpio-ep93xx", | 376 | .name = "gpio-ep93xx", |
377 | .owner = THIS_MODULE, | ||
378 | }, | 377 | }, |
379 | .probe = ep93xx_gpio_probe, | 378 | .probe = ep93xx_gpio_probe, |
380 | }; | 379 | }; |
diff --git a/drivers/gpio/gpio-f7188x.c b/drivers/gpio/gpio-f7188x.c index fd3202f968ff..1be291ac6319 100644 --- a/drivers/gpio/gpio-f7188x.c +++ b/drivers/gpio/gpio-f7188x.c | |||
@@ -417,7 +417,6 @@ err: | |||
417 | 417 | ||
418 | static struct platform_driver f7188x_gpio_driver = { | 418 | static struct platform_driver f7188x_gpio_driver = { |
419 | .driver = { | 419 | .driver = { |
420 | .owner = THIS_MODULE, | ||
421 | .name = DRVNAME, | 420 | .name = DRVNAME, |
422 | }, | 421 | }, |
423 | .probe = f7188x_gpio_probe, | 422 | .probe = f7188x_gpio_probe, |
diff --git a/drivers/gpio/gpio-ge.c b/drivers/gpio/gpio-ge.c index 1237a73c3c91..aea5c2a53cc0 100644 --- a/drivers/gpio/gpio-ge.c +++ b/drivers/gpio/gpio-ge.c | |||
@@ -120,7 +120,6 @@ static int __init gef_gpio_probe(struct platform_device *pdev) | |||
120 | static struct platform_driver gef_gpio_driver = { | 120 | static struct platform_driver gef_gpio_driver = { |
121 | .driver = { | 121 | .driver = { |
122 | .name = "gef-gpio", | 122 | .name = "gef-gpio", |
123 | .owner = THIS_MODULE, | ||
124 | .of_match_table = gef_gpio_ids, | 123 | .of_match_table = gef_gpio_ids, |
125 | }, | 124 | }, |
126 | }; | 125 | }; |
diff --git a/drivers/gpio/gpio-grgpio.c b/drivers/gpio/gpio-grgpio.c index 66ad3df9d9cf..c1c017cdf6e4 100644 --- a/drivers/gpio/gpio-grgpio.c +++ b/drivers/gpio/gpio-grgpio.c | |||
@@ -490,7 +490,6 @@ MODULE_DEVICE_TABLE(of, grgpio_match); | |||
490 | static struct platform_driver grgpio_driver = { | 490 | static struct platform_driver grgpio_driver = { |
491 | .driver = { | 491 | .driver = { |
492 | .name = "grgpio", | 492 | .name = "grgpio", |
493 | .owner = THIS_MODULE, | ||
494 | .of_match_table = grgpio_match, | 493 | .of_match_table = grgpio_match, |
495 | }, | 494 | }, |
496 | .probe = grgpio_probe, | 495 | .probe = grgpio_probe, |
diff --git a/drivers/gpio/gpio-ich.c b/drivers/gpio/gpio-ich.c index 3784e81e7762..7818cd1453ae 100644 --- a/drivers/gpio/gpio-ich.c +++ b/drivers/gpio/gpio-ich.c | |||
@@ -526,7 +526,6 @@ static int ichx_gpio_remove(struct platform_device *pdev) | |||
526 | 526 | ||
527 | static struct platform_driver ichx_gpio_driver = { | 527 | static struct platform_driver ichx_gpio_driver = { |
528 | .driver = { | 528 | .driver = { |
529 | .owner = THIS_MODULE, | ||
530 | .name = DRV_NAME, | 529 | .name = DRV_NAME, |
531 | }, | 530 | }, |
532 | .probe = ichx_gpio_probe, | 531 | .probe = ichx_gpio_probe, |
diff --git a/drivers/gpio/gpio-iop.c b/drivers/gpio/gpio-iop.c index 0a5e9d3f308c..2ed0237a8baf 100644 --- a/drivers/gpio/gpio-iop.c +++ b/drivers/gpio/gpio-iop.c | |||
@@ -120,7 +120,6 @@ static int iop3xx_gpio_probe(struct platform_device *pdev) | |||
120 | static struct platform_driver iop3xx_gpio_driver = { | 120 | static struct platform_driver iop3xx_gpio_driver = { |
121 | .driver = { | 121 | .driver = { |
122 | .name = "gpio-iop", | 122 | .name = "gpio-iop", |
123 | .owner = THIS_MODULE, | ||
124 | }, | 123 | }, |
125 | .probe = iop3xx_gpio_probe, | 124 | .probe = iop3xx_gpio_probe, |
126 | }; | 125 | }; |
diff --git a/drivers/gpio/gpio-janz-ttl.c b/drivers/gpio/gpio-janz-ttl.c index 29ffe22ad97a..3a1664335f5e 100644 --- a/drivers/gpio/gpio-janz-ttl.c +++ b/drivers/gpio/gpio-janz-ttl.c | |||
@@ -203,7 +203,6 @@ static int ttl_remove(struct platform_device *pdev) | |||
203 | static struct platform_driver ttl_driver = { | 203 | static struct platform_driver ttl_driver = { |
204 | .driver = { | 204 | .driver = { |
205 | .name = DRV_NAME, | 205 | .name = DRV_NAME, |
206 | .owner = THIS_MODULE, | ||
207 | }, | 206 | }, |
208 | .probe = ttl_probe, | 207 | .probe = ttl_probe, |
209 | .remove = ttl_remove, | 208 | .remove = ttl_remove, |
diff --git a/drivers/gpio/gpio-kempld.c b/drivers/gpio/gpio-kempld.c index fd150adeebf9..443518f63f15 100644 --- a/drivers/gpio/gpio-kempld.c +++ b/drivers/gpio/gpio-kempld.c | |||
@@ -206,7 +206,6 @@ static int kempld_gpio_remove(struct platform_device *pdev) | |||
206 | static struct platform_driver kempld_gpio_driver = { | 206 | static struct platform_driver kempld_gpio_driver = { |
207 | .driver = { | 207 | .driver = { |
208 | .name = "kempld-gpio", | 208 | .name = "kempld-gpio", |
209 | .owner = THIS_MODULE, | ||
210 | }, | 209 | }, |
211 | .probe = kempld_gpio_probe, | 210 | .probe = kempld_gpio_probe, |
212 | .remove = kempld_gpio_remove, | 211 | .remove = kempld_gpio_remove, |
diff --git a/drivers/gpio/gpio-lp3943.c b/drivers/gpio/gpio-lp3943.c index 6bbdad805b78..cfc5b12b43ad 100644 --- a/drivers/gpio/gpio-lp3943.c +++ b/drivers/gpio/gpio-lp3943.c | |||
@@ -231,7 +231,6 @@ static struct platform_driver lp3943_gpio_driver = { | |||
231 | .remove = lp3943_gpio_remove, | 231 | .remove = lp3943_gpio_remove, |
232 | .driver = { | 232 | .driver = { |
233 | .name = "lp3943-gpio", | 233 | .name = "lp3943-gpio", |
234 | .owner = THIS_MODULE, | ||
235 | .of_match_table = lp3943_gpio_of_match, | 234 | .of_match_table = lp3943_gpio_of_match, |
236 | }, | 235 | }, |
237 | }; | 236 | }; |
diff --git a/drivers/gpio/gpio-lpc32xx.c b/drivers/gpio/gpio-lpc32xx.c index b9b9799b368b..47e2dde63734 100644 --- a/drivers/gpio/gpio-lpc32xx.c +++ b/drivers/gpio/gpio-lpc32xx.c | |||
@@ -569,7 +569,6 @@ static const struct of_device_id lpc32xx_gpio_of_match[] = { | |||
569 | static struct platform_driver lpc32xx_gpio_driver = { | 569 | static struct platform_driver lpc32xx_gpio_driver = { |
570 | .driver = { | 570 | .driver = { |
571 | .name = "lpc32xx-gpio", | 571 | .name = "lpc32xx-gpio", |
572 | .owner = THIS_MODULE, | ||
573 | .of_match_table = of_match_ptr(lpc32xx_gpio_of_match), | 572 | .of_match_table = of_match_ptr(lpc32xx_gpio_of_match), |
574 | }, | 573 | }, |
575 | .probe = lpc32xx_gpio_probe, | 574 | .probe = lpc32xx_gpio_probe, |
diff --git a/drivers/gpio/gpio-lynxpoint.c b/drivers/gpio/gpio-lynxpoint.c index fa945ec9ccff..127c755b38dc 100644 --- a/drivers/gpio/gpio-lynxpoint.c +++ b/drivers/gpio/gpio-lynxpoint.c | |||
@@ -450,7 +450,6 @@ static struct platform_driver lp_gpio_driver = { | |||
450 | .remove = lp_gpio_remove, | 450 | .remove = lp_gpio_remove, |
451 | .driver = { | 451 | .driver = { |
452 | .name = "lp_gpio", | 452 | .name = "lp_gpio", |
453 | .owner = THIS_MODULE, | ||
454 | .pm = &lp_gpio_pm_ops, | 453 | .pm = &lp_gpio_pm_ops, |
455 | .acpi_match_table = ACPI_PTR(lynxpoint_gpio_acpi_match), | 454 | .acpi_match_table = ACPI_PTR(lynxpoint_gpio_acpi_match), |
456 | }, | 455 | }, |
diff --git a/drivers/gpio/gpio-mm-lantiq.c b/drivers/gpio/gpio-mm-lantiq.c index 2983dfbd0668..f228b1ce0ce0 100644 --- a/drivers/gpio/gpio-mm-lantiq.c +++ b/drivers/gpio/gpio-mm-lantiq.c | |||
@@ -145,7 +145,6 @@ static struct platform_driver ltq_mm_driver = { | |||
145 | .probe = ltq_mm_probe, | 145 | .probe = ltq_mm_probe, |
146 | .driver = { | 146 | .driver = { |
147 | .name = "gpio-mm-ltq", | 147 | .name = "gpio-mm-ltq", |
148 | .owner = THIS_MODULE, | ||
149 | .of_match_table = ltq_mm_match, | 148 | .of_match_table = ltq_mm_match, |
150 | }, | 149 | }, |
151 | }; | 150 | }; |
diff --git a/drivers/gpio/gpio-moxart.c b/drivers/gpio/gpio-moxart.c index 4661e181be04..31e2551ed903 100644 --- a/drivers/gpio/gpio-moxart.c +++ b/drivers/gpio/gpio-moxart.c | |||
@@ -142,7 +142,6 @@ static const struct of_device_id moxart_gpio_match[] = { | |||
142 | static struct platform_driver moxart_gpio_driver = { | 142 | static struct platform_driver moxart_gpio_driver = { |
143 | .driver = { | 143 | .driver = { |
144 | .name = "moxart-gpio", | 144 | .name = "moxart-gpio", |
145 | .owner = THIS_MODULE, | ||
146 | .of_match_table = moxart_gpio_match, | 145 | .of_match_table = moxart_gpio_match, |
147 | }, | 146 | }, |
148 | .probe = moxart_gpio_probe, | 147 | .probe = moxart_gpio_probe, |
diff --git a/drivers/gpio/gpio-mpc5200.c b/drivers/gpio/gpio-mpc5200.c index 42647f26c9e0..8ce6c9510035 100644 --- a/drivers/gpio/gpio-mpc5200.c +++ b/drivers/gpio/gpio-mpc5200.c | |||
@@ -192,7 +192,6 @@ static const struct of_device_id mpc52xx_wkup_gpiochip_match[] = { | |||
192 | static struct platform_driver mpc52xx_wkup_gpiochip_driver = { | 192 | static struct platform_driver mpc52xx_wkup_gpiochip_driver = { |
193 | .driver = { | 193 | .driver = { |
194 | .name = "mpc5200-gpio-wkup", | 194 | .name = "mpc5200-gpio-wkup", |
195 | .owner = THIS_MODULE, | ||
196 | .of_match_table = mpc52xx_wkup_gpiochip_match, | 195 | .of_match_table = mpc52xx_wkup_gpiochip_match, |
197 | }, | 196 | }, |
198 | .probe = mpc52xx_wkup_gpiochip_probe, | 197 | .probe = mpc52xx_wkup_gpiochip_probe, |
@@ -347,7 +346,6 @@ static const struct of_device_id mpc52xx_simple_gpiochip_match[] = { | |||
347 | static struct platform_driver mpc52xx_simple_gpiochip_driver = { | 346 | static struct platform_driver mpc52xx_simple_gpiochip_driver = { |
348 | .driver = { | 347 | .driver = { |
349 | .name = "mpc5200-gpio", | 348 | .name = "mpc5200-gpio", |
350 | .owner = THIS_MODULE, | ||
351 | .of_match_table = mpc52xx_simple_gpiochip_match, | 349 | .of_match_table = mpc52xx_simple_gpiochip_match, |
352 | }, | 350 | }, |
353 | .probe = mpc52xx_simple_gpiochip_probe, | 351 | .probe = mpc52xx_simple_gpiochip_probe, |
diff --git a/drivers/gpio/gpio-msic.c b/drivers/gpio/gpio-msic.c index 8f70ded82a2b..01acf0a8cdb1 100644 --- a/drivers/gpio/gpio-msic.c +++ b/drivers/gpio/gpio-msic.c | |||
@@ -321,7 +321,6 @@ err: | |||
321 | static struct platform_driver platform_msic_gpio_driver = { | 321 | static struct platform_driver platform_msic_gpio_driver = { |
322 | .driver = { | 322 | .driver = { |
323 | .name = "msic_gpio", | 323 | .name = "msic_gpio", |
324 | .owner = THIS_MODULE, | ||
325 | }, | 324 | }, |
326 | .probe = platform_msic_gpio_probe, | 325 | .probe = platform_msic_gpio_probe, |
327 | }; | 326 | }; |
diff --git a/drivers/gpio/gpio-msm-v1.c b/drivers/gpio/gpio-msm-v1.c index 73b73969d361..09e895d018b7 100644 --- a/drivers/gpio/gpio-msm-v1.c +++ b/drivers/gpio/gpio-msm-v1.c | |||
@@ -701,7 +701,6 @@ MODULE_DEVICE_TABLE(platform, gpio_msm_v1_device_ids); | |||
701 | static struct platform_driver gpio_msm_v1_driver = { | 701 | static struct platform_driver gpio_msm_v1_driver = { |
702 | .driver = { | 702 | .driver = { |
703 | .name = "gpio-msm-v1", | 703 | .name = "gpio-msm-v1", |
704 | .owner = THIS_MODULE, | ||
705 | }, | 704 | }, |
706 | .probe = gpio_msm_v1_probe, | 705 | .probe = gpio_msm_v1_probe, |
707 | .id_table = gpio_msm_v1_device_ids, | 706 | .id_table = gpio_msm_v1_device_ids, |
diff --git a/drivers/gpio/gpio-msm-v2.c b/drivers/gpio/gpio-msm-v2.c index 94f57670df9a..52ff18229fdc 100644 --- a/drivers/gpio/gpio-msm-v2.c +++ b/drivers/gpio/gpio-msm-v2.c | |||
@@ -450,7 +450,6 @@ static struct platform_driver msm_gpio_driver = { | |||
450 | .remove = msm_gpio_remove, | 450 | .remove = msm_gpio_remove, |
451 | .driver = { | 451 | .driver = { |
452 | .name = "msmgpio", | 452 | .name = "msmgpio", |
453 | .owner = THIS_MODULE, | ||
454 | .of_match_table = msm_gpio_of_match, | 453 | .of_match_table = msm_gpio_of_match, |
455 | }, | 454 | }, |
456 | }; | 455 | }; |
diff --git a/drivers/gpio/gpio-mvebu.c b/drivers/gpio/gpio-mvebu.c index 418e38650363..e06d7932b498 100644 --- a/drivers/gpio/gpio-mvebu.c +++ b/drivers/gpio/gpio-mvebu.c | |||
@@ -731,7 +731,6 @@ static int mvebu_gpio_probe(struct platform_device *pdev) | |||
731 | static struct platform_driver mvebu_gpio_driver = { | 731 | static struct platform_driver mvebu_gpio_driver = { |
732 | .driver = { | 732 | .driver = { |
733 | .name = "mvebu-gpio", | 733 | .name = "mvebu-gpio", |
734 | .owner = THIS_MODULE, | ||
735 | .of_match_table = mvebu_gpio_of_match, | 734 | .of_match_table = mvebu_gpio_of_match, |
736 | }, | 735 | }, |
737 | .probe = mvebu_gpio_probe, | 736 | .probe = mvebu_gpio_probe, |
diff --git a/drivers/gpio/gpio-mxc.c b/drivers/gpio/gpio-mxc.c index f4e54a92e04a..9f7446a7ac64 100644 --- a/drivers/gpio/gpio-mxc.c +++ b/drivers/gpio/gpio-mxc.c | |||
@@ -496,7 +496,6 @@ out_bgio: | |||
496 | static struct platform_driver mxc_gpio_driver = { | 496 | static struct platform_driver mxc_gpio_driver = { |
497 | .driver = { | 497 | .driver = { |
498 | .name = "gpio-mxc", | 498 | .name = "gpio-mxc", |
499 | .owner = THIS_MODULE, | ||
500 | .of_match_table = mxc_gpio_dt_ids, | 499 | .of_match_table = mxc_gpio_dt_ids, |
501 | }, | 500 | }, |
502 | .probe = mxc_gpio_probe, | 501 | .probe = mxc_gpio_probe, |
diff --git a/drivers/gpio/gpio-mxs.c b/drivers/gpio/gpio-mxs.c index 8ffdd7d2bade..89143e2d3f5d 100644 --- a/drivers/gpio/gpio-mxs.c +++ b/drivers/gpio/gpio-mxs.c | |||
@@ -338,7 +338,6 @@ out_irqdesc_free: | |||
338 | static struct platform_driver mxs_gpio_driver = { | 338 | static struct platform_driver mxs_gpio_driver = { |
339 | .driver = { | 339 | .driver = { |
340 | .name = "gpio-mxs", | 340 | .name = "gpio-mxs", |
341 | .owner = THIS_MODULE, | ||
342 | .of_match_table = mxs_gpio_dt_ids, | 341 | .of_match_table = mxs_gpio_dt_ids, |
343 | }, | 342 | }, |
344 | .probe = mxs_gpio_probe, | 343 | .probe = mxs_gpio_probe, |
diff --git a/drivers/gpio/gpio-octeon.c b/drivers/gpio/gpio-octeon.c index 5c5770c99c80..62ae251d4490 100644 --- a/drivers/gpio/gpio-octeon.c +++ b/drivers/gpio/gpio-octeon.c | |||
@@ -144,7 +144,6 @@ MODULE_DEVICE_TABLE(of, octeon_gpio_match); | |||
144 | static struct platform_driver octeon_gpio_driver = { | 144 | static struct platform_driver octeon_gpio_driver = { |
145 | .driver = { | 145 | .driver = { |
146 | .name = "octeon_gpio", | 146 | .name = "octeon_gpio", |
147 | .owner = THIS_MODULE, | ||
148 | .of_match_table = octeon_gpio_match, | 147 | .of_match_table = octeon_gpio_match, |
149 | }, | 148 | }, |
150 | .probe = octeon_gpio_probe, | 149 | .probe = octeon_gpio_probe, |
diff --git a/drivers/gpio/gpio-rc5t583.c b/drivers/gpio/gpio-rc5t583.c index 769233d2da6d..6eabf239676b 100644 --- a/drivers/gpio/gpio-rc5t583.c +++ b/drivers/gpio/gpio-rc5t583.c | |||
@@ -155,7 +155,6 @@ static int rc5t583_gpio_remove(struct platform_device *pdev) | |||
155 | static struct platform_driver rc5t583_gpio_driver = { | 155 | static struct platform_driver rc5t583_gpio_driver = { |
156 | .driver = { | 156 | .driver = { |
157 | .name = "rc5t583-gpio", | 157 | .name = "rc5t583-gpio", |
158 | .owner = THIS_MODULE, | ||
159 | }, | 158 | }, |
160 | .probe = rc5t583_gpio_probe, | 159 | .probe = rc5t583_gpio_probe, |
161 | .remove = rc5t583_gpio_remove, | 160 | .remove = rc5t583_gpio_remove, |
diff --git a/drivers/gpio/gpio-sch.c b/drivers/gpio/gpio-sch.c index 41e91d70301e..8266045a5d45 100644 --- a/drivers/gpio/gpio-sch.c +++ b/drivers/gpio/gpio-sch.c | |||
@@ -319,7 +319,6 @@ static int sch_gpio_remove(struct platform_device *pdev) | |||
319 | static struct platform_driver sch_gpio_driver = { | 319 | static struct platform_driver sch_gpio_driver = { |
320 | .driver = { | 320 | .driver = { |
321 | .name = "sch_gpio", | 321 | .name = "sch_gpio", |
322 | .owner = THIS_MODULE, | ||
323 | }, | 322 | }, |
324 | .probe = sch_gpio_probe, | 323 | .probe = sch_gpio_probe, |
325 | .remove = sch_gpio_remove, | 324 | .remove = sch_gpio_remove, |
diff --git a/drivers/gpio/gpio-spear-spics.c b/drivers/gpio/gpio-spear-spics.c index 353263c85d26..64c8aa4f52b8 100644 --- a/drivers/gpio/gpio-spear-spics.c +++ b/drivers/gpio/gpio-spear-spics.c | |||
@@ -191,7 +191,6 @@ MODULE_DEVICE_TABLE(of, spics_gpio_of_match); | |||
191 | static struct platform_driver spics_gpio_driver = { | 191 | static struct platform_driver spics_gpio_driver = { |
192 | .probe = spics_gpio_probe, | 192 | .probe = spics_gpio_probe, |
193 | .driver = { | 193 | .driver = { |
194 | .owner = THIS_MODULE, | ||
195 | .name = "spear-spics-gpio", | 194 | .name = "spear-spics-gpio", |
196 | .of_match_table = spics_gpio_of_match, | 195 | .of_match_table = spics_gpio_of_match, |
197 | }, | 196 | }, |
diff --git a/drivers/gpio/gpio-sta2x11.c b/drivers/gpio/gpio-sta2x11.c index 68e3fcb1acea..18579ac65b2b 100644 --- a/drivers/gpio/gpio-sta2x11.c +++ b/drivers/gpio/gpio-sta2x11.c | |||
@@ -429,7 +429,6 @@ err_free_descs: | |||
429 | static struct platform_driver sta2x11_gpio_platform_driver = { | 429 | static struct platform_driver sta2x11_gpio_platform_driver = { |
430 | .driver = { | 430 | .driver = { |
431 | .name = "sta2x11-gpio", | 431 | .name = "sta2x11-gpio", |
432 | .owner = THIS_MODULE, | ||
433 | }, | 432 | }, |
434 | .probe = gsta_probe, | 433 | .probe = gsta_probe, |
435 | }; | 434 | }; |
diff --git a/drivers/gpio/gpio-stp-xway.c b/drivers/gpio/gpio-stp-xway.c index 7e359b7cce1b..6b9321e8669a 100644 --- a/drivers/gpio/gpio-stp-xway.c +++ b/drivers/gpio/gpio-stp-xway.c | |||
@@ -287,7 +287,6 @@ static struct platform_driver xway_stp_driver = { | |||
287 | .probe = xway_stp_probe, | 287 | .probe = xway_stp_probe, |
288 | .driver = { | 288 | .driver = { |
289 | .name = "gpio-stp-xway", | 289 | .name = "gpio-stp-xway", |
290 | .owner = THIS_MODULE, | ||
291 | .of_match_table = xway_stp_match, | 290 | .of_match_table = xway_stp_match, |
292 | }, | 291 | }, |
293 | }; | 292 | }; |
diff --git a/drivers/gpio/gpio-syscon.c b/drivers/gpio/gpio-syscon.c index e82fde4b6898..257e2989215c 100644 --- a/drivers/gpio/gpio-syscon.c +++ b/drivers/gpio/gpio-syscon.c | |||
@@ -253,7 +253,6 @@ static int syscon_gpio_remove(struct platform_device *pdev) | |||
253 | static struct platform_driver syscon_gpio_driver = { | 253 | static struct platform_driver syscon_gpio_driver = { |
254 | .driver = { | 254 | .driver = { |
255 | .name = "gpio-syscon", | 255 | .name = "gpio-syscon", |
256 | .owner = THIS_MODULE, | ||
257 | .of_match_table = syscon_gpio_ids, | 256 | .of_match_table = syscon_gpio_ids, |
258 | }, | 257 | }, |
259 | .probe = syscon_gpio_probe, | 258 | .probe = syscon_gpio_probe, |
diff --git a/drivers/gpio/gpio-tb10x.c b/drivers/gpio/gpio-tb10x.c index 9e615be8032c..a2bde95f64c7 100644 --- a/drivers/gpio/gpio-tb10x.c +++ b/drivers/gpio/gpio-tb10x.c | |||
@@ -316,7 +316,6 @@ static struct platform_driver tb10x_gpio_driver = { | |||
316 | .driver = { | 316 | .driver = { |
317 | .name = "tb10x-gpio", | 317 | .name = "tb10x-gpio", |
318 | .of_match_table = tb10x_gpio_dt_ids, | 318 | .of_match_table = tb10x_gpio_dt_ids, |
319 | .owner = THIS_MODULE, | ||
320 | } | 319 | } |
321 | }; | 320 | }; |
322 | 321 | ||
diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c index 4e8fb8261a87..a223ac51749c 100644 --- a/drivers/gpio/gpio-tegra.c +++ b/drivers/gpio/gpio-tegra.c | |||
@@ -528,7 +528,6 @@ static int tegra_gpio_probe(struct platform_device *pdev) | |||
528 | static struct platform_driver tegra_gpio_driver = { | 528 | static struct platform_driver tegra_gpio_driver = { |
529 | .driver = { | 529 | .driver = { |
530 | .name = "tegra-gpio", | 530 | .name = "tegra-gpio", |
531 | .owner = THIS_MODULE, | ||
532 | .pm = &tegra_gpio_pm_ops, | 531 | .pm = &tegra_gpio_pm_ops, |
533 | .of_match_table = tegra_gpio_of_match, | 532 | .of_match_table = tegra_gpio_of_match, |
534 | }, | 533 | }, |
diff --git a/drivers/gpio/gpio-timberdale.c b/drivers/gpio/gpio-timberdale.c index a685a3cbbc81..e8f97e03c9bb 100644 --- a/drivers/gpio/gpio-timberdale.c +++ b/drivers/gpio/gpio-timberdale.c | |||
@@ -330,7 +330,6 @@ static int timbgpio_remove(struct platform_device *pdev) | |||
330 | static struct platform_driver timbgpio_platform_driver = { | 330 | static struct platform_driver timbgpio_platform_driver = { |
331 | .driver = { | 331 | .driver = { |
332 | .name = DRIVER_NAME, | 332 | .name = DRIVER_NAME, |
333 | .owner = THIS_MODULE, | ||
334 | }, | 333 | }, |
335 | .probe = timbgpio_probe, | 334 | .probe = timbgpio_probe, |
336 | .remove = timbgpio_remove, | 335 | .remove = timbgpio_remove, |
diff --git a/drivers/gpio/gpio-tps65912.c b/drivers/gpio/gpio-tps65912.c index 22052d84c63b..472fb5b8779f 100644 --- a/drivers/gpio/gpio-tps65912.c +++ b/drivers/gpio/gpio-tps65912.c | |||
@@ -124,7 +124,6 @@ static int tps65912_gpio_remove(struct platform_device *pdev) | |||
124 | static struct platform_driver tps65912_gpio_driver = { | 124 | static struct platform_driver tps65912_gpio_driver = { |
125 | .driver = { | 125 | .driver = { |
126 | .name = "tps65912-gpio", | 126 | .name = "tps65912-gpio", |
127 | .owner = THIS_MODULE, | ||
128 | }, | 127 | }, |
129 | .probe = tps65912_gpio_probe, | 128 | .probe = tps65912_gpio_probe, |
130 | .remove = tps65912_gpio_remove, | 129 | .remove = tps65912_gpio_remove, |
diff --git a/drivers/gpio/gpio-ts5500.c b/drivers/gpio/gpio-ts5500.c index de18591ff11e..92fbabd82879 100644 --- a/drivers/gpio/gpio-ts5500.c +++ b/drivers/gpio/gpio-ts5500.c | |||
@@ -452,7 +452,6 @@ MODULE_DEVICE_TABLE(platform, ts5500_dio_ids); | |||
452 | static struct platform_driver ts5500_dio_driver = { | 452 | static struct platform_driver ts5500_dio_driver = { |
453 | .driver = { | 453 | .driver = { |
454 | .name = "ts5500-dio", | 454 | .name = "ts5500-dio", |
455 | .owner = THIS_MODULE, | ||
456 | }, | 455 | }, |
457 | .probe = ts5500_dio_probe, | 456 | .probe = ts5500_dio_probe, |
458 | .remove = ts5500_dio_remove, | 457 | .remove = ts5500_dio_remove, |
diff --git a/drivers/gpio/gpio-twl4030.c b/drivers/gpio/gpio-twl4030.c index 118828b3736f..9e1dbb9877c1 100644 --- a/drivers/gpio/gpio-twl4030.c +++ b/drivers/gpio/gpio-twl4030.c | |||
@@ -605,7 +605,6 @@ MODULE_ALIAS("platform:twl4030_gpio"); | |||
605 | static struct platform_driver gpio_twl4030_driver = { | 605 | static struct platform_driver gpio_twl4030_driver = { |
606 | .driver = { | 606 | .driver = { |
607 | .name = "twl4030_gpio", | 607 | .name = "twl4030_gpio", |
608 | .owner = THIS_MODULE, | ||
609 | .of_match_table = twl_gpio_match, | 608 | .of_match_table = twl_gpio_match, |
610 | }, | 609 | }, |
611 | .probe = gpio_twl4030_probe, | 610 | .probe = gpio_twl4030_probe, |
diff --git a/drivers/gpio/gpio-twl6040.c b/drivers/gpio/gpio-twl6040.c index f28e04b88aa9..c946e7eef3ee 100644 --- a/drivers/gpio/gpio-twl6040.c +++ b/drivers/gpio/gpio-twl6040.c | |||
@@ -121,7 +121,6 @@ MODULE_ALIAS("platform:twl6040-gpo"); | |||
121 | static struct platform_driver gpo_twl6040_driver = { | 121 | static struct platform_driver gpo_twl6040_driver = { |
122 | .driver = { | 122 | .driver = { |
123 | .name = "twl6040-gpo", | 123 | .name = "twl6040-gpo", |
124 | .owner = THIS_MODULE, | ||
125 | }, | 124 | }, |
126 | .probe = gpo_twl6040_probe, | 125 | .probe = gpo_twl6040_probe, |
127 | .remove = gpo_twl6040_remove, | 126 | .remove = gpo_twl6040_remove, |
diff --git a/drivers/gpio/gpio-tz1090-pdc.c b/drivers/gpio/gpio-tz1090-pdc.c index f512da299b3d..d7536226b847 100644 --- a/drivers/gpio/gpio-tz1090-pdc.c +++ b/drivers/gpio/gpio-tz1090-pdc.c | |||
@@ -230,7 +230,6 @@ static struct of_device_id tz1090_pdc_gpio_of_match[] = { | |||
230 | static struct platform_driver tz1090_pdc_gpio_driver = { | 230 | static struct platform_driver tz1090_pdc_gpio_driver = { |
231 | .driver = { | 231 | .driver = { |
232 | .name = "tz1090-pdc-gpio", | 232 | .name = "tz1090-pdc-gpio", |
233 | .owner = THIS_MODULE, | ||
234 | .of_match_table = tz1090_pdc_gpio_of_match, | 233 | .of_match_table = tz1090_pdc_gpio_of_match, |
235 | }, | 234 | }, |
236 | .probe = tz1090_pdc_gpio_probe, | 235 | .probe = tz1090_pdc_gpio_probe, |
diff --git a/drivers/gpio/gpio-tz1090.c b/drivers/gpio/gpio-tz1090.c index 5246a60eff6d..9e901773a9d5 100644 --- a/drivers/gpio/gpio-tz1090.c +++ b/drivers/gpio/gpio-tz1090.c | |||
@@ -593,7 +593,6 @@ static struct of_device_id tz1090_gpio_of_match[] = { | |||
593 | static struct platform_driver tz1090_gpio_driver = { | 593 | static struct platform_driver tz1090_gpio_driver = { |
594 | .driver = { | 594 | .driver = { |
595 | .name = "tz1090-gpio", | 595 | .name = "tz1090-gpio", |
596 | .owner = THIS_MODULE, | ||
597 | .of_match_table = tz1090_gpio_of_match, | 596 | .of_match_table = tz1090_gpio_of_match, |
598 | }, | 597 | }, |
599 | .probe = tz1090_gpio_probe, | 598 | .probe = tz1090_gpio_probe, |
diff --git a/drivers/gpio/gpio-vr41xx.c b/drivers/gpio/gpio-vr41xx.c index dbf28fa03f67..b2d05f3a8c9e 100644 --- a/drivers/gpio/gpio-vr41xx.c +++ b/drivers/gpio/gpio-vr41xx.c | |||
@@ -591,7 +591,6 @@ static struct platform_driver giu_device_driver = { | |||
591 | .remove = giu_remove, | 591 | .remove = giu_remove, |
592 | .driver = { | 592 | .driver = { |
593 | .name = "GIU", | 593 | .name = "GIU", |
594 | .owner = THIS_MODULE, | ||
595 | }, | 594 | }, |
596 | }; | 595 | }; |
597 | 596 | ||
diff --git a/drivers/gpio/gpio-vx855.c b/drivers/gpio/gpio-vx855.c index 85971d4e23c1..9d21d2fcc327 100644 --- a/drivers/gpio/gpio-vx855.c +++ b/drivers/gpio/gpio-vx855.c | |||
@@ -306,7 +306,6 @@ static int vx855gpio_remove(struct platform_device *pdev) | |||
306 | static struct platform_driver vx855gpio_driver = { | 306 | static struct platform_driver vx855gpio_driver = { |
307 | .driver = { | 307 | .driver = { |
308 | .name = MODULE_NAME, | 308 | .name = MODULE_NAME, |
309 | .owner = THIS_MODULE, | ||
310 | }, | 309 | }, |
311 | .probe = vx855gpio_probe, | 310 | .probe = vx855gpio_probe, |
312 | .remove = vx855gpio_remove, | 311 | .remove = vx855gpio_remove, |
diff --git a/drivers/gpio/gpio-xgene.c b/drivers/gpio/gpio-xgene.c index 7d489221dc1f..18a8182d4fec 100644 --- a/drivers/gpio/gpio-xgene.c +++ b/drivers/gpio/gpio-xgene.c | |||
@@ -229,7 +229,6 @@ MODULE_DEVICE_TABLE(of, xgene_gpio_of_match); | |||
229 | static struct platform_driver xgene_gpio_driver = { | 229 | static struct platform_driver xgene_gpio_driver = { |
230 | .driver = { | 230 | .driver = { |
231 | .name = "xgene-gpio", | 231 | .name = "xgene-gpio", |
232 | .owner = THIS_MODULE, | ||
233 | .of_match_table = xgene_gpio_of_match, | 232 | .of_match_table = xgene_gpio_of_match, |
234 | .pm = XGENE_GPIO_PM_OPS, | 233 | .pm = XGENE_GPIO_PM_OPS, |
235 | }, | 234 | }, |
diff --git a/drivers/gpio/gpio-xtensa.c b/drivers/gpio/gpio-xtensa.c index 7081304d6797..93ec95df67a3 100644 --- a/drivers/gpio/gpio-xtensa.c +++ b/drivers/gpio/gpio-xtensa.c | |||
@@ -157,7 +157,6 @@ static int xtensa_gpio_probe(struct platform_device *pdev) | |||
157 | static struct platform_driver xtensa_gpio_driver = { | 157 | static struct platform_driver xtensa_gpio_driver = { |
158 | .driver = { | 158 | .driver = { |
159 | .name = "xtensa-gpio", | 159 | .name = "xtensa-gpio", |
160 | .owner = THIS_MODULE, | ||
161 | }, | 160 | }, |
162 | .probe = xtensa_gpio_probe, | 161 | .probe = xtensa_gpio_probe, |
163 | }; | 162 | }; |
diff --git a/drivers/gpio/gpio-zevio.c b/drivers/gpio/gpio-zevio.c index 54e54e4cc6c4..f769cd53f4e4 100644 --- a/drivers/gpio/gpio-zevio.c +++ b/drivers/gpio/gpio-zevio.c | |||
@@ -212,7 +212,6 @@ MODULE_DEVICE_TABLE(of, zevio_gpio_of_match); | |||
212 | static struct platform_driver zevio_gpio_driver = { | 212 | static struct platform_driver zevio_gpio_driver = { |
213 | .driver = { | 213 | .driver = { |
214 | .name = "gpio-zevio", | 214 | .name = "gpio-zevio", |
215 | .owner = THIS_MODULE, | ||
216 | .of_match_table = zevio_gpio_of_match, | 215 | .of_match_table = zevio_gpio_of_match, |
217 | }, | 216 | }, |
218 | .probe = zevio_gpio_probe, | 217 | .probe = zevio_gpio_probe, |