diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-12-06 18:33:15 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-06 01:16:25 -0500 |
commit | 2b48716d1d2f2edb1e7cbc5ecf1cb2cb39373e33 (patch) | |
tree | 04c095d45dfa892b7710e338724a1ac4f1da7cba /drivers/media | |
parent | de59cf9ed44f64991e52a9de6094729537f0420c (diff) |
[PATCH] I2C: Remove .owner setting from i2c_driver as it's no longer needed
Now that i2c_add_driver() doesn't need the module owner to be set by
hand, we can delete it from the drivers. This patch catches all of the
drivers that I found in the current tree (if a driver sets the .owner by
hand, it's not a problem, just not needed.)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/media')
37 files changed, 0 insertions, 37 deletions
diff --git a/drivers/media/video/adv7170.c b/drivers/media/video/adv7170.c index c5f1c6b681bd..e61003de1d5f 100644 --- a/drivers/media/video/adv7170.c +++ b/drivers/media/video/adv7170.c | |||
@@ -498,7 +498,6 @@ adv7170_detach_client (struct i2c_client *client) | |||
498 | 498 | ||
499 | static struct i2c_driver i2c_driver_adv7170 = { | 499 | static struct i2c_driver i2c_driver_adv7170 = { |
500 | .driver = { | 500 | .driver = { |
501 | .owner = THIS_MODULE, | ||
502 | .name = "adv7170", /* name */ | 501 | .name = "adv7170", /* name */ |
503 | }, | 502 | }, |
504 | 503 | ||
diff --git a/drivers/media/video/adv7175.c b/drivers/media/video/adv7175.c index 33158aa734d3..6d9536a71ee4 100644 --- a/drivers/media/video/adv7175.c +++ b/drivers/media/video/adv7175.c | |||
@@ -548,7 +548,6 @@ adv7175_detach_client (struct i2c_client *client) | |||
548 | 548 | ||
549 | static struct i2c_driver i2c_driver_adv7175 = { | 549 | static struct i2c_driver i2c_driver_adv7175 = { |
550 | .driver = { | 550 | .driver = { |
551 | .owner = THIS_MODULE, | ||
552 | .name = "adv7175", /* name */ | 551 | .name = "adv7175", /* name */ |
553 | }, | 552 | }, |
554 | 553 | ||
diff --git a/drivers/media/video/bt819.c b/drivers/media/video/bt819.c index 5868bbb73a09..560b99891753 100644 --- a/drivers/media/video/bt819.c +++ b/drivers/media/video/bt819.c | |||
@@ -623,7 +623,6 @@ bt819_detach_client (struct i2c_client *client) | |||
623 | 623 | ||
624 | static struct i2c_driver i2c_driver_bt819 = { | 624 | static struct i2c_driver i2c_driver_bt819 = { |
625 | .driver = { | 625 | .driver = { |
626 | .owner = THIS_MODULE, | ||
627 | .name = "bt819", | 626 | .name = "bt819", |
628 | }, | 627 | }, |
629 | 628 | ||
diff --git a/drivers/media/video/bt832.c b/drivers/media/video/bt832.c index 347eb711fc06..1c3ff5f38a6d 100644 --- a/drivers/media/video/bt832.c +++ b/drivers/media/video/bt832.c | |||
@@ -231,7 +231,6 @@ bt832_command(struct i2c_client *client, unsigned int cmd, void *arg) | |||
231 | 231 | ||
232 | static struct i2c_driver driver = { | 232 | static struct i2c_driver driver = { |
233 | .driver = { | 233 | .driver = { |
234 | .owner = THIS_MODULE, | ||
235 | .name = "i2c bt832 driver", | 234 | .name = "i2c bt832 driver", |
236 | }, | 235 | }, |
237 | .id = -1, /* FIXME */ | 236 | .id = -1, /* FIXME */ |
diff --git a/drivers/media/video/bt856.c b/drivers/media/video/bt856.c index 207525aa156e..60508069bbed 100644 --- a/drivers/media/video/bt856.c +++ b/drivers/media/video/bt856.c | |||
@@ -405,7 +405,6 @@ bt856_detach_client (struct i2c_client *client) | |||
405 | 405 | ||
406 | static struct i2c_driver i2c_driver_bt856 = { | 406 | static struct i2c_driver i2c_driver_bt856 = { |
407 | .driver = { | 407 | .driver = { |
408 | .owner = THIS_MODULE, | ||
409 | .name = "bt856", | 408 | .name = "bt856", |
410 | }, | 409 | }, |
411 | 410 | ||
diff --git a/drivers/media/video/cs53l32a.c b/drivers/media/video/cs53l32a.c index 60484f936489..643ead1a87ee 100644 --- a/drivers/media/video/cs53l32a.c +++ b/drivers/media/video/cs53l32a.c | |||
@@ -217,7 +217,6 @@ static int cs53l32a_detach(struct i2c_client *client) | |||
217 | /* i2c implementation */ | 217 | /* i2c implementation */ |
218 | static struct i2c_driver i2c_driver = { | 218 | static struct i2c_driver i2c_driver = { |
219 | .driver = { | 219 | .driver = { |
220 | .owner = THIS_MODULE, | ||
221 | .name = "cs53l32a", | 220 | .name = "cs53l32a", |
222 | }, | 221 | }, |
223 | .id = I2C_DRIVERID_CS53L32A, | 222 | .id = I2C_DRIVERID_CS53L32A, |
diff --git a/drivers/media/video/cx25840/cx25840-core.c b/drivers/media/video/cx25840/cx25840-core.c index 830d5195d1c0..3b09f46dddf6 100644 --- a/drivers/media/video/cx25840/cx25840-core.c +++ b/drivers/media/video/cx25840/cx25840-core.c | |||
@@ -844,7 +844,6 @@ static int cx25840_detach_client(struct i2c_client *client) | |||
844 | 844 | ||
845 | static struct i2c_driver i2c_driver_cx25840 = { | 845 | static struct i2c_driver i2c_driver_cx25840 = { |
846 | .driver = { | 846 | .driver = { |
847 | .owner = THIS_MODULE, | ||
848 | .name = "cx25840", | 847 | .name = "cx25840", |
849 | }, | 848 | }, |
850 | 849 | ||
diff --git a/drivers/media/video/indycam.c b/drivers/media/video/indycam.c index 96a808e8b2ca..bb5cbecffcc3 100644 --- a/drivers/media/video/indycam.c +++ b/drivers/media/video/indycam.c | |||
@@ -452,7 +452,6 @@ static int indycam_command(struct i2c_client *client, unsigned int cmd, | |||
452 | 452 | ||
453 | static struct i2c_driver i2c_driver_indycam = { | 453 | static struct i2c_driver i2c_driver_indycam = { |
454 | .driver = { | 454 | .driver = { |
455 | .owner = THIS_MODULE, | ||
456 | .name = "indycam", | 455 | .name = "indycam", |
457 | }, | 456 | }, |
458 | .id = I2C_DRIVERID_INDYCAM, | 457 | .id = I2C_DRIVERID_INDYCAM, |
diff --git a/drivers/media/video/ir-kbd-i2c.c b/drivers/media/video/ir-kbd-i2c.c index 82c7f5042659..3cc1d6a6019b 100644 --- a/drivers/media/video/ir-kbd-i2c.c +++ b/drivers/media/video/ir-kbd-i2c.c | |||
@@ -279,7 +279,6 @@ static int ir_probe(struct i2c_adapter *adap); | |||
279 | 279 | ||
280 | static struct i2c_driver driver = { | 280 | static struct i2c_driver driver = { |
281 | .driver = { | 281 | .driver = { |
282 | .owner = THIS_MODULE, | ||
283 | .name = "ir remote kbd driver", | 282 | .name = "ir remote kbd driver", |
284 | }, | 283 | }, |
285 | .id = I2C_DRIVERID_INFRARED, | 284 | .id = I2C_DRIVERID_INFRARED, |
diff --git a/drivers/media/video/msp3400.c b/drivers/media/video/msp3400.c index 3847d890d632..183253e2dd91 100644 --- a/drivers/media/video/msp3400.c +++ b/drivers/media/video/msp3400.c | |||
@@ -1569,7 +1569,6 @@ static struct i2c_driver driver = { | |||
1569 | .detach_client = msp_detach, | 1569 | .detach_client = msp_detach, |
1570 | .command = msp_command, | 1570 | .command = msp_command, |
1571 | .driver = { | 1571 | .driver = { |
1572 | .owner = THIS_MODULE, | ||
1573 | .name = "i2c msp3400 driver", | 1572 | .name = "i2c msp3400 driver", |
1574 | .suspend = msp_suspend, | 1573 | .suspend = msp_suspend, |
1575 | .resume = msp_resume, | 1574 | .resume = msp_resume, |
diff --git a/drivers/media/video/ovcamchip/ovcamchip_core.c b/drivers/media/video/ovcamchip/ovcamchip_core.c index 9ac398b2d915..428f1bb75ec3 100644 --- a/drivers/media/video/ovcamchip/ovcamchip_core.c +++ b/drivers/media/video/ovcamchip/ovcamchip_core.c | |||
@@ -411,7 +411,6 @@ static int ovcamchip_command(struct i2c_client *c, unsigned int cmd, void *arg) | |||
411 | 411 | ||
412 | static struct i2c_driver driver = { | 412 | static struct i2c_driver driver = { |
413 | .driver = { | 413 | .driver = { |
414 | .owner = THIS_MODULE, | ||
415 | .name = "ovcamchip", | 414 | .name = "ovcamchip", |
416 | }, | 415 | }, |
417 | .id = I2C_DRIVERID_OVCAMCHIP, | 416 | .id = I2C_DRIVERID_OVCAMCHIP, |
diff --git a/drivers/media/video/saa5246a.c b/drivers/media/video/saa5246a.c index 8c99edbe1843..135c21479fc0 100644 --- a/drivers/media/video/saa5246a.c +++ b/drivers/media/video/saa5246a.c | |||
@@ -164,7 +164,6 @@ static int saa5246a_command(struct i2c_client *device, unsigned int cmd, | |||
164 | static struct i2c_driver i2c_driver_videotext = | 164 | static struct i2c_driver i2c_driver_videotext = |
165 | { | 165 | { |
166 | .driver = { | 166 | .driver = { |
167 | .owner = THIS_MODULE, | ||
168 | .name = IF_NAME, /* name */ | 167 | .name = IF_NAME, /* name */ |
169 | }, | 168 | }, |
170 | .id = I2C_DRIVERID_SAA5249, /* in i2c.h */ | 169 | .id = I2C_DRIVERID_SAA5249, /* in i2c.h */ |
diff --git a/drivers/media/video/saa5249.c b/drivers/media/video/saa5249.c index 5b346bdb1d59..d7c4e330cadd 100644 --- a/drivers/media/video/saa5249.c +++ b/drivers/media/video/saa5249.c | |||
@@ -237,7 +237,6 @@ static int saa5249_command(struct i2c_client *device, | |||
237 | static struct i2c_driver i2c_driver_videotext = | 237 | static struct i2c_driver i2c_driver_videotext = |
238 | { | 238 | { |
239 | .driver = { | 239 | .driver = { |
240 | .owner = THIS_MODULE, | ||
241 | .name = IF_NAME, /* name */ | 240 | .name = IF_NAME, /* name */ |
242 | }, | 241 | }, |
243 | .id = I2C_DRIVERID_SAA5249, /* in i2c.h */ | 242 | .id = I2C_DRIVERID_SAA5249, /* in i2c.h */ |
diff --git a/drivers/media/video/saa6588.c b/drivers/media/video/saa6588.c index 5ea36ee33b98..d60a783e0473 100644 --- a/drivers/media/video/saa6588.c +++ b/drivers/media/video/saa6588.c | |||
@@ -496,7 +496,6 @@ static int saa6588_command(struct i2c_client *client, unsigned int cmd, | |||
496 | 496 | ||
497 | static struct i2c_driver driver = { | 497 | static struct i2c_driver driver = { |
498 | .driver = { | 498 | .driver = { |
499 | .owner = THIS_MODULE, | ||
500 | .name = "i2c saa6588 driver", | 499 | .name = "i2c saa6588 driver", |
501 | }, | 500 | }, |
502 | .id = -1, /* FIXME */ | 501 | .id = -1, /* FIXME */ |
diff --git a/drivers/media/video/saa7110.c b/drivers/media/video/saa7110.c index 58f60baa27e9..619ff0b7a1ff 100644 --- a/drivers/media/video/saa7110.c +++ b/drivers/media/video/saa7110.c | |||
@@ -587,7 +587,6 @@ saa7110_detach_client (struct i2c_client *client) | |||
587 | 587 | ||
588 | static struct i2c_driver i2c_driver_saa7110 = { | 588 | static struct i2c_driver i2c_driver_saa7110 = { |
589 | .driver = { | 589 | .driver = { |
590 | .owner = THIS_MODULE, | ||
591 | .name = "saa7110", | 590 | .name = "saa7110", |
592 | }, | 591 | }, |
593 | 592 | ||
diff --git a/drivers/media/video/saa7111.c b/drivers/media/video/saa7111.c index 946eb74db374..acaeee592b54 100644 --- a/drivers/media/video/saa7111.c +++ b/drivers/media/video/saa7111.c | |||
@@ -590,7 +590,6 @@ saa7111_detach_client (struct i2c_client *client) | |||
590 | 590 | ||
591 | static struct i2c_driver i2c_driver_saa7111 = { | 591 | static struct i2c_driver i2c_driver_saa7111 = { |
592 | .driver = { | 592 | .driver = { |
593 | .owner = THIS_MODULE, | ||
594 | .name = "saa7111", | 593 | .name = "saa7111", |
595 | }, | 594 | }, |
596 | 595 | ||
diff --git a/drivers/media/video/saa7114.c b/drivers/media/video/saa7114.c index df53b58a9dbc..b7ac0122f729 100644 --- a/drivers/media/video/saa7114.c +++ b/drivers/media/video/saa7114.c | |||
@@ -1204,7 +1204,6 @@ saa7114_detach_client (struct i2c_client *client) | |||
1204 | 1204 | ||
1205 | static struct i2c_driver i2c_driver_saa7114 = { | 1205 | static struct i2c_driver i2c_driver_saa7114 = { |
1206 | .driver = { | 1206 | .driver = { |
1207 | .owner = THIS_MODULE, | ||
1208 | .name = "saa7114", | 1207 | .name = "saa7114", |
1209 | }, | 1208 | }, |
1210 | 1209 | ||
diff --git a/drivers/media/video/saa7115.c b/drivers/media/video/saa7115.c index 6ac1ab4c9809..29e28c742cd4 100644 --- a/drivers/media/video/saa7115.c +++ b/drivers/media/video/saa7115.c | |||
@@ -1355,7 +1355,6 @@ static int saa7115_detach(struct i2c_client *client) | |||
1355 | /* i2c implementation */ | 1355 | /* i2c implementation */ |
1356 | static struct i2c_driver i2c_driver_saa7115 = { | 1356 | static struct i2c_driver i2c_driver_saa7115 = { |
1357 | .driver = { | 1357 | .driver = { |
1358 | .owner = THIS_MODULE, | ||
1359 | .name = "saa7115", | 1358 | .name = "saa7115", |
1360 | }, | 1359 | }, |
1361 | .id = I2C_DRIVERID_SAA711X, | 1360 | .id = I2C_DRIVERID_SAA711X, |
diff --git a/drivers/media/video/saa711x.c b/drivers/media/video/saa711x.c index 3f7cfb7e46eb..8008537391b5 100644 --- a/drivers/media/video/saa711x.c +++ b/drivers/media/video/saa711x.c | |||
@@ -565,7 +565,6 @@ saa711x_detach_client (struct i2c_client *client) | |||
565 | 565 | ||
566 | static struct i2c_driver i2c_driver_saa711x = { | 566 | static struct i2c_driver i2c_driver_saa711x = { |
567 | .driver = { | 567 | .driver = { |
568 | .owner = THIS_MODULE, | ||
569 | .name = "saa711x", | 568 | .name = "saa711x", |
570 | }, | 569 | }, |
571 | 570 | ||
diff --git a/drivers/media/video/saa7127.c b/drivers/media/video/saa7127.c index 659cb8a0b21c..bca6ed0e2752 100644 --- a/drivers/media/video/saa7127.c +++ b/drivers/media/video/saa7127.c | |||
@@ -821,7 +821,6 @@ static int saa7127_detach(struct i2c_client *client) | |||
821 | 821 | ||
822 | static struct i2c_driver i2c_driver_saa7127 = { | 822 | static struct i2c_driver i2c_driver_saa7127 = { |
823 | .driver = { | 823 | .driver = { |
824 | .owner = THIS_MODULE, | ||
825 | .name = "saa7127", | 824 | .name = "saa7127", |
826 | }, | 825 | }, |
827 | .id = I2C_DRIVERID_SAA7127, | 826 | .id = I2C_DRIVERID_SAA7127, |
diff --git a/drivers/media/video/saa7134/saa6752hs.c b/drivers/media/video/saa7134/saa6752hs.c index 0e8c9ed62b13..4615a982ac64 100644 --- a/drivers/media/video/saa7134/saa6752hs.c +++ b/drivers/media/video/saa7134/saa6752hs.c | |||
@@ -598,7 +598,6 @@ saa6752hs_command(struct i2c_client *client, unsigned int cmd, void *arg) | |||
598 | 598 | ||
599 | static struct i2c_driver driver = { | 599 | static struct i2c_driver driver = { |
600 | .driver = { | 600 | .driver = { |
601 | .owner = THIS_MODULE, | ||
602 | .name = "i2c saa6752hs MPEG encoder", | 601 | .name = "i2c saa6752hs MPEG encoder", |
603 | }, | 602 | }, |
604 | .id = I2C_DRIVERID_SAA6752HS, | 603 | .id = I2C_DRIVERID_SAA6752HS, |
diff --git a/drivers/media/video/saa7185.c b/drivers/media/video/saa7185.c index 64047d77388c..f72a9f796209 100644 --- a/drivers/media/video/saa7185.c +++ b/drivers/media/video/saa7185.c | |||
@@ -487,7 +487,6 @@ saa7185_detach_client (struct i2c_client *client) | |||
487 | 487 | ||
488 | static struct i2c_driver i2c_driver_saa7185 = { | 488 | static struct i2c_driver i2c_driver_saa7185 = { |
489 | .driver = { | 489 | .driver = { |
490 | .owner = THIS_MODULE, | ||
491 | .name = "saa7185", /* name */ | 490 | .name = "saa7185", /* name */ |
492 | }, | 491 | }, |
493 | 492 | ||
diff --git a/drivers/media/video/saa7191.c b/drivers/media/video/saa7191.c index a0f8eaf251ef..41f6f05a0436 100644 --- a/drivers/media/video/saa7191.c +++ b/drivers/media/video/saa7191.c | |||
@@ -789,7 +789,6 @@ static int saa7191_command(struct i2c_client *client, unsigned int cmd, | |||
789 | 789 | ||
790 | static struct i2c_driver i2c_driver_saa7191 = { | 790 | static struct i2c_driver i2c_driver_saa7191 = { |
791 | .driver = { | 791 | .driver = { |
792 | .owner = THIS_MODULE, | ||
793 | .name = "saa7191", | 792 | .name = "saa7191", |
794 | }, | 793 | }, |
795 | .id = I2C_DRIVERID_SAA7191, | 794 | .id = I2C_DRIVERID_SAA7191, |
diff --git a/drivers/media/video/tda7432.c b/drivers/media/video/tda7432.c index 59674d928ff7..549c9929f107 100644 --- a/drivers/media/video/tda7432.c +++ b/drivers/media/video/tda7432.c | |||
@@ -502,7 +502,6 @@ static int tda7432_command(struct i2c_client *client, | |||
502 | 502 | ||
503 | static struct i2c_driver driver = { | 503 | static struct i2c_driver driver = { |
504 | .driver = { | 504 | .driver = { |
505 | .owner = THIS_MODULE, | ||
506 | .name = "i2c tda7432 driver", | 505 | .name = "i2c tda7432 driver", |
507 | }, | 506 | }, |
508 | .id = I2C_DRIVERID_TDA7432, | 507 | .id = I2C_DRIVERID_TDA7432, |
diff --git a/drivers/media/video/tda9840.c b/drivers/media/video/tda9840.c index 8efc726874fc..2a353d237c52 100644 --- a/drivers/media/video/tda9840.c +++ b/drivers/media/video/tda9840.c | |||
@@ -222,7 +222,6 @@ static int detach(struct i2c_client *client) | |||
222 | 222 | ||
223 | static struct i2c_driver driver = { | 223 | static struct i2c_driver driver = { |
224 | .driver = { | 224 | .driver = { |
225 | .owner = THIS_MODULE, | ||
226 | .name = "tda9840", | 225 | .name = "tda9840", |
227 | }, | 226 | }, |
228 | .id = I2C_DRIVERID_TDA9840, | 227 | .id = I2C_DRIVERID_TDA9840, |
diff --git a/drivers/media/video/tda9875.c b/drivers/media/video/tda9875.c index de896167029e..9c3ecf7a0fed 100644 --- a/drivers/media/video/tda9875.c +++ b/drivers/media/video/tda9875.c | |||
@@ -373,7 +373,6 @@ static int tda9875_command(struct i2c_client *client, | |||
373 | 373 | ||
374 | static struct i2c_driver driver = { | 374 | static struct i2c_driver driver = { |
375 | .driver = { | 375 | .driver = { |
376 | .owner = THIS_MODULE, | ||
377 | .name = "i2c tda9875 driver", | 376 | .name = "i2c tda9875 driver", |
378 | }, | 377 | }, |
379 | .id = I2C_DRIVERID_TDA9875, | 378 | .id = I2C_DRIVERID_TDA9875, |
diff --git a/drivers/media/video/tda9887.c b/drivers/media/video/tda9887.c index 081f47805158..7165a1b9625a 100644 --- a/drivers/media/video/tda9887.c +++ b/drivers/media/video/tda9887.c | |||
@@ -824,7 +824,6 @@ static struct i2c_driver driver = { | |||
824 | .detach_client = tda9887_detach, | 824 | .detach_client = tda9887_detach, |
825 | .command = tda9887_command, | 825 | .command = tda9887_command, |
826 | .driver = { | 826 | .driver = { |
827 | .owner = THIS_MODULE, | ||
828 | .name = "i2c tda9887 driver", | 827 | .name = "i2c tda9887 driver", |
829 | .suspend = tda9887_suspend, | 828 | .suspend = tda9887_suspend, |
830 | .resume = tda9887_resume, | 829 | .resume = tda9887_resume, |
diff --git a/drivers/media/video/tea6415c.c b/drivers/media/video/tea6415c.c index e7e2213c39e1..17046d974b74 100644 --- a/drivers/media/video/tea6415c.c +++ b/drivers/media/video/tea6415c.c | |||
@@ -191,7 +191,6 @@ static int command(struct i2c_client *client, unsigned int cmd, void *arg) | |||
191 | 191 | ||
192 | static struct i2c_driver driver = { | 192 | static struct i2c_driver driver = { |
193 | .driver = { | 193 | .driver = { |
194 | .owner = THIS_MODULE, | ||
195 | .name = "tea6415c", | 194 | .name = "tea6415c", |
196 | }, | 195 | }, |
197 | .id = I2C_DRIVERID_TEA6415C, | 196 | .id = I2C_DRIVERID_TEA6415C, |
diff --git a/drivers/media/video/tea6420.c b/drivers/media/video/tea6420.c index 74cc25f04056..3dc89d9a4e42 100644 --- a/drivers/media/video/tea6420.c +++ b/drivers/media/video/tea6420.c | |||
@@ -168,7 +168,6 @@ static int command(struct i2c_client *client, unsigned int cmd, void *arg) | |||
168 | 168 | ||
169 | static struct i2c_driver driver = { | 169 | static struct i2c_driver driver = { |
170 | .driver = { | 170 | .driver = { |
171 | .owner = THIS_MODULE, | ||
172 | .name = "tea6420", | 171 | .name = "tea6420", |
173 | }, | 172 | }, |
174 | .id = I2C_DRIVERID_TEA6420, | 173 | .id = I2C_DRIVERID_TEA6420, |
diff --git a/drivers/media/video/tuner-3036.c b/drivers/media/video/tuner-3036.c index 83257af8db41..d97f66804c37 100644 --- a/drivers/media/video/tuner-3036.c +++ b/drivers/media/video/tuner-3036.c | |||
@@ -176,7 +176,6 @@ static struct i2c_driver | |||
176 | i2c_driver_tuner = | 176 | i2c_driver_tuner = |
177 | { | 177 | { |
178 | .driver = { | 178 | .driver = { |
179 | .owner = THIS_MODULE, | ||
180 | .name = "sab3036", | 179 | .name = "sab3036", |
181 | }, | 180 | }, |
182 | .id = I2C_DRIVERID_SAB3036, | 181 | .id = I2C_DRIVERID_SAB3036, |
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c index e8c854948de9..c13c7b95ef35 100644 --- a/drivers/media/video/tuner-core.c +++ b/drivers/media/video/tuner-core.c | |||
@@ -747,7 +747,6 @@ static struct i2c_driver driver = { | |||
747 | .detach_client = tuner_detach, | 747 | .detach_client = tuner_detach, |
748 | .command = tuner_command, | 748 | .command = tuner_command, |
749 | .driver = { | 749 | .driver = { |
750 | .owner = THIS_MODULE, | ||
751 | .name = "tuner", | 750 | .name = "tuner", |
752 | .suspend = tuner_suspend, | 751 | .suspend = tuner_suspend, |
753 | .resume = tuner_resume, | 752 | .resume = tuner_resume, |
diff --git a/drivers/media/video/tvaudio.c b/drivers/media/video/tvaudio.c index 30bb2a3615e9..0292c5abf14a 100644 --- a/drivers/media/video/tvaudio.c +++ b/drivers/media/video/tvaudio.c | |||
@@ -1703,7 +1703,6 @@ static int chip_command(struct i2c_client *client, | |||
1703 | 1703 | ||
1704 | static struct i2c_driver driver = { | 1704 | static struct i2c_driver driver = { |
1705 | .driver = { | 1705 | .driver = { |
1706 | .owner = THIS_MODULE, | ||
1707 | .name = "generic i2c audio driver", | 1706 | .name = "generic i2c audio driver", |
1708 | }, | 1707 | }, |
1709 | .id = I2C_DRIVERID_TVAUDIO, | 1708 | .id = I2C_DRIVERID_TVAUDIO, |
diff --git a/drivers/media/video/tveeprom.c b/drivers/media/video/tveeprom.c index d8b5a1781809..8ac4cb82a459 100644 --- a/drivers/media/video/tveeprom.c +++ b/drivers/media/video/tveeprom.c | |||
@@ -779,7 +779,6 @@ tveeprom_detach_client (struct i2c_client *client) | |||
779 | 779 | ||
780 | static struct i2c_driver i2c_driver_tveeprom = { | 780 | static struct i2c_driver i2c_driver_tveeprom = { |
781 | .driver = { | 781 | .driver = { |
782 | .owner = THIS_MODULE, | ||
783 | .name = "tveeprom", | 782 | .name = "tveeprom", |
784 | }, | 783 | }, |
785 | .id = I2C_DRIVERID_TVEEPROM, | 784 | .id = I2C_DRIVERID_TVEEPROM, |
diff --git a/drivers/media/video/tvmixer.c b/drivers/media/video/tvmixer.c index 5f4d01854767..e837f9f7fed6 100644 --- a/drivers/media/video/tvmixer.c +++ b/drivers/media/video/tvmixer.c | |||
@@ -229,7 +229,6 @@ static int tvmixer_release(struct inode *inode, struct file *file) | |||
229 | static struct i2c_driver driver = { | 229 | static struct i2c_driver driver = { |
230 | #ifdef I2C_PEC | 230 | #ifdef I2C_PEC |
231 | .driver = { | 231 | .driver = { |
232 | .owner = THIS_MODULE, | ||
233 | .name = "tv card mixer driver", | 232 | .name = "tv card mixer driver", |
234 | }, | 233 | }, |
235 | #else | 234 | #else |
diff --git a/drivers/media/video/tvp5150.c b/drivers/media/video/tvp5150.c index 5eca71fa8cbd..a60442ea4f94 100644 --- a/drivers/media/video/tvp5150.c +++ b/drivers/media/video/tvp5150.c | |||
@@ -801,7 +801,6 @@ static int tvp5150_detach_client(struct i2c_client *client) | |||
801 | 801 | ||
802 | static struct i2c_driver driver = { | 802 | static struct i2c_driver driver = { |
803 | .driver = { | 803 | .driver = { |
804 | .owner = THIS_MODULE, | ||
805 | .name = "tvp5150", | 804 | .name = "tvp5150", |
806 | }, | 805 | }, |
807 | 806 | ||
diff --git a/drivers/media/video/vpx3220.c b/drivers/media/video/vpx3220.c index b85b5981fb8d..8dcee8b60e21 100644 --- a/drivers/media/video/vpx3220.c +++ b/drivers/media/video/vpx3220.c | |||
@@ -722,7 +722,6 @@ vpx3220_attach_adapter (struct i2c_adapter *adapter) | |||
722 | 722 | ||
723 | static struct i2c_driver vpx3220_i2c_driver = { | 723 | static struct i2c_driver vpx3220_i2c_driver = { |
724 | .driver = { | 724 | .driver = { |
725 | .owner = THIS_MODULE, | ||
726 | .name = "vpx3220", | 725 | .name = "vpx3220", |
727 | }, | 726 | }, |
728 | 727 | ||
diff --git a/drivers/media/video/wm8775.c b/drivers/media/video/wm8775.c index 22875f1fa1ab..bbfd55cd9948 100644 --- a/drivers/media/video/wm8775.c +++ b/drivers/media/video/wm8775.c | |||
@@ -233,7 +233,6 @@ static int wm8775_detach(struct i2c_client *client) | |||
233 | /* i2c implementation */ | 233 | /* i2c implementation */ |
234 | static struct i2c_driver i2c_driver = { | 234 | static struct i2c_driver i2c_driver = { |
235 | .driver = { | 235 | .driver = { |
236 | .owner = THIS_MODULE, | ||
237 | .name = "wm8775", | 236 | .name = "wm8775", |
238 | }, | 237 | }, |
239 | 238 | ||