diff options
Diffstat (limited to 'drivers/rtc')
79 files changed, 0 insertions, 79 deletions
diff --git a/drivers/rtc/rtc-88pm80x.c b/drivers/rtc/rtc-88pm80x.c index 0916089c7c3e..7df0579d9852 100644 --- a/drivers/rtc/rtc-88pm80x.c +++ b/drivers/rtc/rtc-88pm80x.c | |||
@@ -352,7 +352,6 @@ static int pm80x_rtc_remove(struct platform_device *pdev) | |||
352 | static struct platform_driver pm80x_rtc_driver = { | 352 | static struct platform_driver pm80x_rtc_driver = { |
353 | .driver = { | 353 | .driver = { |
354 | .name = "88pm80x-rtc", | 354 | .name = "88pm80x-rtc", |
355 | .owner = THIS_MODULE, | ||
356 | .pm = &pm80x_rtc_pm_ops, | 355 | .pm = &pm80x_rtc_pm_ops, |
357 | }, | 356 | }, |
358 | .probe = pm80x_rtc_probe, | 357 | .probe = pm80x_rtc_probe, |
diff --git a/drivers/rtc/rtc-88pm860x.c b/drivers/rtc/rtc-88pm860x.c index 0c6add1a38dc..19e53b3b8e00 100644 --- a/drivers/rtc/rtc-88pm860x.c +++ b/drivers/rtc/rtc-88pm860x.c | |||
@@ -448,7 +448,6 @@ static SIMPLE_DEV_PM_OPS(pm860x_rtc_pm_ops, pm860x_rtc_suspend, pm860x_rtc_resum | |||
448 | static struct platform_driver pm860x_rtc_driver = { | 448 | static struct platform_driver pm860x_rtc_driver = { |
449 | .driver = { | 449 | .driver = { |
450 | .name = "88pm860x-rtc", | 450 | .name = "88pm860x-rtc", |
451 | .owner = THIS_MODULE, | ||
452 | .pm = &pm860x_rtc_pm_ops, | 451 | .pm = &pm860x_rtc_pm_ops, |
453 | }, | 452 | }, |
454 | .probe = pm860x_rtc_probe, | 453 | .probe = pm860x_rtc_probe, |
diff --git a/drivers/rtc/rtc-ab3100.c b/drivers/rtc/rtc-ab3100.c index ff435343ba9f..1d0340fdb820 100644 --- a/drivers/rtc/rtc-ab3100.c +++ b/drivers/rtc/rtc-ab3100.c | |||
@@ -243,7 +243,6 @@ static int __init ab3100_rtc_probe(struct platform_device *pdev) | |||
243 | static struct platform_driver ab3100_rtc_driver = { | 243 | static struct platform_driver ab3100_rtc_driver = { |
244 | .driver = { | 244 | .driver = { |
245 | .name = "ab3100-rtc", | 245 | .name = "ab3100-rtc", |
246 | .owner = THIS_MODULE, | ||
247 | }, | 246 | }, |
248 | }; | 247 | }; |
249 | 248 | ||
diff --git a/drivers/rtc/rtc-ab8500.c b/drivers/rtc/rtc-ab8500.c index 727e2f5d14d9..43c09ad5112b 100644 --- a/drivers/rtc/rtc-ab8500.c +++ b/drivers/rtc/rtc-ab8500.c | |||
@@ -517,7 +517,6 @@ static int ab8500_rtc_remove(struct platform_device *pdev) | |||
517 | static struct platform_driver ab8500_rtc_driver = { | 517 | static struct platform_driver ab8500_rtc_driver = { |
518 | .driver = { | 518 | .driver = { |
519 | .name = "ab8500-rtc", | 519 | .name = "ab8500-rtc", |
520 | .owner = THIS_MODULE, | ||
521 | }, | 520 | }, |
522 | .probe = ab8500_rtc_probe, | 521 | .probe = ab8500_rtc_probe, |
523 | .remove = ab8500_rtc_remove, | 522 | .remove = ab8500_rtc_remove, |
diff --git a/drivers/rtc/rtc-at32ap700x.c b/drivers/rtc/rtc-at32ap700x.c index aee3387fb099..d618d6c7ef93 100644 --- a/drivers/rtc/rtc-at32ap700x.c +++ b/drivers/rtc/rtc-at32ap700x.c | |||
@@ -277,7 +277,6 @@ static struct platform_driver at32_rtc_driver = { | |||
277 | .remove = __exit_p(at32_rtc_remove), | 277 | .remove = __exit_p(at32_rtc_remove), |
278 | .driver = { | 278 | .driver = { |
279 | .name = "at32ap700x_rtc", | 279 | .name = "at32ap700x_rtc", |
280 | .owner = THIS_MODULE, | ||
281 | }, | 280 | }, |
282 | }; | 281 | }; |
283 | 282 | ||
diff --git a/drivers/rtc/rtc-at91rm9200.c b/drivers/rtc/rtc-at91rm9200.c index 44fe83ee9bee..70a5d94cc766 100644 --- a/drivers/rtc/rtc-at91rm9200.c +++ b/drivers/rtc/rtc-at91rm9200.c | |||
@@ -491,7 +491,6 @@ static struct platform_driver at91_rtc_driver = { | |||
491 | .shutdown = at91_rtc_shutdown, | 491 | .shutdown = at91_rtc_shutdown, |
492 | .driver = { | 492 | .driver = { |
493 | .name = "at91_rtc", | 493 | .name = "at91_rtc", |
494 | .owner = THIS_MODULE, | ||
495 | .pm = &at91_rtc_pm_ops, | 494 | .pm = &at91_rtc_pm_ops, |
496 | .of_match_table = of_match_ptr(at91_rtc_dt_ids), | 495 | .of_match_table = of_match_ptr(at91_rtc_dt_ids), |
497 | }, | 496 | }, |
diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c index 596374304532..dcf211b941a5 100644 --- a/drivers/rtc/rtc-at91sam9.c +++ b/drivers/rtc/rtc-at91sam9.c | |||
@@ -446,7 +446,6 @@ static struct platform_driver at91_rtc_driver = { | |||
446 | .shutdown = at91_rtc_shutdown, | 446 | .shutdown = at91_rtc_shutdown, |
447 | .driver = { | 447 | .driver = { |
448 | .name = "rtc-at91sam9", | 448 | .name = "rtc-at91sam9", |
449 | .owner = THIS_MODULE, | ||
450 | .pm = &at91_rtc_pm_ops, | 449 | .pm = &at91_rtc_pm_ops, |
451 | }, | 450 | }, |
452 | }; | 451 | }; |
diff --git a/drivers/rtc/rtc-au1xxx.c b/drivers/rtc/rtc-au1xxx.c index fd25e2374d4e..84d6e026784d 100644 --- a/drivers/rtc/rtc-au1xxx.c +++ b/drivers/rtc/rtc-au1xxx.c | |||
@@ -117,7 +117,6 @@ out_err: | |||
117 | static struct platform_driver au1xrtc_driver = { | 117 | static struct platform_driver au1xrtc_driver = { |
118 | .driver = { | 118 | .driver = { |
119 | .name = "rtc-au1xxx", | 119 | .name = "rtc-au1xxx", |
120 | .owner = THIS_MODULE, | ||
121 | }, | 120 | }, |
122 | }; | 121 | }; |
123 | 122 | ||
diff --git a/drivers/rtc/rtc-bfin.c b/drivers/rtc/rtc-bfin.c index fe4bdb06a55a..3d44b11721ea 100644 --- a/drivers/rtc/rtc-bfin.c +++ b/drivers/rtc/rtc-bfin.c | |||
@@ -434,7 +434,6 @@ static SIMPLE_DEV_PM_OPS(bfin_rtc_pm_ops, bfin_rtc_suspend, bfin_rtc_resume); | |||
434 | static struct platform_driver bfin_rtc_driver = { | 434 | static struct platform_driver bfin_rtc_driver = { |
435 | .driver = { | 435 | .driver = { |
436 | .name = "rtc-bfin", | 436 | .name = "rtc-bfin", |
437 | .owner = THIS_MODULE, | ||
438 | .pm = &bfin_rtc_pm_ops, | 437 | .pm = &bfin_rtc_pm_ops, |
439 | }, | 438 | }, |
440 | .probe = bfin_rtc_probe, | 439 | .probe = bfin_rtc_probe, |
diff --git a/drivers/rtc/rtc-bq4802.c b/drivers/rtc/rtc-bq4802.c index fc0ff87aa5df..bd170cb3361c 100644 --- a/drivers/rtc/rtc-bq4802.c +++ b/drivers/rtc/rtc-bq4802.c | |||
@@ -192,7 +192,6 @@ MODULE_ALIAS("platform:rtc-bq4802"); | |||
192 | static struct platform_driver bq4802_driver = { | 192 | static struct platform_driver bq4802_driver = { |
193 | .driver = { | 193 | .driver = { |
194 | .name = "rtc-bq4802", | 194 | .name = "rtc-bq4802", |
195 | .owner = THIS_MODULE, | ||
196 | }, | 195 | }, |
197 | .probe = bq4802_probe, | 196 | .probe = bq4802_probe, |
198 | }; | 197 | }; |
diff --git a/drivers/rtc/rtc-coh901331.c b/drivers/rtc/rtc-coh901331.c index 869cae273799..56343b2fbc68 100644 --- a/drivers/rtc/rtc-coh901331.c +++ b/drivers/rtc/rtc-coh901331.c | |||
@@ -267,7 +267,6 @@ static const struct of_device_id coh901331_dt_match[] = { | |||
267 | static struct platform_driver coh901331_driver = { | 267 | static struct platform_driver coh901331_driver = { |
268 | .driver = { | 268 | .driver = { |
269 | .name = "rtc-coh901331", | 269 | .name = "rtc-coh901331", |
270 | .owner = THIS_MODULE, | ||
271 | .pm = &coh901331_pm_ops, | 270 | .pm = &coh901331_pm_ops, |
272 | .of_match_table = coh901331_dt_match, | 271 | .of_match_table = coh901331_dt_match, |
273 | }, | 272 | }, |
diff --git a/drivers/rtc/rtc-da9052.c b/drivers/rtc/rtc-da9052.c index e5c9486cf452..613c43b7e9ae 100644 --- a/drivers/rtc/rtc-da9052.c +++ b/drivers/rtc/rtc-da9052.c | |||
@@ -265,7 +265,6 @@ static struct platform_driver da9052_rtc_driver = { | |||
265 | .probe = da9052_rtc_probe, | 265 | .probe = da9052_rtc_probe, |
266 | .driver = { | 266 | .driver = { |
267 | .name = "da9052-rtc", | 267 | .name = "da9052-rtc", |
268 | .owner = THIS_MODULE, | ||
269 | }, | 268 | }, |
270 | }; | 269 | }; |
271 | 270 | ||
diff --git a/drivers/rtc/rtc-da9055.c b/drivers/rtc/rtc-da9055.c index a825491331c8..7ec0872d5e3b 100644 --- a/drivers/rtc/rtc-da9055.c +++ b/drivers/rtc/rtc-da9055.c | |||
@@ -391,7 +391,6 @@ static struct platform_driver da9055_rtc_driver = { | |||
391 | .probe = da9055_rtc_probe, | 391 | .probe = da9055_rtc_probe, |
392 | .driver = { | 392 | .driver = { |
393 | .name = "da9055-rtc", | 393 | .name = "da9055-rtc", |
394 | .owner = THIS_MODULE, | ||
395 | .pm = &da9055_rtc_pm_ops, | 394 | .pm = &da9055_rtc_pm_ops, |
396 | }, | 395 | }, |
397 | }; | 396 | }; |
diff --git a/drivers/rtc/rtc-da9063.c b/drivers/rtc/rtc-da9063.c index 731ed1a97f59..7ffc5707f8b9 100644 --- a/drivers/rtc/rtc-da9063.c +++ b/drivers/rtc/rtc-da9063.c | |||
@@ -341,7 +341,6 @@ static struct platform_driver da9063_rtc_driver = { | |||
341 | .probe = da9063_rtc_probe, | 341 | .probe = da9063_rtc_probe, |
342 | .driver = { | 342 | .driver = { |
343 | .name = DA9063_DRVNAME_RTC, | 343 | .name = DA9063_DRVNAME_RTC, |
344 | .owner = THIS_MODULE, | ||
345 | }, | 344 | }, |
346 | }; | 345 | }; |
347 | 346 | ||
diff --git a/drivers/rtc/rtc-davinci.c b/drivers/rtc/rtc-davinci.c index c0a3b59f65a2..c84f46168a52 100644 --- a/drivers/rtc/rtc-davinci.c +++ b/drivers/rtc/rtc-davinci.c | |||
@@ -550,7 +550,6 @@ static struct platform_driver davinci_rtc_driver = { | |||
550 | .remove = __exit_p(davinci_rtc_remove), | 550 | .remove = __exit_p(davinci_rtc_remove), |
551 | .driver = { | 551 | .driver = { |
552 | .name = "rtc_davinci", | 552 | .name = "rtc_davinci", |
553 | .owner = THIS_MODULE, | ||
554 | }, | 553 | }, |
555 | }; | 554 | }; |
556 | 555 | ||
diff --git a/drivers/rtc/rtc-dm355evm.c b/drivers/rtc/rtc-dm355evm.c index 1aca08394c47..94067f8eeb10 100644 --- a/drivers/rtc/rtc-dm355evm.c +++ b/drivers/rtc/rtc-dm355evm.c | |||
@@ -146,7 +146,6 @@ static int dm355evm_rtc_probe(struct platform_device *pdev) | |||
146 | static struct platform_driver rtc_dm355evm_driver = { | 146 | static struct platform_driver rtc_dm355evm_driver = { |
147 | .probe = dm355evm_rtc_probe, | 147 | .probe = dm355evm_rtc_probe, |
148 | .driver = { | 148 | .driver = { |
149 | .owner = THIS_MODULE, | ||
150 | .name = "rtc-dm355evm", | 149 | .name = "rtc-dm355evm", |
151 | }, | 150 | }, |
152 | }; | 151 | }; |
diff --git a/drivers/rtc/rtc-ds1216.c b/drivers/rtc/rtc-ds1216.c index 9c04fd2bc209..d16f550897b8 100644 --- a/drivers/rtc/rtc-ds1216.c +++ b/drivers/rtc/rtc-ds1216.c | |||
@@ -170,7 +170,6 @@ static int __init ds1216_rtc_probe(struct platform_device *pdev) | |||
170 | static struct platform_driver ds1216_rtc_platform_driver = { | 170 | static struct platform_driver ds1216_rtc_platform_driver = { |
171 | .driver = { | 171 | .driver = { |
172 | .name = "rtc-ds1216", | 172 | .name = "rtc-ds1216", |
173 | .owner = THIS_MODULE, | ||
174 | }, | 173 | }, |
175 | }; | 174 | }; |
176 | 175 | ||
diff --git a/drivers/rtc/rtc-ds1286.c b/drivers/rtc/rtc-ds1286.c index 50e109b78252..2fe537f4e2bd 100644 --- a/drivers/rtc/rtc-ds1286.c +++ b/drivers/rtc/rtc-ds1286.c | |||
@@ -356,7 +356,6 @@ static int ds1286_probe(struct platform_device *pdev) | |||
356 | static struct platform_driver ds1286_platform_driver = { | 356 | static struct platform_driver ds1286_platform_driver = { |
357 | .driver = { | 357 | .driver = { |
358 | .name = "rtc-ds1286", | 358 | .name = "rtc-ds1286", |
359 | .owner = THIS_MODULE, | ||
360 | }, | 359 | }, |
361 | .probe = ds1286_probe, | 360 | .probe = ds1286_probe, |
362 | }; | 361 | }; |
diff --git a/drivers/rtc/rtc-ds1302.c b/drivers/rtc/rtc-ds1302.c index 07e8d79b4a09..6bef7a5233c4 100644 --- a/drivers/rtc/rtc-ds1302.c +++ b/drivers/rtc/rtc-ds1302.c | |||
@@ -244,7 +244,6 @@ static int __init ds1302_rtc_probe(struct platform_device *pdev) | |||
244 | static struct platform_driver ds1302_platform_driver = { | 244 | static struct platform_driver ds1302_platform_driver = { |
245 | .driver = { | 245 | .driver = { |
246 | .name = DRV_NAME, | 246 | .name = DRV_NAME, |
247 | .owner = THIS_MODULE, | ||
248 | }, | 247 | }, |
249 | }; | 248 | }; |
250 | 249 | ||
diff --git a/drivers/rtc/rtc-ds1511.c b/drivers/rtc/rtc-ds1511.c index b13d1399b81a..7415c2b4d6e8 100644 --- a/drivers/rtc/rtc-ds1511.c +++ b/drivers/rtc/rtc-ds1511.c | |||
@@ -561,7 +561,6 @@ static struct platform_driver ds1511_rtc_driver = { | |||
561 | .remove = ds1511_rtc_remove, | 561 | .remove = ds1511_rtc_remove, |
562 | .driver = { | 562 | .driver = { |
563 | .name = "ds1511", | 563 | .name = "ds1511", |
564 | .owner = THIS_MODULE, | ||
565 | }, | 564 | }, |
566 | }; | 565 | }; |
567 | 566 | ||
diff --git a/drivers/rtc/rtc-ds1553.c b/drivers/rtc/rtc-ds1553.c index ab56893aac73..a24e091bcb41 100644 --- a/drivers/rtc/rtc-ds1553.c +++ b/drivers/rtc/rtc-ds1553.c | |||
@@ -351,7 +351,6 @@ static struct platform_driver ds1553_rtc_driver = { | |||
351 | .remove = ds1553_rtc_remove, | 351 | .remove = ds1553_rtc_remove, |
352 | .driver = { | 352 | .driver = { |
353 | .name = "rtc-ds1553", | 353 | .name = "rtc-ds1553", |
354 | .owner = THIS_MODULE, | ||
355 | }, | 354 | }, |
356 | }; | 355 | }; |
357 | 356 | ||
diff --git a/drivers/rtc/rtc-ds1742.c b/drivers/rtc/rtc-ds1742.c index 9822715db8ba..0f8d8ace1515 100644 --- a/drivers/rtc/rtc-ds1742.c +++ b/drivers/rtc/rtc-ds1742.c | |||
@@ -230,7 +230,6 @@ static struct platform_driver ds1742_rtc_driver = { | |||
230 | .remove = ds1742_rtc_remove, | 230 | .remove = ds1742_rtc_remove, |
231 | .driver = { | 231 | .driver = { |
232 | .name = "rtc-ds1742", | 232 | .name = "rtc-ds1742", |
233 | .owner = THIS_MODULE, | ||
234 | .of_match_table = of_match_ptr(ds1742_rtc_of_match), | 233 | .of_match_table = of_match_ptr(ds1742_rtc_of_match), |
235 | }, | 234 | }, |
236 | }; | 235 | }; |
diff --git a/drivers/rtc/rtc-ds2404.c b/drivers/rtc/rtc-ds2404.c index fc209dc4e245..7885edd3d507 100644 --- a/drivers/rtc/rtc-ds2404.c +++ b/drivers/rtc/rtc-ds2404.c | |||
@@ -274,7 +274,6 @@ static struct platform_driver rtc_device_driver = { | |||
274 | .remove = rtc_remove, | 274 | .remove = rtc_remove, |
275 | .driver = { | 275 | .driver = { |
276 | .name = "ds2404", | 276 | .name = "ds2404", |
277 | .owner = THIS_MODULE, | ||
278 | }, | 277 | }, |
279 | }; | 278 | }; |
280 | module_platform_driver(rtc_device_driver); | 279 | module_platform_driver(rtc_device_driver); |
diff --git a/drivers/rtc/rtc-efi.c b/drivers/rtc/rtc-efi.c index c384fec6d173..3d5b8168268e 100644 --- a/drivers/rtc/rtc-efi.c +++ b/drivers/rtc/rtc-efi.c | |||
@@ -226,7 +226,6 @@ static int __init efi_rtc_probe(struct platform_device *dev) | |||
226 | static struct platform_driver efi_rtc_driver = { | 226 | static struct platform_driver efi_rtc_driver = { |
227 | .driver = { | 227 | .driver = { |
228 | .name = "rtc-efi", | 228 | .name = "rtc-efi", |
229 | .owner = THIS_MODULE, | ||
230 | }, | 229 | }, |
231 | }; | 230 | }; |
232 | 231 | ||
diff --git a/drivers/rtc/rtc-ep93xx.c b/drivers/rtc/rtc-ep93xx.c index 5e4f5dc40ba5..de325d68c7e4 100644 --- a/drivers/rtc/rtc-ep93xx.c +++ b/drivers/rtc/rtc-ep93xx.c | |||
@@ -174,7 +174,6 @@ static int ep93xx_rtc_remove(struct platform_device *pdev) | |||
174 | static struct platform_driver ep93xx_rtc_driver = { | 174 | static struct platform_driver ep93xx_rtc_driver = { |
175 | .driver = { | 175 | .driver = { |
176 | .name = "ep93xx-rtc", | 176 | .name = "ep93xx-rtc", |
177 | .owner = THIS_MODULE, | ||
178 | }, | 177 | }, |
179 | .probe = ep93xx_rtc_probe, | 178 | .probe = ep93xx_rtc_probe, |
180 | .remove = ep93xx_rtc_remove, | 179 | .remove = ep93xx_rtc_remove, |
diff --git a/drivers/rtc/rtc-generic.c b/drivers/rtc/rtc-generic.c index 9b6725ebbfb2..e782ebd719b2 100644 --- a/drivers/rtc/rtc-generic.c +++ b/drivers/rtc/rtc-generic.c | |||
@@ -51,7 +51,6 @@ static int __init generic_rtc_probe(struct platform_device *dev) | |||
51 | static struct platform_driver generic_rtc_driver = { | 51 | static struct platform_driver generic_rtc_driver = { |
52 | .driver = { | 52 | .driver = { |
53 | .name = "rtc-generic", | 53 | .name = "rtc-generic", |
54 | .owner = THIS_MODULE, | ||
55 | }, | 54 | }, |
56 | }; | 55 | }; |
57 | 56 | ||
diff --git a/drivers/rtc/rtc-hid-sensor-time.c b/drivers/rtc/rtc-hid-sensor-time.c index 965a9da70867..ae7c2ba440cf 100644 --- a/drivers/rtc/rtc-hid-sensor-time.c +++ b/drivers/rtc/rtc-hid-sensor-time.c | |||
@@ -331,7 +331,6 @@ static struct platform_driver hid_time_platform_driver = { | |||
331 | .id_table = hid_time_ids, | 331 | .id_table = hid_time_ids, |
332 | .driver = { | 332 | .driver = { |
333 | .name = KBUILD_MODNAME, | 333 | .name = KBUILD_MODNAME, |
334 | .owner = THIS_MODULE, | ||
335 | }, | 334 | }, |
336 | .probe = hid_time_probe, | 335 | .probe = hid_time_probe, |
337 | .remove = hid_time_remove, | 336 | .remove = hid_time_remove, |
diff --git a/drivers/rtc/rtc-imxdi.c b/drivers/rtc/rtc-imxdi.c index cd741c77e085..42f5570f42f8 100644 --- a/drivers/rtc/rtc-imxdi.c +++ b/drivers/rtc/rtc-imxdi.c | |||
@@ -499,7 +499,6 @@ MODULE_DEVICE_TABLE(of, dryice_dt_ids); | |||
499 | static struct platform_driver dryice_rtc_driver = { | 499 | static struct platform_driver dryice_rtc_driver = { |
500 | .driver = { | 500 | .driver = { |
501 | .name = "imxdi_rtc", | 501 | .name = "imxdi_rtc", |
502 | .owner = THIS_MODULE, | ||
503 | .of_match_table = of_match_ptr(dryice_dt_ids), | 502 | .of_match_table = of_match_ptr(dryice_dt_ids), |
504 | }, | 503 | }, |
505 | .remove = __exit_p(dryice_rtc_remove), | 504 | .remove = __exit_p(dryice_rtc_remove), |
diff --git a/drivers/rtc/rtc-jz4740.c b/drivers/rtc/rtc-jz4740.c index 08f5160fb6d4..b2bcfc0bf2e5 100644 --- a/drivers/rtc/rtc-jz4740.c +++ b/drivers/rtc/rtc-jz4740.c | |||
@@ -299,7 +299,6 @@ static struct platform_driver jz4740_rtc_driver = { | |||
299 | .probe = jz4740_rtc_probe, | 299 | .probe = jz4740_rtc_probe, |
300 | .driver = { | 300 | .driver = { |
301 | .name = "jz4740-rtc", | 301 | .name = "jz4740-rtc", |
302 | .owner = THIS_MODULE, | ||
303 | .pm = JZ4740_RTC_PM_OPS, | 302 | .pm = JZ4740_RTC_PM_OPS, |
304 | }, | 303 | }, |
305 | }; | 304 | }; |
diff --git a/drivers/rtc/rtc-lp8788.c b/drivers/rtc/rtc-lp8788.c index 4ff6c73253b3..e20e7bd822e0 100644 --- a/drivers/rtc/rtc-lp8788.c +++ b/drivers/rtc/rtc-lp8788.c | |||
@@ -316,7 +316,6 @@ static struct platform_driver lp8788_rtc_driver = { | |||
316 | .probe = lp8788_rtc_probe, | 316 | .probe = lp8788_rtc_probe, |
317 | .driver = { | 317 | .driver = { |
318 | .name = LP8788_DEV_RTC, | 318 | .name = LP8788_DEV_RTC, |
319 | .owner = THIS_MODULE, | ||
320 | }, | 319 | }, |
321 | }; | 320 | }; |
322 | module_platform_driver(lp8788_rtc_driver); | 321 | module_platform_driver(lp8788_rtc_driver); |
diff --git a/drivers/rtc/rtc-lpc32xx.c b/drivers/rtc/rtc-lpc32xx.c index f130c08c98f8..f923f7324788 100644 --- a/drivers/rtc/rtc-lpc32xx.c +++ b/drivers/rtc/rtc-lpc32xx.c | |||
@@ -379,7 +379,6 @@ static struct platform_driver lpc32xx_rtc_driver = { | |||
379 | .remove = lpc32xx_rtc_remove, | 379 | .remove = lpc32xx_rtc_remove, |
380 | .driver = { | 380 | .driver = { |
381 | .name = RTC_NAME, | 381 | .name = RTC_NAME, |
382 | .owner = THIS_MODULE, | ||
383 | .pm = LPC32XX_RTC_PM_OPS, | 382 | .pm = LPC32XX_RTC_PM_OPS, |
384 | .of_match_table = of_match_ptr(lpc32xx_rtc_match), | 383 | .of_match_table = of_match_ptr(lpc32xx_rtc_match), |
385 | }, | 384 | }, |
diff --git a/drivers/rtc/rtc-ls1x.c b/drivers/rtc/rtc-ls1x.c index 682ecb094839..8445e564094a 100644 --- a/drivers/rtc/rtc-ls1x.c +++ b/drivers/rtc/rtc-ls1x.c | |||
@@ -188,7 +188,6 @@ err: | |||
188 | static struct platform_driver ls1x_rtc_driver = { | 188 | static struct platform_driver ls1x_rtc_driver = { |
189 | .driver = { | 189 | .driver = { |
190 | .name = "ls1x-rtc", | 190 | .name = "ls1x-rtc", |
191 | .owner = THIS_MODULE, | ||
192 | }, | 191 | }, |
193 | .probe = ls1x_rtc_probe, | 192 | .probe = ls1x_rtc_probe, |
194 | }; | 193 | }; |
diff --git a/drivers/rtc/rtc-m48t35.c b/drivers/rtc/rtc-m48t35.c index 411adb3f86a1..c62b51217ecf 100644 --- a/drivers/rtc/rtc-m48t35.c +++ b/drivers/rtc/rtc-m48t35.c | |||
@@ -181,7 +181,6 @@ static int m48t35_probe(struct platform_device *pdev) | |||
181 | static struct platform_driver m48t35_platform_driver = { | 181 | static struct platform_driver m48t35_platform_driver = { |
182 | .driver = { | 182 | .driver = { |
183 | .name = "rtc-m48t35", | 183 | .name = "rtc-m48t35", |
184 | .owner = THIS_MODULE, | ||
185 | }, | 184 | }, |
186 | .probe = m48t35_probe, | 185 | .probe = m48t35_probe, |
187 | }; | 186 | }; |
diff --git a/drivers/rtc/rtc-m48t59.c b/drivers/rtc/rtc-m48t59.c index 11880c1e9dac..90abb5bd589c 100644 --- a/drivers/rtc/rtc-m48t59.c +++ b/drivers/rtc/rtc-m48t59.c | |||
@@ -504,7 +504,6 @@ MODULE_ALIAS("platform:rtc-m48t59"); | |||
504 | static struct platform_driver m48t59_rtc_driver = { | 504 | static struct platform_driver m48t59_rtc_driver = { |
505 | .driver = { | 505 | .driver = { |
506 | .name = "rtc-m48t59", | 506 | .name = "rtc-m48t59", |
507 | .owner = THIS_MODULE, | ||
508 | }, | 507 | }, |
509 | .probe = m48t59_rtc_probe, | 508 | .probe = m48t59_rtc_probe, |
510 | .remove = m48t59_rtc_remove, | 509 | .remove = m48t59_rtc_remove, |
diff --git a/drivers/rtc/rtc-m48t86.c b/drivers/rtc/rtc-m48t86.c index 32f64c942621..a17b7a3ceece 100644 --- a/drivers/rtc/rtc-m48t86.c +++ b/drivers/rtc/rtc-m48t86.c | |||
@@ -169,7 +169,6 @@ static int m48t86_rtc_probe(struct platform_device *dev) | |||
169 | static struct platform_driver m48t86_rtc_platform_driver = { | 169 | static struct platform_driver m48t86_rtc_platform_driver = { |
170 | .driver = { | 170 | .driver = { |
171 | .name = "rtc-m48t86", | 171 | .name = "rtc-m48t86", |
172 | .owner = THIS_MODULE, | ||
173 | }, | 172 | }, |
174 | .probe = m48t86_rtc_probe, | 173 | .probe = m48t86_rtc_probe, |
175 | }; | 174 | }; |
diff --git a/drivers/rtc/rtc-max77686.c b/drivers/rtc/rtc-max77686.c index cf73e969c8cc..9d71328e59b9 100644 --- a/drivers/rtc/rtc-max77686.c +++ b/drivers/rtc/rtc-max77686.c | |||
@@ -513,7 +513,6 @@ static const struct platform_device_id rtc_id[] = { | |||
513 | static struct platform_driver max77686_rtc_driver = { | 513 | static struct platform_driver max77686_rtc_driver = { |
514 | .driver = { | 514 | .driver = { |
515 | .name = "max77686-rtc", | 515 | .name = "max77686-rtc", |
516 | .owner = THIS_MODULE, | ||
517 | .pm = &max77686_rtc_pm_ops, | 516 | .pm = &max77686_rtc_pm_ops, |
518 | }, | 517 | }, |
519 | .probe = max77686_rtc_probe, | 518 | .probe = max77686_rtc_probe, |
diff --git a/drivers/rtc/rtc-max77802.c b/drivers/rtc/rtc-max77802.c index 566471335b33..7f8adf8d6feb 100644 --- a/drivers/rtc/rtc-max77802.c +++ b/drivers/rtc/rtc-max77802.c | |||
@@ -488,7 +488,6 @@ static const struct platform_device_id rtc_id[] = { | |||
488 | static struct platform_driver max77802_rtc_driver = { | 488 | static struct platform_driver max77802_rtc_driver = { |
489 | .driver = { | 489 | .driver = { |
490 | .name = "max77802-rtc", | 490 | .name = "max77802-rtc", |
491 | .owner = THIS_MODULE, | ||
492 | .pm = &max77802_rtc_pm_ops, | 491 | .pm = &max77802_rtc_pm_ops, |
493 | }, | 492 | }, |
494 | .probe = max77802_rtc_probe, | 493 | .probe = max77802_rtc_probe, |
diff --git a/drivers/rtc/rtc-max8907.c b/drivers/rtc/rtc-max8907.c index 3032178bd9e6..19c29b72598d 100644 --- a/drivers/rtc/rtc-max8907.c +++ b/drivers/rtc/rtc-max8907.c | |||
@@ -215,7 +215,6 @@ static int max8907_rtc_probe(struct platform_device *pdev) | |||
215 | static struct platform_driver max8907_rtc_driver = { | 215 | static struct platform_driver max8907_rtc_driver = { |
216 | .driver = { | 216 | .driver = { |
217 | .name = "max8907-rtc", | 217 | .name = "max8907-rtc", |
218 | .owner = THIS_MODULE, | ||
219 | }, | 218 | }, |
220 | .probe = max8907_rtc_probe, | 219 | .probe = max8907_rtc_probe, |
221 | }; | 220 | }; |
diff --git a/drivers/rtc/rtc-max8925.c b/drivers/rtc/rtc-max8925.c index 951d1a78e190..16d129a0bb3b 100644 --- a/drivers/rtc/rtc-max8925.c +++ b/drivers/rtc/rtc-max8925.c | |||
@@ -314,7 +314,6 @@ static SIMPLE_DEV_PM_OPS(max8925_rtc_pm_ops, max8925_rtc_suspend, max8925_rtc_re | |||
314 | static struct platform_driver max8925_rtc_driver = { | 314 | static struct platform_driver max8925_rtc_driver = { |
315 | .driver = { | 315 | .driver = { |
316 | .name = "max8925-rtc", | 316 | .name = "max8925-rtc", |
317 | .owner = THIS_MODULE, | ||
318 | .pm = &max8925_rtc_pm_ops, | 317 | .pm = &max8925_rtc_pm_ops, |
319 | }, | 318 | }, |
320 | .probe = max8925_rtc_probe, | 319 | .probe = max8925_rtc_probe, |
diff --git a/drivers/rtc/rtc-max8997.c b/drivers/rtc/rtc-max8997.c index 0777c01b58e0..67fbe559d535 100644 --- a/drivers/rtc/rtc-max8997.c +++ b/drivers/rtc/rtc-max8997.c | |||
@@ -523,7 +523,6 @@ static const struct platform_device_id rtc_id[] = { | |||
523 | static struct platform_driver max8997_rtc_driver = { | 523 | static struct platform_driver max8997_rtc_driver = { |
524 | .driver = { | 524 | .driver = { |
525 | .name = "max8997-rtc", | 525 | .name = "max8997-rtc", |
526 | .owner = THIS_MODULE, | ||
527 | }, | 526 | }, |
528 | .probe = max8997_rtc_probe, | 527 | .probe = max8997_rtc_probe, |
529 | .shutdown = max8997_rtc_shutdown, | 528 | .shutdown = max8997_rtc_shutdown, |
diff --git a/drivers/rtc/rtc-max8998.c b/drivers/rtc/rtc-max8998.c index f098ad8382de..5726ef7bd56e 100644 --- a/drivers/rtc/rtc-max8998.c +++ b/drivers/rtc/rtc-max8998.c | |||
@@ -313,7 +313,6 @@ static const struct platform_device_id max8998_rtc_id[] = { | |||
313 | static struct platform_driver max8998_rtc_driver = { | 313 | static struct platform_driver max8998_rtc_driver = { |
314 | .driver = { | 314 | .driver = { |
315 | .name = "max8998-rtc", | 315 | .name = "max8998-rtc", |
316 | .owner = THIS_MODULE, | ||
317 | }, | 316 | }, |
318 | .probe = max8998_rtc_probe, | 317 | .probe = max8998_rtc_probe, |
319 | .id_table = max8998_rtc_id, | 318 | .id_table = max8998_rtc_id, |
diff --git a/drivers/rtc/rtc-mc13xxx.c b/drivers/rtc/rtc-mc13xxx.c index 0765606a2d14..5bce904b7ee6 100644 --- a/drivers/rtc/rtc-mc13xxx.c +++ b/drivers/rtc/rtc-mc13xxx.c | |||
@@ -370,7 +370,6 @@ static struct platform_driver mc13xxx_rtc_driver = { | |||
370 | .remove = mc13xxx_rtc_remove, | 370 | .remove = mc13xxx_rtc_remove, |
371 | .driver = { | 371 | .driver = { |
372 | .name = DRIVER_NAME, | 372 | .name = DRIVER_NAME, |
373 | .owner = THIS_MODULE, | ||
374 | }, | 373 | }, |
375 | }; | 374 | }; |
376 | 375 | ||
diff --git a/drivers/rtc/rtc-moxart.c b/drivers/rtc/rtc-moxart.c index c31846238871..73759c9a4527 100644 --- a/drivers/rtc/rtc-moxart.c +++ b/drivers/rtc/rtc-moxart.c | |||
@@ -317,7 +317,6 @@ static struct platform_driver moxart_rtc_driver = { | |||
317 | .probe = moxart_rtc_probe, | 317 | .probe = moxart_rtc_probe, |
318 | .driver = { | 318 | .driver = { |
319 | .name = "moxart-rtc", | 319 | .name = "moxart-rtc", |
320 | .owner = THIS_MODULE, | ||
321 | .of_match_table = moxart_rtc_match, | 320 | .of_match_table = moxart_rtc_match, |
322 | }, | 321 | }, |
323 | }; | 322 | }; |
diff --git a/drivers/rtc/rtc-mpc5121.c b/drivers/rtc/rtc-mpc5121.c index 3b965ad6f4d5..1767e18d5bd4 100644 --- a/drivers/rtc/rtc-mpc5121.c +++ b/drivers/rtc/rtc-mpc5121.c | |||
@@ -411,7 +411,6 @@ static const struct of_device_id mpc5121_rtc_match[] = { | |||
411 | static struct platform_driver mpc5121_rtc_driver = { | 411 | static struct platform_driver mpc5121_rtc_driver = { |
412 | .driver = { | 412 | .driver = { |
413 | .name = "mpc5121-rtc", | 413 | .name = "mpc5121-rtc", |
414 | .owner = THIS_MODULE, | ||
415 | .of_match_table = of_match_ptr(mpc5121_rtc_match), | 414 | .of_match_table = of_match_ptr(mpc5121_rtc_match), |
416 | }, | 415 | }, |
417 | .probe = mpc5121_rtc_probe, | 416 | .probe = mpc5121_rtc_probe, |
diff --git a/drivers/rtc/rtc-msm6242.c b/drivers/rtc/rtc-msm6242.c index 426cb5189daa..9bf877bdf836 100644 --- a/drivers/rtc/rtc-msm6242.c +++ b/drivers/rtc/rtc-msm6242.c | |||
@@ -225,7 +225,6 @@ static int __init msm6242_rtc_probe(struct platform_device *pdev) | |||
225 | static struct platform_driver msm6242_rtc_driver = { | 225 | static struct platform_driver msm6242_rtc_driver = { |
226 | .driver = { | 226 | .driver = { |
227 | .name = "rtc-msm6242", | 227 | .name = "rtc-msm6242", |
228 | .owner = THIS_MODULE, | ||
229 | }, | 228 | }, |
230 | }; | 229 | }; |
231 | 230 | ||
diff --git a/drivers/rtc/rtc-mv.c b/drivers/rtc/rtc-mv.c index 6aaec2fc7c0d..423762241042 100644 --- a/drivers/rtc/rtc-mv.c +++ b/drivers/rtc/rtc-mv.c | |||
@@ -329,7 +329,6 @@ static struct platform_driver mv_rtc_driver = { | |||
329 | .remove = __exit_p(mv_rtc_remove), | 329 | .remove = __exit_p(mv_rtc_remove), |
330 | .driver = { | 330 | .driver = { |
331 | .name = "rtc-mv", | 331 | .name = "rtc-mv", |
332 | .owner = THIS_MODULE, | ||
333 | .of_match_table = of_match_ptr(rtc_mv_of_match_table), | 332 | .of_match_table = of_match_ptr(rtc_mv_of_match_table), |
334 | }, | 333 | }, |
335 | }; | 334 | }; |
diff --git a/drivers/rtc/rtc-mxc.c b/drivers/rtc/rtc-mxc.c index 419874fefa4b..3c3f8d10ab43 100644 --- a/drivers/rtc/rtc-mxc.c +++ b/drivers/rtc/rtc-mxc.c | |||
@@ -489,7 +489,6 @@ static struct platform_driver mxc_rtc_driver = { | |||
489 | .driver = { | 489 | .driver = { |
490 | .name = "mxc_rtc", | 490 | .name = "mxc_rtc", |
491 | .pm = &mxc_rtc_pm_ops, | 491 | .pm = &mxc_rtc_pm_ops, |
492 | .owner = THIS_MODULE, | ||
493 | }, | 492 | }, |
494 | .id_table = imx_rtc_devtype, | 493 | .id_table = imx_rtc_devtype, |
495 | .probe = mxc_rtc_probe, | 494 | .probe = mxc_rtc_probe, |
diff --git a/drivers/rtc/rtc-nuc900.c b/drivers/rtc/rtc-nuc900.c index a53da0958e95..09fc1c19f0df 100644 --- a/drivers/rtc/rtc-nuc900.c +++ b/drivers/rtc/rtc-nuc900.c | |||
@@ -262,7 +262,6 @@ static int __init nuc900_rtc_probe(struct platform_device *pdev) | |||
262 | static struct platform_driver nuc900_rtc_driver = { | 262 | static struct platform_driver nuc900_rtc_driver = { |
263 | .driver = { | 263 | .driver = { |
264 | .name = "nuc900-rtc", | 264 | .name = "nuc900-rtc", |
265 | .owner = THIS_MODULE, | ||
266 | }, | 265 | }, |
267 | }; | 266 | }; |
268 | 267 | ||
diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c index 21142e6574a9..ae444a8bd602 100644 --- a/drivers/rtc/rtc-omap.c +++ b/drivers/rtc/rtc-omap.c | |||
@@ -569,7 +569,6 @@ static struct platform_driver omap_rtc_driver = { | |||
569 | .shutdown = omap_rtc_shutdown, | 569 | .shutdown = omap_rtc_shutdown, |
570 | .driver = { | 570 | .driver = { |
571 | .name = DRIVER_NAME, | 571 | .name = DRIVER_NAME, |
572 | .owner = THIS_MODULE, | ||
573 | .pm = &omap_rtc_pm_ops, | 572 | .pm = &omap_rtc_pm_ops, |
574 | .of_match_table = omap_rtc_of_match, | 573 | .of_match_table = omap_rtc_of_match, |
575 | }, | 574 | }, |
diff --git a/drivers/rtc/rtc-palmas.c b/drivers/rtc/rtc-palmas.c index 4dfe2d793fa3..3b01d567496d 100644 --- a/drivers/rtc/rtc-palmas.c +++ b/drivers/rtc/rtc-palmas.c | |||
@@ -363,7 +363,6 @@ static struct platform_driver palmas_rtc_driver = { | |||
363 | .probe = palmas_rtc_probe, | 363 | .probe = palmas_rtc_probe, |
364 | .remove = palmas_rtc_remove, | 364 | .remove = palmas_rtc_remove, |
365 | .driver = { | 365 | .driver = { |
366 | .owner = THIS_MODULE, | ||
367 | .name = "palmas-rtc", | 366 | .name = "palmas-rtc", |
368 | .pm = &palmas_rtc_pm_ops, | 367 | .pm = &palmas_rtc_pm_ops, |
369 | .of_match_table = of_match_ptr(of_palmas_rtc_match), | 368 | .of_match_table = of_match_ptr(of_palmas_rtc_match), |
diff --git a/drivers/rtc/rtc-pcap.c b/drivers/rtc/rtc-pcap.c index 40b5c630bc7d..c4433240d8a9 100644 --- a/drivers/rtc/rtc-pcap.c +++ b/drivers/rtc/rtc-pcap.c | |||
@@ -184,7 +184,6 @@ static struct platform_driver pcap_rtc_driver = { | |||
184 | .remove = __exit_p(pcap_rtc_remove), | 184 | .remove = __exit_p(pcap_rtc_remove), |
185 | .driver = { | 185 | .driver = { |
186 | .name = "pcap-rtc", | 186 | .name = "pcap-rtc", |
187 | .owner = THIS_MODULE, | ||
188 | }, | 187 | }, |
189 | }; | 188 | }; |
190 | 189 | ||
diff --git a/drivers/rtc/rtc-pm8xxx.c b/drivers/rtc/rtc-pm8xxx.c index 197699f358c7..26a5351c0a3d 100644 --- a/drivers/rtc/rtc-pm8xxx.c +++ b/drivers/rtc/rtc-pm8xxx.c | |||
@@ -485,7 +485,6 @@ static struct platform_driver pm8xxx_rtc_driver = { | |||
485 | .probe = pm8xxx_rtc_probe, | 485 | .probe = pm8xxx_rtc_probe, |
486 | .driver = { | 486 | .driver = { |
487 | .name = "rtc-pm8xxx", | 487 | .name = "rtc-pm8xxx", |
488 | .owner = THIS_MODULE, | ||
489 | .pm = &pm8xxx_rtc_pm_ops, | 488 | .pm = &pm8xxx_rtc_pm_ops, |
490 | .of_match_table = pm8xxx_id_table, | 489 | .of_match_table = pm8xxx_id_table, |
491 | }, | 490 | }, |
diff --git a/drivers/rtc/rtc-ps3.c b/drivers/rtc/rtc-ps3.c index 554ada5e9b76..6a8f5d758eac 100644 --- a/drivers/rtc/rtc-ps3.c +++ b/drivers/rtc/rtc-ps3.c | |||
@@ -74,7 +74,6 @@ static int __init ps3_rtc_probe(struct platform_device *dev) | |||
74 | static struct platform_driver ps3_rtc_driver = { | 74 | static struct platform_driver ps3_rtc_driver = { |
75 | .driver = { | 75 | .driver = { |
76 | .name = "rtc-ps3", | 76 | .name = "rtc-ps3", |
77 | .owner = THIS_MODULE, | ||
78 | }, | 77 | }, |
79 | }; | 78 | }; |
80 | 79 | ||
diff --git a/drivers/rtc/rtc-puv3.c b/drivers/rtc/rtc-puv3.c index 1cff2a21db67..c0a6e638c672 100644 --- a/drivers/rtc/rtc-puv3.c +++ b/drivers/rtc/rtc-puv3.c | |||
@@ -328,7 +328,6 @@ static struct platform_driver puv3_rtc_driver = { | |||
328 | .remove = puv3_rtc_remove, | 328 | .remove = puv3_rtc_remove, |
329 | .driver = { | 329 | .driver = { |
330 | .name = "PKUnity-v3-RTC", | 330 | .name = "PKUnity-v3-RTC", |
331 | .owner = THIS_MODULE, | ||
332 | .pm = &puv3_rtc_pm_ops, | 331 | .pm = &puv3_rtc_pm_ops, |
333 | } | 332 | } |
334 | }; | 333 | }; |
diff --git a/drivers/rtc/rtc-rc5t583.c b/drivers/rtc/rtc-rc5t583.c index e53e9b1c69b3..f28d57788951 100644 --- a/drivers/rtc/rtc-rc5t583.c +++ b/drivers/rtc/rtc-rc5t583.c | |||
@@ -310,7 +310,6 @@ static struct platform_driver rc5t583_rtc_driver = { | |||
310 | .probe = rc5t583_rtc_probe, | 310 | .probe = rc5t583_rtc_probe, |
311 | .remove = rc5t583_rtc_remove, | 311 | .remove = rc5t583_rtc_remove, |
312 | .driver = { | 312 | .driver = { |
313 | .owner = THIS_MODULE, | ||
314 | .name = "rtc-rc5t583", | 313 | .name = "rtc-rc5t583", |
315 | .pm = &rc5t583_rtc_pm_ops, | 314 | .pm = &rc5t583_rtc_pm_ops, |
316 | }, | 315 | }, |
diff --git a/drivers/rtc/rtc-rp5c01.c b/drivers/rtc/rtc-rp5c01.c index 89d073679267..b548551f385c 100644 --- a/drivers/rtc/rtc-rp5c01.c +++ b/drivers/rtc/rtc-rp5c01.c | |||
@@ -273,7 +273,6 @@ static int __exit rp5c01_rtc_remove(struct platform_device *dev) | |||
273 | static struct platform_driver rp5c01_rtc_driver = { | 273 | static struct platform_driver rp5c01_rtc_driver = { |
274 | .driver = { | 274 | .driver = { |
275 | .name = "rtc-rp5c01", | 275 | .name = "rtc-rp5c01", |
276 | .owner = THIS_MODULE, | ||
277 | }, | 276 | }, |
278 | .remove = __exit_p(rp5c01_rtc_remove), | 277 | .remove = __exit_p(rp5c01_rtc_remove), |
279 | }; | 278 | }; |
diff --git a/drivers/rtc/rtc-rs5c313.c b/drivers/rtc/rtc-rs5c313.c index 68f7856422f1..5f48167c802a 100644 --- a/drivers/rtc/rtc-rs5c313.c +++ b/drivers/rtc/rtc-rs5c313.c | |||
@@ -381,7 +381,6 @@ static int rs5c313_rtc_probe(struct platform_device *pdev) | |||
381 | static struct platform_driver rs5c313_rtc_platform_driver = { | 381 | static struct platform_driver rs5c313_rtc_platform_driver = { |
382 | .driver = { | 382 | .driver = { |
383 | .name = DRV_NAME, | 383 | .name = DRV_NAME, |
384 | .owner = THIS_MODULE, | ||
385 | }, | 384 | }, |
386 | .probe = rs5c313_rtc_probe, | 385 | .probe = rs5c313_rtc_probe, |
387 | }; | 386 | }; |
diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c index a6b1252c9941..c44e5f2767b4 100644 --- a/drivers/rtc/rtc-s3c.c +++ b/drivers/rtc/rtc-s3c.c | |||
@@ -894,7 +894,6 @@ static struct platform_driver s3c_rtc_driver = { | |||
894 | .remove = s3c_rtc_remove, | 894 | .remove = s3c_rtc_remove, |
895 | .driver = { | 895 | .driver = { |
896 | .name = "s3c-rtc", | 896 | .name = "s3c-rtc", |
897 | .owner = THIS_MODULE, | ||
898 | .pm = &s3c_rtc_pm_ops, | 897 | .pm = &s3c_rtc_pm_ops, |
899 | .of_match_table = of_match_ptr(s3c_rtc_dt_match), | 898 | .of_match_table = of_match_ptr(s3c_rtc_dt_match), |
900 | }, | 899 | }, |
diff --git a/drivers/rtc/rtc-s5m.c b/drivers/rtc/rtc-s5m.c index 8754c33361e8..b5e7c4670205 100644 --- a/drivers/rtc/rtc-s5m.c +++ b/drivers/rtc/rtc-s5m.c | |||
@@ -837,7 +837,6 @@ static const struct platform_device_id s5m_rtc_id[] = { | |||
837 | static struct platform_driver s5m_rtc_driver = { | 837 | static struct platform_driver s5m_rtc_driver = { |
838 | .driver = { | 838 | .driver = { |
839 | .name = "s5m-rtc", | 839 | .name = "s5m-rtc", |
840 | .owner = THIS_MODULE, | ||
841 | .pm = &s5m_rtc_pm_ops, | 840 | .pm = &s5m_rtc_pm_ops, |
842 | }, | 841 | }, |
843 | .probe = s5m_rtc_probe, | 842 | .probe = s5m_rtc_probe, |
diff --git a/drivers/rtc/rtc-sh.c b/drivers/rtc/rtc-sh.c index d0d2b047658b..2b81dd4baf17 100644 --- a/drivers/rtc/rtc-sh.c +++ b/drivers/rtc/rtc-sh.c | |||
@@ -782,7 +782,6 @@ static SIMPLE_DEV_PM_OPS(sh_rtc_pm_ops, sh_rtc_suspend, sh_rtc_resume); | |||
782 | static struct platform_driver sh_rtc_platform_driver = { | 782 | static struct platform_driver sh_rtc_platform_driver = { |
783 | .driver = { | 783 | .driver = { |
784 | .name = DRV_NAME, | 784 | .name = DRV_NAME, |
785 | .owner = THIS_MODULE, | ||
786 | .pm = &sh_rtc_pm_ops, | 785 | .pm = &sh_rtc_pm_ops, |
787 | }, | 786 | }, |
788 | .remove = __exit_p(sh_rtc_remove), | 787 | .remove = __exit_p(sh_rtc_remove), |
diff --git a/drivers/rtc/rtc-sirfsoc.c b/drivers/rtc/rtc-sirfsoc.c index 76e38007ba90..52db89e25959 100644 --- a/drivers/rtc/rtc-sirfsoc.c +++ b/drivers/rtc/rtc-sirfsoc.c | |||
@@ -408,7 +408,6 @@ static SIMPLE_DEV_PM_OPS(sirfsoc_rtc_pm_ops, | |||
408 | static struct platform_driver sirfsoc_rtc_driver = { | 408 | static struct platform_driver sirfsoc_rtc_driver = { |
409 | .driver = { | 409 | .driver = { |
410 | .name = "sirfsoc-rtc", | 410 | .name = "sirfsoc-rtc", |
411 | .owner = THIS_MODULE, | ||
412 | .pm = &sirfsoc_rtc_pm_ops, | 411 | .pm = &sirfsoc_rtc_pm_ops, |
413 | .of_match_table = sirfsoc_rtc_of_match, | 412 | .of_match_table = sirfsoc_rtc_of_match, |
414 | }, | 413 | }, |
diff --git a/drivers/rtc/rtc-snvs.c b/drivers/rtc/rtc-snvs.c index fa384fe28988..f04c378b781a 100644 --- a/drivers/rtc/rtc-snvs.c +++ b/drivers/rtc/rtc-snvs.c | |||
@@ -327,7 +327,6 @@ MODULE_DEVICE_TABLE(of, snvs_dt_ids); | |||
327 | static struct platform_driver snvs_rtc_driver = { | 327 | static struct platform_driver snvs_rtc_driver = { |
328 | .driver = { | 328 | .driver = { |
329 | .name = "snvs_rtc", | 329 | .name = "snvs_rtc", |
330 | .owner = THIS_MODULE, | ||
331 | .pm = &snvs_rtc_pm_ops, | 330 | .pm = &snvs_rtc_pm_ops, |
332 | .of_match_table = snvs_dt_ids, | 331 | .of_match_table = snvs_dt_ids, |
333 | }, | 332 | }, |
diff --git a/drivers/rtc/rtc-starfire.c b/drivers/rtc/rtc-starfire.c index f7d8a6db8078..83a057a03060 100644 --- a/drivers/rtc/rtc-starfire.c +++ b/drivers/rtc/rtc-starfire.c | |||
@@ -54,7 +54,6 @@ static int __init starfire_rtc_probe(struct platform_device *pdev) | |||
54 | static struct platform_driver starfire_rtc_driver = { | 54 | static struct platform_driver starfire_rtc_driver = { |
55 | .driver = { | 55 | .driver = { |
56 | .name = "rtc-starfire", | 56 | .name = "rtc-starfire", |
57 | .owner = THIS_MODULE, | ||
58 | }, | 57 | }, |
59 | }; | 58 | }; |
60 | 59 | ||
diff --git a/drivers/rtc/rtc-stk17ta8.c b/drivers/rtc/rtc-stk17ta8.c index 35ed49ea1f81..0e93b714ee41 100644 --- a/drivers/rtc/rtc-stk17ta8.c +++ b/drivers/rtc/rtc-stk17ta8.c | |||
@@ -358,7 +358,6 @@ static struct platform_driver stk17ta8_rtc_driver = { | |||
358 | .remove = stk17ta8_rtc_remove, | 358 | .remove = stk17ta8_rtc_remove, |
359 | .driver = { | 359 | .driver = { |
360 | .name = "stk17ta8", | 360 | .name = "stk17ta8", |
361 | .owner = THIS_MODULE, | ||
362 | }, | 361 | }, |
363 | }; | 362 | }; |
364 | 363 | ||
diff --git a/drivers/rtc/rtc-stmp3xxx.c b/drivers/rtc/rtc-stmp3xxx.c index ea96492357b0..2939cdcb2688 100644 --- a/drivers/rtc/rtc-stmp3xxx.c +++ b/drivers/rtc/rtc-stmp3xxx.c | |||
@@ -341,7 +341,6 @@ static struct platform_driver stmp3xxx_rtcdrv = { | |||
341 | .remove = stmp3xxx_rtc_remove, | 341 | .remove = stmp3xxx_rtc_remove, |
342 | .driver = { | 342 | .driver = { |
343 | .name = "stmp3xxx-rtc", | 343 | .name = "stmp3xxx-rtc", |
344 | .owner = THIS_MODULE, | ||
345 | .pm = &stmp3xxx_rtc_pm_ops, | 344 | .pm = &stmp3xxx_rtc_pm_ops, |
346 | .of_match_table = rtc_dt_ids, | 345 | .of_match_table = rtc_dt_ids, |
347 | }, | 346 | }, |
diff --git a/drivers/rtc/rtc-sun4v.c b/drivers/rtc/rtc-sun4v.c index bc97ff91341d..7c696c12f28f 100644 --- a/drivers/rtc/rtc-sun4v.c +++ b/drivers/rtc/rtc-sun4v.c | |||
@@ -95,7 +95,6 @@ static int __init sun4v_rtc_probe(struct platform_device *pdev) | |||
95 | static struct platform_driver sun4v_rtc_driver = { | 95 | static struct platform_driver sun4v_rtc_driver = { |
96 | .driver = { | 96 | .driver = { |
97 | .name = "rtc-sun4v", | 97 | .name = "rtc-sun4v", |
98 | .owner = THIS_MODULE, | ||
99 | }, | 98 | }, |
100 | }; | 99 | }; |
101 | 100 | ||
diff --git a/drivers/rtc/rtc-sunxi.c b/drivers/rtc/rtc-sunxi.c index b6f21f73d508..6e678fa4dfaf 100644 --- a/drivers/rtc/rtc-sunxi.c +++ b/drivers/rtc/rtc-sunxi.c | |||
@@ -511,7 +511,6 @@ static struct platform_driver sunxi_rtc_driver = { | |||
511 | .remove = sunxi_rtc_remove, | 511 | .remove = sunxi_rtc_remove, |
512 | .driver = { | 512 | .driver = { |
513 | .name = "sunxi-rtc", | 513 | .name = "sunxi-rtc", |
514 | .owner = THIS_MODULE, | ||
515 | .of_match_table = sunxi_rtc_dt_ids, | 514 | .of_match_table = sunxi_rtc_dt_ids, |
516 | }, | 515 | }, |
517 | }; | 516 | }; |
diff --git a/drivers/rtc/rtc-tegra.c b/drivers/rtc/rtc-tegra.c index 76af92ad5a8a..d948277057d8 100644 --- a/drivers/rtc/rtc-tegra.c +++ b/drivers/rtc/rtc-tegra.c | |||
@@ -420,7 +420,6 @@ static struct platform_driver tegra_rtc_driver = { | |||
420 | .shutdown = tegra_rtc_shutdown, | 420 | .shutdown = tegra_rtc_shutdown, |
421 | .driver = { | 421 | .driver = { |
422 | .name = "tegra_rtc", | 422 | .name = "tegra_rtc", |
423 | .owner = THIS_MODULE, | ||
424 | .of_match_table = tegra_rtc_dt_match, | 423 | .of_match_table = tegra_rtc_dt_match, |
425 | .pm = &tegra_rtc_pm_ops, | 424 | .pm = &tegra_rtc_pm_ops, |
426 | }, | 425 | }, |
diff --git a/drivers/rtc/rtc-test.c b/drivers/rtc/rtc-test.c index 6599c20bc454..8f86fa91de1a 100644 --- a/drivers/rtc/rtc-test.c +++ b/drivers/rtc/rtc-test.c | |||
@@ -129,7 +129,6 @@ static struct platform_driver test_driver = { | |||
129 | .remove = test_remove, | 129 | .remove = test_remove, |
130 | .driver = { | 130 | .driver = { |
131 | .name = "rtc-test", | 131 | .name = "rtc-test", |
132 | .owner = THIS_MODULE, | ||
133 | }, | 132 | }, |
134 | }; | 133 | }; |
135 | 134 | ||
diff --git a/drivers/rtc/rtc-tile.c b/drivers/rtc/rtc-tile.c index ff9632eb79f2..0b60867d8390 100644 --- a/drivers/rtc/rtc-tile.c +++ b/drivers/rtc/rtc-tile.c | |||
@@ -94,7 +94,6 @@ static int tile_rtc_probe(struct platform_device *dev) | |||
94 | static struct platform_driver tile_rtc_platform_driver = { | 94 | static struct platform_driver tile_rtc_platform_driver = { |
95 | .driver = { | 95 | .driver = { |
96 | .name = "rtc-tile", | 96 | .name = "rtc-tile", |
97 | .owner = THIS_MODULE, | ||
98 | }, | 97 | }, |
99 | .probe = tile_rtc_probe, | 98 | .probe = tile_rtc_probe, |
100 | }; | 99 | }; |
diff --git a/drivers/rtc/rtc-tps6586x.c b/drivers/rtc/rtc-tps6586x.c index 426901cef14f..3b6ce80a769c 100644 --- a/drivers/rtc/rtc-tps6586x.c +++ b/drivers/rtc/rtc-tps6586x.c | |||
@@ -337,7 +337,6 @@ static SIMPLE_DEV_PM_OPS(tps6586x_pm_ops, tps6586x_rtc_suspend, | |||
337 | static struct platform_driver tps6586x_rtc_driver = { | 337 | static struct platform_driver tps6586x_rtc_driver = { |
338 | .driver = { | 338 | .driver = { |
339 | .name = "tps6586x-rtc", | 339 | .name = "tps6586x-rtc", |
340 | .owner = THIS_MODULE, | ||
341 | .pm = &tps6586x_pm_ops, | 340 | .pm = &tps6586x_pm_ops, |
342 | }, | 341 | }, |
343 | .probe = tps6586x_rtc_probe, | 342 | .probe = tps6586x_rtc_probe, |
diff --git a/drivers/rtc/rtc-tps65910.c b/drivers/rtc/rtc-tps65910.c index 2583349fbde5..f42aa2b2dcba 100644 --- a/drivers/rtc/rtc-tps65910.c +++ b/drivers/rtc/rtc-tps65910.c | |||
@@ -326,7 +326,6 @@ static struct platform_driver tps65910_rtc_driver = { | |||
326 | .probe = tps65910_rtc_probe, | 326 | .probe = tps65910_rtc_probe, |
327 | .remove = tps65910_rtc_remove, | 327 | .remove = tps65910_rtc_remove, |
328 | .driver = { | 328 | .driver = { |
329 | .owner = THIS_MODULE, | ||
330 | .name = "tps65910-rtc", | 329 | .name = "tps65910-rtc", |
331 | .pm = &tps65910_rtc_pm_ops, | 330 | .pm = &tps65910_rtc_pm_ops, |
332 | }, | 331 | }, |
diff --git a/drivers/rtc/rtc-tps80031.c b/drivers/rtc/rtc-tps80031.c index 3e400dce2d06..27e254cde715 100644 --- a/drivers/rtc/rtc-tps80031.c +++ b/drivers/rtc/rtc-tps80031.c | |||
@@ -324,7 +324,6 @@ static SIMPLE_DEV_PM_OPS(tps80031_pm_ops, tps80031_rtc_suspend, | |||
324 | static struct platform_driver tps80031_rtc_driver = { | 324 | static struct platform_driver tps80031_rtc_driver = { |
325 | .driver = { | 325 | .driver = { |
326 | .name = "tps80031-rtc", | 326 | .name = "tps80031-rtc", |
327 | .owner = THIS_MODULE, | ||
328 | .pm = &tps80031_pm_ops, | 327 | .pm = &tps80031_pm_ops, |
329 | }, | 328 | }, |
330 | .probe = tps80031_rtc_probe, | 329 | .probe = tps80031_rtc_probe, |
diff --git a/drivers/rtc/rtc-twl.c b/drivers/rtc/rtc-twl.c index 1915464e4cd6..5baea3f54926 100644 --- a/drivers/rtc/rtc-twl.c +++ b/drivers/rtc/rtc-twl.c | |||
@@ -608,7 +608,6 @@ static struct platform_driver twl4030rtc_driver = { | |||
608 | .remove = twl_rtc_remove, | 608 | .remove = twl_rtc_remove, |
609 | .shutdown = twl_rtc_shutdown, | 609 | .shutdown = twl_rtc_shutdown, |
610 | .driver = { | 610 | .driver = { |
611 | .owner = THIS_MODULE, | ||
612 | .name = "twl_rtc", | 611 | .name = "twl_rtc", |
613 | .pm = &twl_rtc_pm_ops, | 612 | .pm = &twl_rtc_pm_ops, |
614 | .of_match_table = of_match_ptr(twl_rtc_of_match), | 613 | .of_match_table = of_match_ptr(twl_rtc_of_match), |
diff --git a/drivers/rtc/rtc-tx4939.c b/drivers/rtc/rtc-tx4939.c index 2e678c681b13..cb7f94ede516 100644 --- a/drivers/rtc/rtc-tx4939.c +++ b/drivers/rtc/rtc-tx4939.c | |||
@@ -287,7 +287,6 @@ static struct platform_driver tx4939_rtc_driver = { | |||
287 | .remove = __exit_p(tx4939_rtc_remove), | 287 | .remove = __exit_p(tx4939_rtc_remove), |
288 | .driver = { | 288 | .driver = { |
289 | .name = "tx4939rtc", | 289 | .name = "tx4939rtc", |
290 | .owner = THIS_MODULE, | ||
291 | }, | 290 | }, |
292 | }; | 291 | }; |
293 | 292 | ||
diff --git a/drivers/rtc/rtc-v3020.c b/drivers/rtc/rtc-v3020.c index 25222cdccdc6..bfbfa7ed7bbf 100644 --- a/drivers/rtc/rtc-v3020.c +++ b/drivers/rtc/rtc-v3020.c | |||
@@ -382,7 +382,6 @@ static struct platform_driver rtc_device_driver = { | |||
382 | .remove = rtc_remove, | 382 | .remove = rtc_remove, |
383 | .driver = { | 383 | .driver = { |
384 | .name = "v3020", | 384 | .name = "v3020", |
385 | .owner = THIS_MODULE, | ||
386 | }, | 385 | }, |
387 | }; | 386 | }; |
388 | 387 | ||
diff --git a/drivers/rtc/rtc-vr41xx.c b/drivers/rtc/rtc-vr41xx.c index 88c9c92e89fd..f64c282275b3 100644 --- a/drivers/rtc/rtc-vr41xx.c +++ b/drivers/rtc/rtc-vr41xx.c | |||
@@ -375,7 +375,6 @@ static struct platform_driver rtc_platform_driver = { | |||
375 | .probe = rtc_probe, | 375 | .probe = rtc_probe, |
376 | .driver = { | 376 | .driver = { |
377 | .name = rtc_name, | 377 | .name = rtc_name, |
378 | .owner = THIS_MODULE, | ||
379 | }, | 378 | }, |
380 | }; | 379 | }; |
381 | 380 | ||
diff --git a/drivers/rtc/rtc-vt8500.c b/drivers/rtc/rtc-vt8500.c index 051da968da6d..a58b6d17e6f0 100644 --- a/drivers/rtc/rtc-vt8500.c +++ b/drivers/rtc/rtc-vt8500.c | |||
@@ -277,7 +277,6 @@ static struct platform_driver vt8500_rtc_driver = { | |||
277 | .remove = vt8500_rtc_remove, | 277 | .remove = vt8500_rtc_remove, |
278 | .driver = { | 278 | .driver = { |
279 | .name = "vt8500-rtc", | 279 | .name = "vt8500-rtc", |
280 | .owner = THIS_MODULE, | ||
281 | .of_match_table = wmt_dt_ids, | 280 | .of_match_table = wmt_dt_ids, |
282 | }, | 281 | }, |
283 | }; | 282 | }; |
diff --git a/drivers/rtc/rtc-xgene.c b/drivers/rtc/rtc-xgene.c index 14129cc85bdb..65b432a096fe 100644 --- a/drivers/rtc/rtc-xgene.c +++ b/drivers/rtc/rtc-xgene.c | |||
@@ -264,7 +264,6 @@ static struct platform_driver xgene_rtc_driver = { | |||
264 | .probe = xgene_rtc_probe, | 264 | .probe = xgene_rtc_probe, |
265 | .remove = xgene_rtc_remove, | 265 | .remove = xgene_rtc_remove, |
266 | .driver = { | 266 | .driver = { |
267 | .owner = THIS_MODULE, | ||
268 | .name = "xgene-rtc", | 267 | .name = "xgene-rtc", |
269 | .pm = &xgene_rtc_pm_ops, | 268 | .pm = &xgene_rtc_pm_ops, |
270 | .of_match_table = of_match_ptr(xgene_rtc_of_match), | 269 | .of_match_table = of_match_ptr(xgene_rtc_of_match), |