diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-11-21 17:53:03 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-04 16:48:34 -0500 |
commit | 75318d2d7cab77b14c5d3dbd5e69f2680a769e16 (patch) | |
tree | 13098167bd41d7dd0b0d3f678534a6daa29b4005 | |
parent | 2143acc6dc79bdbff812f02a7dc5ab9d4fc81fc8 (diff) |
[PATCH] USB: remove .owner field from struct usb_driver
It is no longer needed, so let's remove it, saving a bit of memory.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
125 files changed, 0 insertions, 128 deletions
diff --git a/drivers/block/ub.c b/drivers/block/ub.c index 06d741d58a68..c7a28f5be42f 100644 --- a/drivers/block/ub.c +++ b/drivers/block/ub.c | |||
@@ -2460,7 +2460,6 @@ static void ub_disconnect(struct usb_interface *intf) | |||
2460 | } | 2460 | } |
2461 | 2461 | ||
2462 | static struct usb_driver ub_driver = { | 2462 | static struct usb_driver ub_driver = { |
2463 | .owner = THIS_MODULE, | ||
2464 | .name = "ub", | 2463 | .name = "ub", |
2465 | .probe = ub_probe, | 2464 | .probe = ub_probe, |
2466 | .disconnect = ub_disconnect, | 2465 | .disconnect = ub_disconnect, |
diff --git a/drivers/bluetooth/bcm203x.c b/drivers/bluetooth/bcm203x.c index 8e7fb3551775..3e7a067cc087 100644 --- a/drivers/bluetooth/bcm203x.c +++ b/drivers/bluetooth/bcm203x.c | |||
@@ -275,7 +275,6 @@ static void bcm203x_disconnect(struct usb_interface *intf) | |||
275 | } | 275 | } |
276 | 276 | ||
277 | static struct usb_driver bcm203x_driver = { | 277 | static struct usb_driver bcm203x_driver = { |
278 | .owner = THIS_MODULE, | ||
279 | .name = "bcm203x", | 278 | .name = "bcm203x", |
280 | .probe = bcm203x_probe, | 279 | .probe = bcm203x_probe, |
281 | .disconnect = bcm203x_disconnect, | 280 | .disconnect = bcm203x_disconnect, |
diff --git a/drivers/bluetooth/bfusb.c b/drivers/bluetooth/bfusb.c index 067e27893e4a..8947c8837dac 100644 --- a/drivers/bluetooth/bfusb.c +++ b/drivers/bluetooth/bfusb.c | |||
@@ -768,7 +768,6 @@ static void bfusb_disconnect(struct usb_interface *intf) | |||
768 | } | 768 | } |
769 | 769 | ||
770 | static struct usb_driver bfusb_driver = { | 770 | static struct usb_driver bfusb_driver = { |
771 | .owner = THIS_MODULE, | ||
772 | .name = "bfusb", | 771 | .name = "bfusb", |
773 | .probe = bfusb_probe, | 772 | .probe = bfusb_probe, |
774 | .disconnect = bfusb_disconnect, | 773 | .disconnect = bfusb_disconnect, |
diff --git a/drivers/bluetooth/bpa10x.c b/drivers/bluetooth/bpa10x.c index 394796315adc..9446960ac742 100644 --- a/drivers/bluetooth/bpa10x.c +++ b/drivers/bluetooth/bpa10x.c | |||
@@ -619,7 +619,6 @@ static void bpa10x_disconnect(struct usb_interface *intf) | |||
619 | } | 619 | } |
620 | 620 | ||
621 | static struct usb_driver bpa10x_driver = { | 621 | static struct usb_driver bpa10x_driver = { |
622 | .owner = THIS_MODULE, | ||
623 | .name = "bpa10x", | 622 | .name = "bpa10x", |
624 | .probe = bpa10x_probe, | 623 | .probe = bpa10x_probe, |
625 | .disconnect = bpa10x_disconnect, | 624 | .disconnect = bpa10x_disconnect, |
diff --git a/drivers/bluetooth/hci_usb.c b/drivers/bluetooth/hci_usb.c index 057cb2b6e6d1..92382e823285 100644 --- a/drivers/bluetooth/hci_usb.c +++ b/drivers/bluetooth/hci_usb.c | |||
@@ -1044,7 +1044,6 @@ static void hci_usb_disconnect(struct usb_interface *intf) | |||
1044 | } | 1044 | } |
1045 | 1045 | ||
1046 | static struct usb_driver hci_usb_driver = { | 1046 | static struct usb_driver hci_usb_driver = { |
1047 | .owner = THIS_MODULE, | ||
1048 | .name = "hci_usb", | 1047 | .name = "hci_usb", |
1049 | .probe = hci_usb_probe, | 1048 | .probe = hci_usb_probe, |
1050 | .disconnect = hci_usb_disconnect, | 1049 | .disconnect = hci_usb_disconnect, |
diff --git a/drivers/char/watchdog/pcwd_usb.c b/drivers/char/watchdog/pcwd_usb.c index 092e9b133750..1533f56baa42 100644 --- a/drivers/char/watchdog/pcwd_usb.c +++ b/drivers/char/watchdog/pcwd_usb.c | |||
@@ -151,7 +151,6 @@ static void usb_pcwd_disconnect (struct usb_interface *interface); | |||
151 | 151 | ||
152 | /* usb specific object needed to register this driver with the usb subsystem */ | 152 | /* usb specific object needed to register this driver with the usb subsystem */ |
153 | static struct usb_driver usb_pcwd_driver = { | 153 | static struct usb_driver usb_pcwd_driver = { |
154 | .owner = THIS_MODULE, | ||
155 | .name = DRIVER_NAME, | 154 | .name = DRIVER_NAME, |
156 | .probe = usb_pcwd_probe, | 155 | .probe = usb_pcwd_probe, |
157 | .disconnect = usb_pcwd_disconnect, | 156 | .disconnect = usb_pcwd_disconnect, |
diff --git a/drivers/input/joystick/iforce/iforce-usb.c b/drivers/input/joystick/iforce/iforce-usb.c index 64b4a3080985..bc2fce60f9f8 100644 --- a/drivers/input/joystick/iforce/iforce-usb.c +++ b/drivers/input/joystick/iforce/iforce-usb.c | |||
@@ -235,7 +235,6 @@ static struct usb_device_id iforce_usb_ids [] = { | |||
235 | MODULE_DEVICE_TABLE (usb, iforce_usb_ids); | 235 | MODULE_DEVICE_TABLE (usb, iforce_usb_ids); |
236 | 236 | ||
237 | struct usb_driver iforce_usb_driver = { | 237 | struct usb_driver iforce_usb_driver = { |
238 | .owner = THIS_MODULE, | ||
239 | .name = "iforce", | 238 | .name = "iforce", |
240 | .probe = iforce_usb_probe, | 239 | .probe = iforce_usb_probe, |
241 | .disconnect = iforce_usb_disconnect, | 240 | .disconnect = iforce_usb_disconnect, |
diff --git a/drivers/isdn/hisax/hfc_usb.c b/drivers/isdn/hisax/hfc_usb.c index f8457ef48826..ca5b4a3b683e 100644 --- a/drivers/isdn/hisax/hfc_usb.c +++ b/drivers/isdn/hisax/hfc_usb.c | |||
@@ -1715,7 +1715,6 @@ hfc_usb_disconnect(struct usb_interface | |||
1715 | /* our driver information structure */ | 1715 | /* our driver information structure */ |
1716 | /************************************/ | 1716 | /************************************/ |
1717 | static struct usb_driver hfc_drv = { | 1717 | static struct usb_driver hfc_drv = { |
1718 | .owner = THIS_MODULE, | ||
1719 | .name = "hfc_usb", | 1718 | .name = "hfc_usb", |
1720 | .id_table = hfcusb_idtab, | 1719 | .id_table = hfcusb_idtab, |
1721 | .probe = hfc_usb_probe, | 1720 | .probe = hfc_usb_probe, |
diff --git a/drivers/isdn/hisax/st5481_init.c b/drivers/isdn/hisax/st5481_init.c index 8e192a3a3490..99cb0f3d59a1 100644 --- a/drivers/isdn/hisax/st5481_init.c +++ b/drivers/isdn/hisax/st5481_init.c | |||
@@ -180,7 +180,6 @@ static struct usb_device_id st5481_ids[] = { | |||
180 | MODULE_DEVICE_TABLE (usb, st5481_ids); | 180 | MODULE_DEVICE_TABLE (usb, st5481_ids); |
181 | 181 | ||
182 | static struct usb_driver st5481_usb_driver = { | 182 | static struct usb_driver st5481_usb_driver = { |
183 | .owner = THIS_MODULE, | ||
184 | .name = "st5481_usb", | 183 | .name = "st5481_usb", |
185 | .probe = probe_st5481, | 184 | .probe = probe_st5481, |
186 | .disconnect = disconnect_st5481, | 185 | .disconnect = disconnect_st5481, |
diff --git a/drivers/media/dvb/b2c2/flexcop-usb.c b/drivers/media/dvb/b2c2/flexcop-usb.c index 0a78ba3737a5..a6c91db40ad6 100644 --- a/drivers/media/dvb/b2c2/flexcop-usb.c +++ b/drivers/media/dvb/b2c2/flexcop-usb.c | |||
@@ -544,7 +544,6 @@ static struct usb_device_id flexcop_usb_table [] = { | |||
544 | 544 | ||
545 | /* usb specific object needed to register this driver with the usb subsystem */ | 545 | /* usb specific object needed to register this driver with the usb subsystem */ |
546 | static struct usb_driver flexcop_usb_driver = { | 546 | static struct usb_driver flexcop_usb_driver = { |
547 | .owner = THIS_MODULE, | ||
548 | .name = "b2c2_flexcop_usb", | 547 | .name = "b2c2_flexcop_usb", |
549 | .probe = flexcop_usb_probe, | 548 | .probe = flexcop_usb_probe, |
550 | .disconnect = flexcop_usb_disconnect, | 549 | .disconnect = flexcop_usb_disconnect, |
diff --git a/drivers/media/dvb/cinergyT2/cinergyT2.c b/drivers/media/dvb/cinergyT2/cinergyT2.c index 336fc284fa52..b996fb59b7e4 100644 --- a/drivers/media/dvb/cinergyT2/cinergyT2.c +++ b/drivers/media/dvb/cinergyT2/cinergyT2.c | |||
@@ -986,7 +986,6 @@ static const struct usb_device_id cinergyt2_table [] __devinitdata = { | |||
986 | MODULE_DEVICE_TABLE(usb, cinergyt2_table); | 986 | MODULE_DEVICE_TABLE(usb, cinergyt2_table); |
987 | 987 | ||
988 | static struct usb_driver cinergyt2_driver = { | 988 | static struct usb_driver cinergyt2_driver = { |
989 | .owner = THIS_MODULE, | ||
990 | .name = "cinergyT2", | 989 | .name = "cinergyT2", |
991 | .probe = cinergyt2_probe, | 990 | .probe = cinergyt2_probe, |
992 | .disconnect = cinergyt2_disconnect, | 991 | .disconnect = cinergyt2_disconnect, |
diff --git a/drivers/media/dvb/dvb-usb/a800.c b/drivers/media/dvb/dvb-usb/a800.c index 8c7beffb045f..ce44aa6bbb83 100644 --- a/drivers/media/dvb/dvb-usb/a800.c +++ b/drivers/media/dvb/dvb-usb/a800.c | |||
@@ -144,7 +144,6 @@ static struct dvb_usb_properties a800_properties = { | |||
144 | }; | 144 | }; |
145 | 145 | ||
146 | static struct usb_driver a800_driver = { | 146 | static struct usb_driver a800_driver = { |
147 | .owner = THIS_MODULE, | ||
148 | .name = "dvb_usb_a800", | 147 | .name = "dvb_usb_a800", |
149 | .probe = a800_probe, | 148 | .probe = a800_probe, |
150 | .disconnect = dvb_usb_device_exit, | 149 | .disconnect = dvb_usb_device_exit, |
diff --git a/drivers/media/dvb/dvb-usb/cxusb.c b/drivers/media/dvb/dvb-usb/cxusb.c index 3fe383f4bb4c..d05fab01cccd 100644 --- a/drivers/media/dvb/dvb-usb/cxusb.c +++ b/drivers/media/dvb/dvb-usb/cxusb.c | |||
@@ -241,7 +241,6 @@ static struct dvb_usb_properties cxusb_properties = { | |||
241 | }; | 241 | }; |
242 | 242 | ||
243 | static struct usb_driver cxusb_driver = { | 243 | static struct usb_driver cxusb_driver = { |
244 | .owner = THIS_MODULE, | ||
245 | .name = "dvb_usb_cxusb", | 244 | .name = "dvb_usb_cxusb", |
246 | .probe = cxusb_probe, | 245 | .probe = cxusb_probe, |
247 | .disconnect = dvb_usb_device_exit, | 246 | .disconnect = dvb_usb_device_exit, |
diff --git a/drivers/media/dvb/dvb-usb/dibusb-mb.c b/drivers/media/dvb/dvb-usb/dibusb-mb.c index aa271a2496d5..52ac3e5adf5d 100644 --- a/drivers/media/dvb/dvb-usb/dibusb-mb.c +++ b/drivers/media/dvb/dvb-usb/dibusb-mb.c | |||
@@ -373,7 +373,6 @@ static struct dvb_usb_properties artec_t1_usb2_properties = { | |||
373 | }; | 373 | }; |
374 | 374 | ||
375 | static struct usb_driver dibusb_driver = { | 375 | static struct usb_driver dibusb_driver = { |
376 | .owner = THIS_MODULE, | ||
377 | .name = "dvb_usb_dibusb_mb", | 376 | .name = "dvb_usb_dibusb_mb", |
378 | .probe = dibusb_probe, | 377 | .probe = dibusb_probe, |
379 | .disconnect = dvb_usb_device_exit, | 378 | .disconnect = dvb_usb_device_exit, |
diff --git a/drivers/media/dvb/dvb-usb/dibusb-mc.c b/drivers/media/dvb/dvb-usb/dibusb-mc.c index 6a0912eab396..55802fba3c29 100644 --- a/drivers/media/dvb/dvb-usb/dibusb-mc.c +++ b/drivers/media/dvb/dvb-usb/dibusb-mc.c | |||
@@ -82,7 +82,6 @@ static struct dvb_usb_properties dibusb_mc_properties = { | |||
82 | }; | 82 | }; |
83 | 83 | ||
84 | static struct usb_driver dibusb_mc_driver = { | 84 | static struct usb_driver dibusb_mc_driver = { |
85 | .owner = THIS_MODULE, | ||
86 | .name = "dvb_usb_dibusb_mc", | 85 | .name = "dvb_usb_dibusb_mc", |
87 | .probe = dibusb_mc_probe, | 86 | .probe = dibusb_mc_probe, |
88 | .disconnect = dvb_usb_device_exit, | 87 | .disconnect = dvb_usb_device_exit, |
diff --git a/drivers/media/dvb/dvb-usb/digitv.c b/drivers/media/dvb/dvb-usb/digitv.c index f98e306a5759..450417a9e64b 100644 --- a/drivers/media/dvb/dvb-usb/digitv.c +++ b/drivers/media/dvb/dvb-usb/digitv.c | |||
@@ -233,7 +233,6 @@ static struct dvb_usb_properties digitv_properties = { | |||
233 | }; | 233 | }; |
234 | 234 | ||
235 | static struct usb_driver digitv_driver = { | 235 | static struct usb_driver digitv_driver = { |
236 | .owner = THIS_MODULE, | ||
237 | .name = "dvb_usb_digitv", | 236 | .name = "dvb_usb_digitv", |
238 | .probe = digitv_probe, | 237 | .probe = digitv_probe, |
239 | .disconnect = dvb_usb_device_exit, | 238 | .disconnect = dvb_usb_device_exit, |
diff --git a/drivers/media/dvb/dvb-usb/dtt200u.c b/drivers/media/dvb/dvb-usb/dtt200u.c index b595476332cd..6e2bac873445 100644 --- a/drivers/media/dvb/dvb-usb/dtt200u.c +++ b/drivers/media/dvb/dvb-usb/dtt200u.c | |||
@@ -198,7 +198,6 @@ static struct dvb_usb_properties wt220u_properties = { | |||
198 | 198 | ||
199 | /* usb specific object needed to register this driver with the usb subsystem */ | 199 | /* usb specific object needed to register this driver with the usb subsystem */ |
200 | static struct usb_driver dtt200u_usb_driver = { | 200 | static struct usb_driver dtt200u_usb_driver = { |
201 | .owner = THIS_MODULE, | ||
202 | .name = "dvb_usb_dtt200u", | 201 | .name = "dvb_usb_dtt200u", |
203 | .probe = dtt200u_usb_probe, | 202 | .probe = dtt200u_usb_probe, |
204 | .disconnect = dvb_usb_device_exit, | 203 | .disconnect = dvb_usb_device_exit, |
diff --git a/drivers/media/dvb/dvb-usb/nova-t-usb2.c b/drivers/media/dvb/dvb-usb/nova-t-usb2.c index 1841a66427bf..fac48fc7a4ac 100644 --- a/drivers/media/dvb/dvb-usb/nova-t-usb2.c +++ b/drivers/media/dvb/dvb-usb/nova-t-usb2.c | |||
@@ -202,7 +202,6 @@ static struct dvb_usb_properties nova_t_properties = { | |||
202 | }; | 202 | }; |
203 | 203 | ||
204 | static struct usb_driver nova_t_driver = { | 204 | static struct usb_driver nova_t_driver = { |
205 | .owner = THIS_MODULE, | ||
206 | .name = "dvb_usb_nova_t_usb2", | 205 | .name = "dvb_usb_nova_t_usb2", |
207 | .probe = nova_t_probe, | 206 | .probe = nova_t_probe, |
208 | .disconnect = dvb_usb_device_exit, | 207 | .disconnect = dvb_usb_device_exit, |
diff --git a/drivers/media/dvb/dvb-usb/umt-010.c b/drivers/media/dvb/dvb-usb/umt-010.c index 6fd67657c269..14f1911c79bb 100644 --- a/drivers/media/dvb/dvb-usb/umt-010.c +++ b/drivers/media/dvb/dvb-usb/umt-010.c | |||
@@ -128,7 +128,6 @@ static struct dvb_usb_properties umt_properties = { | |||
128 | }; | 128 | }; |
129 | 129 | ||
130 | static struct usb_driver umt_driver = { | 130 | static struct usb_driver umt_driver = { |
131 | .owner = THIS_MODULE, | ||
132 | .name = "dvb_usb_umt_010", | 131 | .name = "dvb_usb_umt_010", |
133 | .probe = umt_probe, | 132 | .probe = umt_probe, |
134 | .disconnect = dvb_usb_device_exit, | 133 | .disconnect = dvb_usb_device_exit, |
diff --git a/drivers/media/dvb/dvb-usb/vp702x.c b/drivers/media/dvb/dvb-usb/vp702x.c index de13c04e8e64..afa00fdb5ec0 100644 --- a/drivers/media/dvb/dvb-usb/vp702x.c +++ b/drivers/media/dvb/dvb-usb/vp702x.c | |||
@@ -256,7 +256,6 @@ static struct dvb_usb_properties vp702x_properties = { | |||
256 | 256 | ||
257 | /* usb specific object needed to register this driver with the usb subsystem */ | 257 | /* usb specific object needed to register this driver with the usb subsystem */ |
258 | static struct usb_driver vp702x_usb_driver = { | 258 | static struct usb_driver vp702x_usb_driver = { |
259 | .owner = THIS_MODULE, | ||
260 | .name = "dvb-usb-vp702x", | 259 | .name = "dvb-usb-vp702x", |
261 | .probe = vp702x_usb_probe, | 260 | .probe = vp702x_usb_probe, |
262 | .disconnect = dvb_usb_device_exit, | 261 | .disconnect = dvb_usb_device_exit, |
diff --git a/drivers/media/dvb/dvb-usb/vp7045.c b/drivers/media/dvb/dvb-usb/vp7045.c index 75765e3a569c..3835235b68df 100644 --- a/drivers/media/dvb/dvb-usb/vp7045.c +++ b/drivers/media/dvb/dvb-usb/vp7045.c | |||
@@ -253,7 +253,6 @@ static struct dvb_usb_properties vp7045_properties = { | |||
253 | 253 | ||
254 | /* usb specific object needed to register this driver with the usb subsystem */ | 254 | /* usb specific object needed to register this driver with the usb subsystem */ |
255 | static struct usb_driver vp7045_usb_driver = { | 255 | static struct usb_driver vp7045_usb_driver = { |
256 | .owner = THIS_MODULE, | ||
257 | .name = "dvb_usb_vp7045", | 256 | .name = "dvb_usb_vp7045", |
258 | .probe = vp7045_usb_probe, | 257 | .probe = vp7045_usb_probe, |
259 | .disconnect = dvb_usb_device_exit, | 258 | .disconnect = dvb_usb_device_exit, |
diff --git a/drivers/media/video/cpia_usb.c b/drivers/media/video/cpia_usb.c index 9774e94d1e7d..1439cb752874 100644 --- a/drivers/media/video/cpia_usb.c +++ b/drivers/media/video/cpia_usb.c | |||
@@ -582,7 +582,6 @@ MODULE_LICENSE("GPL"); | |||
582 | 582 | ||
583 | 583 | ||
584 | static struct usb_driver cpia_driver = { | 584 | static struct usb_driver cpia_driver = { |
585 | .owner = THIS_MODULE, | ||
586 | .name = "cpia", | 585 | .name = "cpia", |
587 | .probe = cpia_probe, | 586 | .probe = cpia_probe, |
588 | .disconnect = cpia_disconnect, | 587 | .disconnect = cpia_disconnect, |
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c index 06d76879bde2..3a56120397ae 100644 --- a/drivers/media/video/em28xx/em28xx-video.c +++ b/drivers/media/video/em28xx/em28xx-video.c | |||
@@ -1884,7 +1884,6 @@ static void em28xx_usb_disconnect(struct usb_interface *interface) | |||
1884 | } | 1884 | } |
1885 | 1885 | ||
1886 | static struct usb_driver em28xx_usb_driver = { | 1886 | static struct usb_driver em28xx_usb_driver = { |
1887 | .owner = THIS_MODULE, | ||
1888 | .name = "em28xx", | 1887 | .name = "em28xx", |
1889 | .probe = em28xx_usb_probe, | 1888 | .probe = em28xx_usb_probe, |
1890 | .disconnect = em28xx_usb_disconnect, | 1889 | .disconnect = em28xx_usb_disconnect, |
diff --git a/drivers/net/irda/irda-usb.c b/drivers/net/irda/irda-usb.c index c22c0517883c..fa176ffb4ad5 100644 --- a/drivers/net/irda/irda-usb.c +++ b/drivers/net/irda/irda-usb.c | |||
@@ -1539,7 +1539,6 @@ static void irda_usb_disconnect(struct usb_interface *intf) | |||
1539 | * USB device callbacks | 1539 | * USB device callbacks |
1540 | */ | 1540 | */ |
1541 | static struct usb_driver irda_driver = { | 1541 | static struct usb_driver irda_driver = { |
1542 | .owner = THIS_MODULE, | ||
1543 | .name = "irda-usb", | 1542 | .name = "irda-usb", |
1544 | .probe = irda_usb_probe, | 1543 | .probe = irda_usb_probe, |
1545 | .disconnect = irda_usb_disconnect, | 1544 | .disconnect = irda_usb_disconnect, |
diff --git a/drivers/net/irda/stir4200.c b/drivers/net/irda/stir4200.c index 3961a754e920..31867e4b891b 100644 --- a/drivers/net/irda/stir4200.c +++ b/drivers/net/irda/stir4200.c | |||
@@ -1152,7 +1152,6 @@ static int stir_resume(struct usb_interface *intf) | |||
1152 | * USB device callbacks | 1152 | * USB device callbacks |
1153 | */ | 1153 | */ |
1154 | static struct usb_driver irda_driver = { | 1154 | static struct usb_driver irda_driver = { |
1155 | .owner = THIS_MODULE, | ||
1156 | .name = "stir4200", | 1155 | .name = "stir4200", |
1157 | .probe = stir_probe, | 1156 | .probe = stir_probe, |
1158 | .disconnect = stir_disconnect, | 1157 | .disconnect = stir_disconnect, |
diff --git a/drivers/usb/atm/cxacru.c b/drivers/usb/atm/cxacru.c index 9d59dc62e6d2..af0a41e7870e 100644 --- a/drivers/usb/atm/cxacru.c +++ b/drivers/usb/atm/cxacru.c | |||
@@ -853,7 +853,6 @@ static int cxacru_usb_probe(struct usb_interface *intf, const struct usb_device_ | |||
853 | } | 853 | } |
854 | 854 | ||
855 | static struct usb_driver cxacru_usb_driver = { | 855 | static struct usb_driver cxacru_usb_driver = { |
856 | .owner = THIS_MODULE, | ||
857 | .name = cxacru_driver_name, | 856 | .name = cxacru_driver_name, |
858 | .probe = cxacru_usb_probe, | 857 | .probe = cxacru_usb_probe, |
859 | .disconnect = usbatm_usb_disconnect, | 858 | .disconnect = usbatm_usb_disconnect, |
diff --git a/drivers/usb/atm/speedtch.c b/drivers/usb/atm/speedtch.c index d0cbbb7f0385..b28336148658 100644 --- a/drivers/usb/atm/speedtch.c +++ b/drivers/usb/atm/speedtch.c | |||
@@ -659,7 +659,6 @@ MODULE_DEVICE_TABLE(usb, speedtch_usb_ids); | |||
659 | static int speedtch_usb_probe(struct usb_interface *, const struct usb_device_id *); | 659 | static int speedtch_usb_probe(struct usb_interface *, const struct usb_device_id *); |
660 | 660 | ||
661 | static struct usb_driver speedtch_usb_driver = { | 661 | static struct usb_driver speedtch_usb_driver = { |
662 | .owner = THIS_MODULE, | ||
663 | .name = speedtch_driver_name, | 662 | .name = speedtch_driver_name, |
664 | .probe = speedtch_usb_probe, | 663 | .probe = speedtch_usb_probe, |
665 | .disconnect = usbatm_usb_disconnect, | 664 | .disconnect = usbatm_usb_disconnect, |
diff --git a/drivers/usb/atm/ueagle-atm.c b/drivers/usb/atm/ueagle-atm.c index be08e16df09f..7d2a679989ed 100644 --- a/drivers/usb/atm/ueagle-atm.c +++ b/drivers/usb/atm/ueagle-atm.c | |||
@@ -1776,7 +1776,6 @@ static const struct usb_device_id uea_ids[] = { | |||
1776 | * USB driver descriptor | 1776 | * USB driver descriptor |
1777 | */ | 1777 | */ |
1778 | static struct usb_driver uea_driver = { | 1778 | static struct usb_driver uea_driver = { |
1779 | .owner = THIS_MODULE, | ||
1780 | .name = "ueagle-atm", | 1779 | .name = "ueagle-atm", |
1781 | .id_table = uea_ids, | 1780 | .id_table = uea_ids, |
1782 | .probe = uea_probe, | 1781 | .probe = uea_probe, |
diff --git a/drivers/usb/atm/xusbatm.c b/drivers/usb/atm/xusbatm.c index 7fe7fb484d10..5c76e3aaaa5e 100644 --- a/drivers/usb/atm/xusbatm.c +++ b/drivers/usb/atm/xusbatm.c | |||
@@ -140,7 +140,6 @@ static int xusbatm_usb_probe(struct usb_interface *intf, | |||
140 | } | 140 | } |
141 | 141 | ||
142 | static struct usb_driver xusbatm_usb_driver = { | 142 | static struct usb_driver xusbatm_usb_driver = { |
143 | .owner = THIS_MODULE, | ||
144 | .name = xusbatm_driver_name, | 143 | .name = xusbatm_driver_name, |
145 | .probe = xusbatm_usb_probe, | 144 | .probe = xusbatm_usb_probe, |
146 | .disconnect = usbatm_usb_disconnect, | 145 | .disconnect = usbatm_usb_disconnect, |
diff --git a/drivers/usb/class/audio.c b/drivers/usb/class/audio.c index 50858273f8d3..3ad9ee8b84a9 100644 --- a/drivers/usb/class/audio.c +++ b/drivers/usb/class/audio.c | |||
@@ -2732,7 +2732,6 @@ static struct usb_device_id usb_audio_ids [] = { | |||
2732 | MODULE_DEVICE_TABLE (usb, usb_audio_ids); | 2732 | MODULE_DEVICE_TABLE (usb, usb_audio_ids); |
2733 | 2733 | ||
2734 | static struct usb_driver usb_audio_driver = { | 2734 | static struct usb_driver usb_audio_driver = { |
2735 | .owner = THIS_MODULE, | ||
2736 | .name = "audio", | 2735 | .name = "audio", |
2737 | .probe = usb_audio_probe, | 2736 | .probe = usb_audio_probe, |
2738 | .disconnect = usb_audio_disconnect, | 2737 | .disconnect = usb_audio_disconnect, |
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index 72936dc15ec9..93de121f52a8 100644 --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c | |||
@@ -1088,7 +1088,6 @@ static struct usb_device_id acm_ids[] = { | |||
1088 | MODULE_DEVICE_TABLE (usb, acm_ids); | 1088 | MODULE_DEVICE_TABLE (usb, acm_ids); |
1089 | 1089 | ||
1090 | static struct usb_driver acm_driver = { | 1090 | static struct usb_driver acm_driver = { |
1091 | .owner = THIS_MODULE, | ||
1092 | .name = "cdc_acm", | 1091 | .name = "cdc_acm", |
1093 | .probe = acm_probe, | 1092 | .probe = acm_probe, |
1094 | .disconnect = acm_disconnect, | 1093 | .disconnect = acm_disconnect, |
diff --git a/drivers/usb/class/usb-midi.c b/drivers/usb/class/usb-midi.c index 5f8af35e7633..f13f004d311f 100644 --- a/drivers/usb/class/usb-midi.c +++ b/drivers/usb/class/usb-midi.c | |||
@@ -2027,7 +2027,6 @@ static struct usb_device_id id_table[] = { | |||
2027 | }; | 2027 | }; |
2028 | 2028 | ||
2029 | static struct usb_driver usb_midi_driver = { | 2029 | static struct usb_driver usb_midi_driver = { |
2030 | .owner = THIS_MODULE, | ||
2031 | .name = "midi", | 2030 | .name = "midi", |
2032 | .probe = usb_midi_probe, | 2031 | .probe = usb_midi_probe, |
2033 | .disconnect = usb_midi_disconnect, | 2032 | .disconnect = usb_midi_disconnect, |
diff --git a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp.c index 357e75335f17..10406b857ac7 100644 --- a/drivers/usb/class/usblp.c +++ b/drivers/usb/class/usblp.c | |||
@@ -1186,7 +1186,6 @@ static struct usb_device_id usblp_ids [] = { | |||
1186 | MODULE_DEVICE_TABLE (usb, usblp_ids); | 1186 | MODULE_DEVICE_TABLE (usb, usblp_ids); |
1187 | 1187 | ||
1188 | static struct usb_driver usblp_driver = { | 1188 | static struct usb_driver usblp_driver = { |
1189 | .owner = THIS_MODULE, | ||
1190 | .name = "usblp", | 1189 | .name = "usblp", |
1191 | .probe = usblp_probe, | 1190 | .probe = usblp_probe, |
1192 | .disconnect = usblp_disconnect, | 1191 | .disconnect = usblp_disconnect, |
diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index b1d6e9af732d..3a73170e95dd 100644 --- a/drivers/usb/core/devio.c +++ b/drivers/usb/core/devio.c | |||
@@ -402,7 +402,6 @@ static void driver_disconnect(struct usb_interface *intf) | |||
402 | } | 402 | } |
403 | 403 | ||
404 | struct usb_driver usbfs_driver = { | 404 | struct usb_driver usbfs_driver = { |
405 | .owner = THIS_MODULE, | ||
406 | .name = "usbfs", | 405 | .name = "usbfs", |
407 | .probe = driver_probe, | 406 | .probe = driver_probe, |
408 | .disconnect = driver_disconnect, | 407 | .disconnect = driver_disconnect, |
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 5faf7edd73cb..40c6c50c6bd9 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
@@ -2865,7 +2865,6 @@ static struct usb_device_id hub_id_table [] = { | |||
2865 | MODULE_DEVICE_TABLE (usb, hub_id_table); | 2865 | MODULE_DEVICE_TABLE (usb, hub_id_table); |
2866 | 2866 | ||
2867 | static struct usb_driver hub_driver = { | 2867 | static struct usb_driver hub_driver = { |
2868 | .owner = THIS_MODULE, | ||
2869 | .name = "hub", | 2868 | .name = "hub", |
2870 | .probe = hub_probe, | 2869 | .probe = hub_probe, |
2871 | .disconnect = hub_disconnect, | 2870 | .disconnect = hub_disconnect, |
diff --git a/drivers/usb/image/mdc800.c b/drivers/usb/image/mdc800.c index 1d973bcf56aa..049871145d63 100644 --- a/drivers/usb/image/mdc800.c +++ b/drivers/usb/image/mdc800.c | |||
@@ -962,7 +962,6 @@ MODULE_DEVICE_TABLE (usb, mdc800_table); | |||
962 | */ | 962 | */ |
963 | static struct usb_driver mdc800_usb_driver = | 963 | static struct usb_driver mdc800_usb_driver = |
964 | { | 964 | { |
965 | .owner = THIS_MODULE, | ||
966 | .name = "mdc800", | 965 | .name = "mdc800", |
967 | .probe = mdc800_usb_probe, | 966 | .probe = mdc800_usb_probe, |
968 | .disconnect = mdc800_usb_disconnect, | 967 | .disconnect = mdc800_usb_disconnect, |
diff --git a/drivers/usb/image/microtek.c b/drivers/usb/image/microtek.c index 950543aa5ac7..458f2acdeb0a 100644 --- a/drivers/usb/image/microtek.c +++ b/drivers/usb/image/microtek.c | |||
@@ -160,7 +160,6 @@ static void mts_usb_disconnect(struct usb_interface *intf); | |||
160 | static struct usb_device_id mts_usb_ids []; | 160 | static struct usb_device_id mts_usb_ids []; |
161 | 161 | ||
162 | static struct usb_driver mts_usb_driver = { | 162 | static struct usb_driver mts_usb_driver = { |
163 | .owner = THIS_MODULE, | ||
164 | .name = "microtekX6", | 163 | .name = "microtekX6", |
165 | .probe = mts_usb_probe, | 164 | .probe = mts_usb_probe, |
166 | .disconnect = mts_usb_disconnect, | 165 | .disconnect = mts_usb_disconnect, |
diff --git a/drivers/usb/input/acecad.c b/drivers/usb/input/acecad.c index a32558b4048e..df29b8078b54 100644 --- a/drivers/usb/input/acecad.c +++ b/drivers/usb/input/acecad.c | |||
@@ -261,7 +261,6 @@ static struct usb_device_id usb_acecad_id_table [] = { | |||
261 | MODULE_DEVICE_TABLE(usb, usb_acecad_id_table); | 261 | MODULE_DEVICE_TABLE(usb, usb_acecad_id_table); |
262 | 262 | ||
263 | static struct usb_driver usb_acecad_driver = { | 263 | static struct usb_driver usb_acecad_driver = { |
264 | .owner = THIS_MODULE, | ||
265 | .name = "usb_acecad", | 264 | .name = "usb_acecad", |
266 | .probe = usb_acecad_probe, | 265 | .probe = usb_acecad_probe, |
267 | .disconnect = usb_acecad_disconnect, | 266 | .disconnect = usb_acecad_disconnect, |
diff --git a/drivers/usb/input/aiptek.c b/drivers/usb/input/aiptek.c index 0e2505c073db..356284c746a0 100644 --- a/drivers/usb/input/aiptek.c +++ b/drivers/usb/input/aiptek.c | |||
@@ -2190,7 +2190,6 @@ fail1: input_free_device(inputdev); | |||
2190 | static void aiptek_disconnect(struct usb_interface *intf); | 2190 | static void aiptek_disconnect(struct usb_interface *intf); |
2191 | 2191 | ||
2192 | static struct usb_driver aiptek_driver = { | 2192 | static struct usb_driver aiptek_driver = { |
2193 | .owner = THIS_MODULE, | ||
2194 | .name = "aiptek", | 2193 | .name = "aiptek", |
2195 | .probe = aiptek_probe, | 2194 | .probe = aiptek_probe, |
2196 | .disconnect = aiptek_disconnect, | 2195 | .disconnect = aiptek_disconnect, |
diff --git a/drivers/usb/input/appletouch.c b/drivers/usb/input/appletouch.c index 15840db092a5..1949b54f41f2 100644 --- a/drivers/usb/input/appletouch.c +++ b/drivers/usb/input/appletouch.c | |||
@@ -452,7 +452,6 @@ static int atp_resume(struct usb_interface *iface) | |||
452 | } | 452 | } |
453 | 453 | ||
454 | static struct usb_driver atp_driver = { | 454 | static struct usb_driver atp_driver = { |
455 | .owner = THIS_MODULE, | ||
456 | .name = "appletouch", | 455 | .name = "appletouch", |
457 | .probe = atp_probe, | 456 | .probe = atp_probe, |
458 | .disconnect = atp_disconnect, | 457 | .disconnect = atp_disconnect, |
diff --git a/drivers/usb/input/ati_remote.c b/drivers/usb/input/ati_remote.c index 9a2a47db9494..8948e5c3941f 100644 --- a/drivers/usb/input/ati_remote.c +++ b/drivers/usb/input/ati_remote.c | |||
@@ -295,7 +295,6 @@ static void ati_remote_disconnect (struct usb_interface *interface); | |||
295 | 295 | ||
296 | /* usb specific object to register with the usb subsystem */ | 296 | /* usb specific object to register with the usb subsystem */ |
297 | static struct usb_driver ati_remote_driver = { | 297 | static struct usb_driver ati_remote_driver = { |
298 | .owner = THIS_MODULE, | ||
299 | .name = "ati_remote", | 298 | .name = "ati_remote", |
300 | .probe = ati_remote_probe, | 299 | .probe = ati_remote_probe, |
301 | .disconnect = ati_remote_disconnect, | 300 | .disconnect = ati_remote_disconnect, |
diff --git a/drivers/usb/input/hid-core.c b/drivers/usb/input/hid-core.c index a3e44ef1df43..256d7325d4a5 100644 --- a/drivers/usb/input/hid-core.c +++ b/drivers/usb/input/hid-core.c | |||
@@ -1930,7 +1930,6 @@ static struct usb_device_id hid_usb_ids [] = { | |||
1930 | MODULE_DEVICE_TABLE (usb, hid_usb_ids); | 1930 | MODULE_DEVICE_TABLE (usb, hid_usb_ids); |
1931 | 1931 | ||
1932 | static struct usb_driver hid_driver = { | 1932 | static struct usb_driver hid_driver = { |
1933 | .owner = THIS_MODULE, | ||
1934 | .name = "usbhid", | 1933 | .name = "usbhid", |
1935 | .probe = hid_probe, | 1934 | .probe = hid_probe, |
1936 | .disconnect = hid_disconnect, | 1935 | .disconnect = hid_disconnect, |
diff --git a/drivers/usb/input/hiddev.c b/drivers/usb/input/hiddev.c index 440377c7a0da..4dff8473553d 100644 --- a/drivers/usb/input/hiddev.c +++ b/drivers/usb/input/hiddev.c | |||
@@ -826,7 +826,6 @@ static int hiddev_usbd_probe(struct usb_interface *intf, | |||
826 | 826 | ||
827 | 827 | ||
828 | static /* const */ struct usb_driver hiddev_driver = { | 828 | static /* const */ struct usb_driver hiddev_driver = { |
829 | .owner = THIS_MODULE, | ||
830 | .name = "hiddev", | 829 | .name = "hiddev", |
831 | .probe = hiddev_usbd_probe, | 830 | .probe = hiddev_usbd_probe, |
832 | }; | 831 | }; |
diff --git a/drivers/usb/input/itmtouch.c b/drivers/usb/input/itmtouch.c index 4a50acb39d29..7618ae5c104f 100644 --- a/drivers/usb/input/itmtouch.c +++ b/drivers/usb/input/itmtouch.c | |||
@@ -250,7 +250,6 @@ static void itmtouch_disconnect(struct usb_interface *intf) | |||
250 | MODULE_DEVICE_TABLE(usb, itmtouch_ids); | 250 | MODULE_DEVICE_TABLE(usb, itmtouch_ids); |
251 | 251 | ||
252 | static struct usb_driver itmtouch_driver = { | 252 | static struct usb_driver itmtouch_driver = { |
253 | .owner = THIS_MODULE, | ||
254 | .name = "itmtouch", | 253 | .name = "itmtouch", |
255 | .probe = itmtouch_probe, | 254 | .probe = itmtouch_probe, |
256 | .disconnect = itmtouch_disconnect, | 255 | .disconnect = itmtouch_disconnect, |
diff --git a/drivers/usb/input/kbtab.c b/drivers/usb/input/kbtab.c index fd48e74e78ed..f6d5cead542b 100644 --- a/drivers/usb/input/kbtab.c +++ b/drivers/usb/input/kbtab.c | |||
@@ -197,7 +197,6 @@ static void kbtab_disconnect(struct usb_interface *intf) | |||
197 | } | 197 | } |
198 | 198 | ||
199 | static struct usb_driver kbtab_driver = { | 199 | static struct usb_driver kbtab_driver = { |
200 | .owner = THIS_MODULE, | ||
201 | .name = "kbtab", | 200 | .name = "kbtab", |
202 | .probe = kbtab_probe, | 201 | .probe = kbtab_probe, |
203 | .disconnect = kbtab_disconnect, | 202 | .disconnect = kbtab_disconnect, |
diff --git a/drivers/usb/input/keyspan_remote.c b/drivers/usb/input/keyspan_remote.c index a32cfe51b77d..5ae5201dbf5a 100644 --- a/drivers/usb/input/keyspan_remote.c +++ b/drivers/usb/input/keyspan_remote.c | |||
@@ -559,7 +559,6 @@ static void keyspan_disconnect(struct usb_interface *interface) | |||
559 | */ | 559 | */ |
560 | static struct usb_driver keyspan_driver = | 560 | static struct usb_driver keyspan_driver = |
561 | { | 561 | { |
562 | .owner = THIS_MODULE, | ||
563 | .name = "keyspan_remote", | 562 | .name = "keyspan_remote", |
564 | .probe = keyspan_probe, | 563 | .probe = keyspan_probe, |
565 | .disconnect = keyspan_disconnect, | 564 | .disconnect = keyspan_disconnect, |
diff --git a/drivers/usb/input/mtouchusb.c b/drivers/usb/input/mtouchusb.c index 52cc18cd247d..f018953a5485 100644 --- a/drivers/usb/input/mtouchusb.c +++ b/drivers/usb/input/mtouchusb.c | |||
@@ -310,7 +310,6 @@ static void mtouchusb_disconnect(struct usb_interface *intf) | |||
310 | MODULE_DEVICE_TABLE(usb, mtouchusb_devices); | 310 | MODULE_DEVICE_TABLE(usb, mtouchusb_devices); |
311 | 311 | ||
312 | static struct usb_driver mtouchusb_driver = { | 312 | static struct usb_driver mtouchusb_driver = { |
313 | .owner = THIS_MODULE, | ||
314 | .name = "mtouchusb", | 313 | .name = "mtouchusb", |
315 | .probe = mtouchusb_probe, | 314 | .probe = mtouchusb_probe, |
316 | .disconnect = mtouchusb_disconnect, | 315 | .disconnect = mtouchusb_disconnect, |
diff --git a/drivers/usb/input/powermate.c b/drivers/usb/input/powermate.c index b7476233ef5d..fdf0f788062c 100644 --- a/drivers/usb/input/powermate.c +++ b/drivers/usb/input/powermate.c | |||
@@ -441,7 +441,6 @@ static struct usb_device_id powermate_devices [] = { | |||
441 | MODULE_DEVICE_TABLE (usb, powermate_devices); | 441 | MODULE_DEVICE_TABLE (usb, powermate_devices); |
442 | 442 | ||
443 | static struct usb_driver powermate_driver = { | 443 | static struct usb_driver powermate_driver = { |
444 | .owner = THIS_MODULE, | ||
445 | .name = "powermate", | 444 | .name = "powermate", |
446 | .probe = powermate_probe, | 445 | .probe = powermate_probe, |
447 | .disconnect = powermate_disconnect, | 446 | .disconnect = powermate_disconnect, |
diff --git a/drivers/usb/input/touchkitusb.c b/drivers/usb/input/touchkitusb.c index 7420c6b84284..75e7c12e7189 100644 --- a/drivers/usb/input/touchkitusb.c +++ b/drivers/usb/input/touchkitusb.c | |||
@@ -267,7 +267,6 @@ static void touchkit_disconnect(struct usb_interface *intf) | |||
267 | MODULE_DEVICE_TABLE(usb, touchkit_devices); | 267 | MODULE_DEVICE_TABLE(usb, touchkit_devices); |
268 | 268 | ||
269 | static struct usb_driver touchkit_driver = { | 269 | static struct usb_driver touchkit_driver = { |
270 | .owner = THIS_MODULE, | ||
271 | .name = "touchkitusb", | 270 | .name = "touchkitusb", |
272 | .probe = touchkit_probe, | 271 | .probe = touchkit_probe, |
273 | .disconnect = touchkit_disconnect, | 272 | .disconnect = touchkit_disconnect, |
diff --git a/drivers/usb/input/usbkbd.c b/drivers/usb/input/usbkbd.c index 226b6f90a907..2f3edc26cb50 100644 --- a/drivers/usb/input/usbkbd.c +++ b/drivers/usb/input/usbkbd.c | |||
@@ -345,7 +345,6 @@ static struct usb_device_id usb_kbd_id_table [] = { | |||
345 | MODULE_DEVICE_TABLE (usb, usb_kbd_id_table); | 345 | MODULE_DEVICE_TABLE (usb, usb_kbd_id_table); |
346 | 346 | ||
347 | static struct usb_driver usb_kbd_driver = { | 347 | static struct usb_driver usb_kbd_driver = { |
348 | .owner = THIS_MODULE, | ||
349 | .name = "usbkbd", | 348 | .name = "usbkbd", |
350 | .probe = usb_kbd_probe, | 349 | .probe = usb_kbd_probe, |
351 | .disconnect = usb_kbd_disconnect, | 350 | .disconnect = usb_kbd_disconnect, |
diff --git a/drivers/usb/input/usbmouse.c b/drivers/usb/input/usbmouse.c index 230f6b1b314a..af526135d210 100644 --- a/drivers/usb/input/usbmouse.c +++ b/drivers/usb/input/usbmouse.c | |||
@@ -226,7 +226,6 @@ static struct usb_device_id usb_mouse_id_table [] = { | |||
226 | MODULE_DEVICE_TABLE (usb, usb_mouse_id_table); | 226 | MODULE_DEVICE_TABLE (usb, usb_mouse_id_table); |
227 | 227 | ||
228 | static struct usb_driver usb_mouse_driver = { | 228 | static struct usb_driver usb_mouse_driver = { |
229 | .owner = THIS_MODULE, | ||
230 | .name = "usbmouse", | 229 | .name = "usbmouse", |
231 | .probe = usb_mouse_probe, | 230 | .probe = usb_mouse_probe, |
232 | .disconnect = usb_mouse_disconnect, | 231 | .disconnect = usb_mouse_disconnect, |
diff --git a/drivers/usb/input/wacom.c b/drivers/usb/input/wacom.c index dc099bbe12bf..48df4cfd5a42 100644 --- a/drivers/usb/input/wacom.c +++ b/drivers/usb/input/wacom.c | |||
@@ -945,7 +945,6 @@ static void wacom_disconnect(struct usb_interface *intf) | |||
945 | } | 945 | } |
946 | 946 | ||
947 | static struct usb_driver wacom_driver = { | 947 | static struct usb_driver wacom_driver = { |
948 | .owner = THIS_MODULE, | ||
949 | .name = "wacom", | 948 | .name = "wacom", |
950 | .probe = wacom_probe, | 949 | .probe = wacom_probe, |
951 | .disconnect = wacom_disconnect, | 950 | .disconnect = wacom_disconnect, |
diff --git a/drivers/usb/input/xpad.c b/drivers/usb/input/xpad.c index 43112f040b6d..e421328615fb 100644 --- a/drivers/usb/input/xpad.c +++ b/drivers/usb/input/xpad.c | |||
@@ -316,7 +316,6 @@ static void xpad_disconnect(struct usb_interface *intf) | |||
316 | } | 316 | } |
317 | 317 | ||
318 | static struct usb_driver xpad_driver = { | 318 | static struct usb_driver xpad_driver = { |
319 | .owner = THIS_MODULE, | ||
320 | .name = "xpad", | 319 | .name = "xpad", |
321 | .probe = xpad_probe, | 320 | .probe = xpad_probe, |
322 | .disconnect = xpad_disconnect, | 321 | .disconnect = xpad_disconnect, |
diff --git a/drivers/usb/input/yealink.c b/drivers/usb/input/yealink.c index f526aebea502..1bfc105ad4d6 100644 --- a/drivers/usb/input/yealink.c +++ b/drivers/usb/input/yealink.c | |||
@@ -987,7 +987,6 @@ static int usb_probe(struct usb_interface *intf, const struct usb_device_id *id) | |||
987 | } | 987 | } |
988 | 988 | ||
989 | static struct usb_driver yealink_driver = { | 989 | static struct usb_driver yealink_driver = { |
990 | .owner = THIS_MODULE, | ||
991 | .name = "yealink", | 990 | .name = "yealink", |
992 | .probe = usb_probe, | 991 | .probe = usb_probe, |
993 | .disconnect = usb_disconnect, | 992 | .disconnect = usb_disconnect, |
diff --git a/drivers/usb/media/dabusb.c b/drivers/usb/media/dabusb.c index 27b23c55bbc7..18d8eaf408d5 100644 --- a/drivers/usb/media/dabusb.c +++ b/drivers/usb/media/dabusb.c | |||
@@ -812,7 +812,6 @@ static struct usb_device_id dabusb_ids [] = { | |||
812 | MODULE_DEVICE_TABLE (usb, dabusb_ids); | 812 | MODULE_DEVICE_TABLE (usb, dabusb_ids); |
813 | 813 | ||
814 | static struct usb_driver dabusb_driver = { | 814 | static struct usb_driver dabusb_driver = { |
815 | .owner = THIS_MODULE, | ||
816 | .name = "dabusb", | 815 | .name = "dabusb", |
817 | .probe = dabusb_probe, | 816 | .probe = dabusb_probe, |
818 | .disconnect = dabusb_disconnect, | 817 | .disconnect = dabusb_disconnect, |
diff --git a/drivers/usb/media/dsbr100.c b/drivers/usb/media/dsbr100.c index 7503f5b96f59..6a5700e9d428 100644 --- a/drivers/usb/media/dsbr100.c +++ b/drivers/usb/media/dsbr100.c | |||
@@ -150,7 +150,6 @@ MODULE_DEVICE_TABLE (usb, usb_dsbr100_device_table); | |||
150 | 150 | ||
151 | /* USB subsystem interface */ | 151 | /* USB subsystem interface */ |
152 | static struct usb_driver usb_dsbr100_driver = { | 152 | static struct usb_driver usb_dsbr100_driver = { |
153 | .owner = THIS_MODULE, | ||
154 | .name = "dsbr100", | 153 | .name = "dsbr100", |
155 | .probe = usb_dsbr100_probe, | 154 | .probe = usb_dsbr100_probe, |
156 | .disconnect = usb_dsbr100_disconnect, | 155 | .disconnect = usb_dsbr100_disconnect, |
diff --git a/drivers/usb/media/ov511.c b/drivers/usb/media/ov511.c index 036c485d1d1e..8df4f9de5ee5 100644 --- a/drivers/usb/media/ov511.c +++ b/drivers/usb/media/ov511.c | |||
@@ -6008,7 +6008,6 @@ ov51x_disconnect(struct usb_interface *intf) | |||
6008 | } | 6008 | } |
6009 | 6009 | ||
6010 | static struct usb_driver ov511_driver = { | 6010 | static struct usb_driver ov511_driver = { |
6011 | .owner = THIS_MODULE, | ||
6012 | .name = "ov511", | 6011 | .name = "ov511", |
6013 | .id_table = device_table, | 6012 | .id_table = device_table, |
6014 | .probe = ov51x_probe, | 6013 | .probe = ov51x_probe, |
diff --git a/drivers/usb/media/pwc/pwc-if.c b/drivers/usb/media/pwc/pwc-if.c index 5524fd70210b..09ca6128ac20 100644 --- a/drivers/usb/media/pwc/pwc-if.c +++ b/drivers/usb/media/pwc/pwc-if.c | |||
@@ -111,7 +111,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id | |||
111 | static void usb_pwc_disconnect(struct usb_interface *intf); | 111 | static void usb_pwc_disconnect(struct usb_interface *intf); |
112 | 112 | ||
113 | static struct usb_driver pwc_driver = { | 113 | static struct usb_driver pwc_driver = { |
114 | .owner = THIS_MODULE, | ||
115 | .name = "Philips webcam", /* name */ | 114 | .name = "Philips webcam", /* name */ |
116 | .id_table = pwc_device_table, | 115 | .id_table = pwc_device_table, |
117 | .probe = usb_pwc_probe, /* probe() */ | 116 | .probe = usb_pwc_probe, /* probe() */ |
diff --git a/drivers/usb/media/se401.c b/drivers/usb/media/se401.c index f69e443cd1bc..b2ae29af5940 100644 --- a/drivers/usb/media/se401.c +++ b/drivers/usb/media/se401.c | |||
@@ -1401,7 +1401,6 @@ static void se401_disconnect(struct usb_interface *intf) | |||
1401 | } | 1401 | } |
1402 | 1402 | ||
1403 | static struct usb_driver se401_driver = { | 1403 | static struct usb_driver se401_driver = { |
1404 | .owner = THIS_MODULE, | ||
1405 | .name = "se401", | 1404 | .name = "se401", |
1406 | .id_table = device_table, | 1405 | .id_table = device_table, |
1407 | .probe = se401_probe, | 1406 | .probe = se401_probe, |
diff --git a/drivers/usb/media/sn9c102_core.c b/drivers/usb/media/sn9c102_core.c index b2e66e3b90aa..08723459da86 100644 --- a/drivers/usb/media/sn9c102_core.c +++ b/drivers/usb/media/sn9c102_core.c | |||
@@ -2711,7 +2711,6 @@ static void sn9c102_usb_disconnect(struct usb_interface* intf) | |||
2711 | 2711 | ||
2712 | 2712 | ||
2713 | static struct usb_driver sn9c102_usb_driver = { | 2713 | static struct usb_driver sn9c102_usb_driver = { |
2714 | .owner = THIS_MODULE, | ||
2715 | .name = "sn9c102", | 2714 | .name = "sn9c102", |
2716 | .id_table = sn9c102_id_table, | 2715 | .id_table = sn9c102_id_table, |
2717 | .probe = sn9c102_usb_probe, | 2716 | .probe = sn9c102_usb_probe, |
diff --git a/drivers/usb/media/stv680.c b/drivers/usb/media/stv680.c index 0fd0fa9fec21..774038b352cd 100644 --- a/drivers/usb/media/stv680.c +++ b/drivers/usb/media/stv680.c | |||
@@ -1477,7 +1477,6 @@ static void stv680_disconnect (struct usb_interface *intf) | |||
1477 | } | 1477 | } |
1478 | 1478 | ||
1479 | static struct usb_driver stv680_driver = { | 1479 | static struct usb_driver stv680_driver = { |
1480 | .owner = THIS_MODULE, | ||
1481 | .name = "stv680", | 1480 | .name = "stv680", |
1482 | .probe = stv680_probe, | 1481 | .probe = stv680_probe, |
1483 | .disconnect = stv680_disconnect, | 1482 | .disconnect = stv680_disconnect, |
diff --git a/drivers/usb/media/vicam.c b/drivers/usb/media/vicam.c index 0bc0b1247a6b..1c73155c8d77 100644 --- a/drivers/usb/media/vicam.c +++ b/drivers/usb/media/vicam.c | |||
@@ -1257,7 +1257,6 @@ static struct usb_device_id vicam_table[] = { | |||
1257 | MODULE_DEVICE_TABLE(usb, vicam_table); | 1257 | MODULE_DEVICE_TABLE(usb, vicam_table); |
1258 | 1258 | ||
1259 | static struct usb_driver vicam_driver = { | 1259 | static struct usb_driver vicam_driver = { |
1260 | .owner = THIS_MODULE, | ||
1261 | .name = "vicam", | 1260 | .name = "vicam", |
1262 | .probe = vicam_probe, | 1261 | .probe = vicam_probe, |
1263 | .disconnect = vicam_disconnect, | 1262 | .disconnect = vicam_disconnect, |
diff --git a/drivers/usb/media/w9968cf.c b/drivers/usb/media/w9968cf.c index 67612c81cb9f..52b90d50febb 100644 --- a/drivers/usb/media/w9968cf.c +++ b/drivers/usb/media/w9968cf.c | |||
@@ -3668,7 +3668,6 @@ static void w9968cf_usb_disconnect(struct usb_interface* intf) | |||
3668 | 3668 | ||
3669 | 3669 | ||
3670 | static struct usb_driver w9968cf_usb_driver = { | 3670 | static struct usb_driver w9968cf_usb_driver = { |
3671 | .owner = THIS_MODULE, | ||
3672 | .name = "w9968cf", | 3671 | .name = "w9968cf", |
3673 | .id_table = winbond_id_table, | 3672 | .id_table = winbond_id_table, |
3674 | .probe = w9968cf_usb_probe, | 3673 | .probe = w9968cf_usb_probe, |
diff --git a/drivers/usb/misc/auerswald.c b/drivers/usb/misc/auerswald.c index b293db3c28c3..fad387f21891 100644 --- a/drivers/usb/misc/auerswald.c +++ b/drivers/usb/misc/auerswald.c | |||
@@ -2103,7 +2103,6 @@ MODULE_DEVICE_TABLE (usb, auerswald_ids); | |||
2103 | 2103 | ||
2104 | /* Standard usb driver struct */ | 2104 | /* Standard usb driver struct */ |
2105 | static struct usb_driver auerswald_driver = { | 2105 | static struct usb_driver auerswald_driver = { |
2106 | .owner = THIS_MODULE, | ||
2107 | .name = "auerswald", | 2106 | .name = "auerswald", |
2108 | .probe = auerswald_probe, | 2107 | .probe = auerswald_probe, |
2109 | .disconnect = auerswald_disconnect, | 2108 | .disconnect = auerswald_disconnect, |
diff --git a/drivers/usb/misc/cytherm.c b/drivers/usb/misc/cytherm.c index b33044d56a1e..6671317b495f 100644 --- a/drivers/usb/misc/cytherm.c +++ b/drivers/usb/misc/cytherm.c | |||
@@ -50,7 +50,6 @@ static void cytherm_disconnect(struct usb_interface *interface); | |||
50 | 50 | ||
51 | /* usb specific object needed to register this driver with the usb subsystem */ | 51 | /* usb specific object needed to register this driver with the usb subsystem */ |
52 | static struct usb_driver cytherm_driver = { | 52 | static struct usb_driver cytherm_driver = { |
53 | .owner = THIS_MODULE, | ||
54 | .name = "cytherm", | 53 | .name = "cytherm", |
55 | .probe = cytherm_probe, | 54 | .probe = cytherm_probe, |
56 | .disconnect = cytherm_disconnect, | 55 | .disconnect = cytherm_disconnect, |
diff --git a/drivers/usb/misc/emi26.c b/drivers/usb/misc/emi26.c index c8155209bf4b..3824df33094e 100644 --- a/drivers/usb/misc/emi26.c +++ b/drivers/usb/misc/emi26.c | |||
@@ -227,7 +227,6 @@ static void emi26_disconnect(struct usb_interface *intf) | |||
227 | } | 227 | } |
228 | 228 | ||
229 | static struct usb_driver emi26_driver = { | 229 | static struct usb_driver emi26_driver = { |
230 | .owner = THIS_MODULE, | ||
231 | .name = "emi26 - firmware loader", | 230 | .name = "emi26 - firmware loader", |
232 | .probe = emi26_probe, | 231 | .probe = emi26_probe, |
233 | .disconnect = emi26_disconnect, | 232 | .disconnect = emi26_disconnect, |
diff --git a/drivers/usb/misc/emi62.c b/drivers/usb/misc/emi62.c index 189986af2ac7..52fea2e08db8 100644 --- a/drivers/usb/misc/emi62.c +++ b/drivers/usb/misc/emi62.c | |||
@@ -266,7 +266,6 @@ static void emi62_disconnect(struct usb_interface *intf) | |||
266 | } | 266 | } |
267 | 267 | ||
268 | static struct usb_driver emi62_driver = { | 268 | static struct usb_driver emi62_driver = { |
269 | .owner = THIS_MODULE, | ||
270 | .name = "emi62 - firmware loader", | 269 | .name = "emi62 - firmware loader", |
271 | .probe = emi62_probe, | 270 | .probe = emi62_probe, |
272 | .disconnect = emi62_disconnect, | 271 | .disconnect = emi62_disconnect, |
diff --git a/drivers/usb/misc/idmouse.c b/drivers/usb/misc/idmouse.c index 1dc3e0f73014..d8cde1017985 100644 --- a/drivers/usb/misc/idmouse.c +++ b/drivers/usb/misc/idmouse.c | |||
@@ -114,7 +114,6 @@ static struct usb_class_driver idmouse_class = { | |||
114 | 114 | ||
115 | /* usb specific object needed to register this driver with the usb subsystem */ | 115 | /* usb specific object needed to register this driver with the usb subsystem */ |
116 | static struct usb_driver idmouse_driver = { | 116 | static struct usb_driver idmouse_driver = { |
117 | .owner = THIS_MODULE, | ||
118 | .name = DRIVER_SHORT, | 117 | .name = DRIVER_SHORT, |
119 | .probe = idmouse_probe, | 118 | .probe = idmouse_probe, |
120 | .disconnect = idmouse_disconnect, | 119 | .disconnect = idmouse_disconnect, |
diff --git a/drivers/usb/misc/ldusb.c b/drivers/usb/misc/ldusb.c index 7e93ac96490f..981d8a5fbfd9 100644 --- a/drivers/usb/misc/ldusb.c +++ b/drivers/usb/misc/ldusb.c | |||
@@ -763,7 +763,6 @@ static void ld_usb_disconnect(struct usb_interface *intf) | |||
763 | 763 | ||
764 | /* usb specific object needed to register this driver with the usb subsystem */ | 764 | /* usb specific object needed to register this driver with the usb subsystem */ |
765 | static struct usb_driver ld_usb_driver = { | 765 | static struct usb_driver ld_usb_driver = { |
766 | .owner = THIS_MODULE, | ||
767 | .name = "ldusb", | 766 | .name = "ldusb", |
768 | .probe = ld_usb_probe, | 767 | .probe = ld_usb_probe, |
769 | .disconnect = ld_usb_disconnect, | 768 | .disconnect = ld_usb_disconnect, |
diff --git a/drivers/usb/misc/legousbtower.c b/drivers/usb/misc/legousbtower.c index 2703e205bc8f..1336745b8f55 100644 --- a/drivers/usb/misc/legousbtower.c +++ b/drivers/usb/misc/legousbtower.c | |||
@@ -282,7 +282,6 @@ static struct usb_class_driver tower_class = { | |||
282 | 282 | ||
283 | /* usb specific object needed to register this driver with the usb subsystem */ | 283 | /* usb specific object needed to register this driver with the usb subsystem */ |
284 | static struct usb_driver tower_driver = { | 284 | static struct usb_driver tower_driver = { |
285 | .owner = THIS_MODULE, | ||
286 | .name = "legousbtower", | 285 | .name = "legousbtower", |
287 | .probe = tower_probe, | 286 | .probe = tower_probe, |
288 | .disconnect = tower_disconnect, | 287 | .disconnect = tower_disconnect, |
diff --git a/drivers/usb/misc/phidgetkit.c b/drivers/usb/misc/phidgetkit.c index 067a81486921..605a3c87e05c 100644 --- a/drivers/usb/misc/phidgetkit.c +++ b/drivers/usb/misc/phidgetkit.c | |||
@@ -555,7 +555,6 @@ static void interfacekit_disconnect(struct usb_interface *interface) | |||
555 | } | 555 | } |
556 | 556 | ||
557 | static struct usb_driver interfacekit_driver = { | 557 | static struct usb_driver interfacekit_driver = { |
558 | .owner = THIS_MODULE, | ||
559 | .name = "phidgetkit", | 558 | .name = "phidgetkit", |
560 | .probe = interfacekit_probe, | 559 | .probe = interfacekit_probe, |
561 | .disconnect = interfacekit_disconnect, | 560 | .disconnect = interfacekit_disconnect, |
diff --git a/drivers/usb/misc/phidgetservo.c b/drivers/usb/misc/phidgetservo.c index a30d4a6ee824..b3418d2bcc69 100644 --- a/drivers/usb/misc/phidgetservo.c +++ b/drivers/usb/misc/phidgetservo.c | |||
@@ -306,7 +306,6 @@ servo_disconnect(struct usb_interface *interface) | |||
306 | } | 306 | } |
307 | 307 | ||
308 | static struct usb_driver servo_driver = { | 308 | static struct usb_driver servo_driver = { |
309 | .owner = THIS_MODULE, | ||
310 | .name = "phidgetservo", | 309 | .name = "phidgetservo", |
311 | .probe = servo_probe, | 310 | .probe = servo_probe, |
312 | .disconnect = servo_disconnect, | 311 | .disconnect = servo_disconnect, |
diff --git a/drivers/usb/misc/rio500.c b/drivers/usb/misc/rio500.c index 9590dbac5d9a..b9d66074b80c 100644 --- a/drivers/usb/misc/rio500.c +++ b/drivers/usb/misc/rio500.c | |||
@@ -522,7 +522,6 @@ static struct usb_device_id rio_table [] = { | |||
522 | MODULE_DEVICE_TABLE (usb, rio_table); | 522 | MODULE_DEVICE_TABLE (usb, rio_table); |
523 | 523 | ||
524 | static struct usb_driver rio_driver = { | 524 | static struct usb_driver rio_driver = { |
525 | .owner = THIS_MODULE, | ||
526 | .name = "rio500", | 525 | .name = "rio500", |
527 | .probe = probe_rio, | 526 | .probe = probe_rio, |
528 | .disconnect = disconnect_rio, | 527 | .disconnect = disconnect_rio, |
diff --git a/drivers/usb/misc/sisusbvga/sisusb.c b/drivers/usb/misc/sisusbvga/sisusb.c index 41ef2b606751..44350d49ad0a 100644 --- a/drivers/usb/misc/sisusbvga/sisusb.c +++ b/drivers/usb/misc/sisusbvga/sisusb.c | |||
@@ -3489,7 +3489,6 @@ static struct usb_device_id sisusb_table [] = { | |||
3489 | MODULE_DEVICE_TABLE (usb, sisusb_table); | 3489 | MODULE_DEVICE_TABLE (usb, sisusb_table); |
3490 | 3490 | ||
3491 | static struct usb_driver sisusb_driver = { | 3491 | static struct usb_driver sisusb_driver = { |
3492 | .owner = THIS_MODULE, | ||
3493 | .name = "sisusb", | 3492 | .name = "sisusb", |
3494 | .probe = sisusb_probe, | 3493 | .probe = sisusb_probe, |
3495 | .disconnect = sisusb_disconnect, | 3494 | .disconnect = sisusb_disconnect, |
diff --git a/drivers/usb/misc/usblcd.c b/drivers/usb/misc/usblcd.c index 85f3725334b0..cc3dae3f34e0 100644 --- a/drivers/usb/misc/usblcd.c +++ b/drivers/usb/misc/usblcd.c | |||
@@ -371,7 +371,6 @@ static void lcd_disconnect(struct usb_interface *interface) | |||
371 | } | 371 | } |
372 | 372 | ||
373 | static struct usb_driver lcd_driver = { | 373 | static struct usb_driver lcd_driver = { |
374 | .owner = THIS_MODULE, | ||
375 | .name = "usblcd", | 374 | .name = "usblcd", |
376 | .probe = lcd_probe, | 375 | .probe = lcd_probe, |
377 | .disconnect = lcd_disconnect, | 376 | .disconnect = lcd_disconnect, |
diff --git a/drivers/usb/misc/usbled.c b/drivers/usb/misc/usbled.c index 3c93921cb6b3..877b081a3a6e 100644 --- a/drivers/usb/misc/usbled.c +++ b/drivers/usb/misc/usbled.c | |||
@@ -148,7 +148,6 @@ static void led_disconnect(struct usb_interface *interface) | |||
148 | } | 148 | } |
149 | 149 | ||
150 | static struct usb_driver led_driver = { | 150 | static struct usb_driver led_driver = { |
151 | .owner = THIS_MODULE, | ||
152 | .name = "usbled", | 151 | .name = "usbled", |
153 | .probe = led_probe, | 152 | .probe = led_probe, |
154 | .disconnect = led_disconnect, | 153 | .disconnect = led_disconnect, |
diff --git a/drivers/usb/misc/usbtest.c b/drivers/usb/misc/usbtest.c index 605a2afe34ed..84fa1728f052 100644 --- a/drivers/usb/misc/usbtest.c +++ b/drivers/usb/misc/usbtest.c | |||
@@ -2134,7 +2134,6 @@ static struct usb_device_id id_table [] = { | |||
2134 | MODULE_DEVICE_TABLE (usb, id_table); | 2134 | MODULE_DEVICE_TABLE (usb, id_table); |
2135 | 2135 | ||
2136 | static struct usb_driver usbtest_driver = { | 2136 | static struct usb_driver usbtest_driver = { |
2137 | .owner = THIS_MODULE, | ||
2138 | .name = "usbtest", | 2137 | .name = "usbtest", |
2139 | .id_table = id_table, | 2138 | .id_table = id_table, |
2140 | .probe = usbtest_probe, | 2139 | .probe = usbtest_probe, |
diff --git a/drivers/usb/misc/uss720.c b/drivers/usb/misc/uss720.c index 1cabe7ed91f5..4081990b7d1a 100644 --- a/drivers/usb/misc/uss720.c +++ b/drivers/usb/misc/uss720.c | |||
@@ -780,7 +780,6 @@ MODULE_DEVICE_TABLE (usb, uss720_table); | |||
780 | 780 | ||
781 | 781 | ||
782 | static struct usb_driver uss720_driver = { | 782 | static struct usb_driver uss720_driver = { |
783 | .owner = THIS_MODULE, | ||
784 | .name = "uss720", | 783 | .name = "uss720", |
785 | .probe = uss720_probe, | 784 | .probe = uss720_probe, |
786 | .disconnect = uss720_disconnect, | 785 | .disconnect = uss720_disconnect, |
diff --git a/drivers/usb/net/asix.c b/drivers/usb/net/asix.c index 542120ef1fd2..2faf2f2bdcdd 100644 --- a/drivers/usb/net/asix.c +++ b/drivers/usb/net/asix.c | |||
@@ -918,7 +918,6 @@ static const struct usb_device_id products [] = { | |||
918 | MODULE_DEVICE_TABLE(usb, products); | 918 | MODULE_DEVICE_TABLE(usb, products); |
919 | 919 | ||
920 | static struct usb_driver asix_driver = { | 920 | static struct usb_driver asix_driver = { |
921 | .owner = THIS_MODULE, | ||
922 | .name = "asix", | 921 | .name = "asix", |
923 | .id_table = products, | 922 | .id_table = products, |
924 | .probe = usbnet_probe, | 923 | .probe = usbnet_probe, |
diff --git a/drivers/usb/net/catc.c b/drivers/usb/net/catc.c index 37ef365a2472..be5f5e142dd0 100644 --- a/drivers/usb/net/catc.c +++ b/drivers/usb/net/catc.c | |||
@@ -934,7 +934,6 @@ static struct usb_device_id catc_id_table [] = { | |||
934 | MODULE_DEVICE_TABLE(usb, catc_id_table); | 934 | MODULE_DEVICE_TABLE(usb, catc_id_table); |
935 | 935 | ||
936 | static struct usb_driver catc_driver = { | 936 | static struct usb_driver catc_driver = { |
937 | .owner = THIS_MODULE, | ||
938 | .name = driver_name, | 937 | .name = driver_name, |
939 | .probe = catc_probe, | 938 | .probe = catc_probe, |
940 | .disconnect = catc_disconnect, | 939 | .disconnect = catc_disconnect, |
diff --git a/drivers/usb/net/cdc_ether.c b/drivers/usb/net/cdc_ether.c index c008c981862b..63f1f3ba8e0b 100644 --- a/drivers/usb/net/cdc_ether.c +++ b/drivers/usb/net/cdc_ether.c | |||
@@ -476,7 +476,6 @@ static const struct usb_device_id products [] = { | |||
476 | MODULE_DEVICE_TABLE(usb, products); | 476 | MODULE_DEVICE_TABLE(usb, products); |
477 | 477 | ||
478 | static struct usb_driver cdc_driver = { | 478 | static struct usb_driver cdc_driver = { |
479 | .owner = THIS_MODULE, | ||
480 | .name = "cdc_ether", | 479 | .name = "cdc_ether", |
481 | .id_table = products, | 480 | .id_table = products, |
482 | .probe = usbnet_probe, | 481 | .probe = usbnet_probe, |
diff --git a/drivers/usb/net/cdc_subset.c b/drivers/usb/net/cdc_subset.c index f05cfb83c82d..ec801e8bb1bb 100644 --- a/drivers/usb/net/cdc_subset.c +++ b/drivers/usb/net/cdc_subset.c | |||
@@ -306,7 +306,6 @@ MODULE_DEVICE_TABLE(usb, products); | |||
306 | /*-------------------------------------------------------------------------*/ | 306 | /*-------------------------------------------------------------------------*/ |
307 | 307 | ||
308 | static struct usb_driver cdc_subset_driver = { | 308 | static struct usb_driver cdc_subset_driver = { |
309 | .owner = THIS_MODULE, | ||
310 | .name = "cdc_subset", | 309 | .name = "cdc_subset", |
311 | .probe = usbnet_probe, | 310 | .probe = usbnet_probe, |
312 | .suspend = usbnet_suspend, | 311 | .suspend = usbnet_suspend, |
diff --git a/drivers/usb/net/gl620a.c b/drivers/usb/net/gl620a.c index 2455e9a85674..faf1e86be687 100644 --- a/drivers/usb/net/gl620a.c +++ b/drivers/usb/net/gl620a.c | |||
@@ -377,7 +377,6 @@ static const struct usb_device_id products [] = { | |||
377 | MODULE_DEVICE_TABLE(usb, products); | 377 | MODULE_DEVICE_TABLE(usb, products); |
378 | 378 | ||
379 | static struct usb_driver gl620a_driver = { | 379 | static struct usb_driver gl620a_driver = { |
380 | .owner = THIS_MODULE, | ||
381 | .name = "gl620a", | 380 | .name = "gl620a", |
382 | .id_table = products, | 381 | .id_table = products, |
383 | .probe = usbnet_probe, | 382 | .probe = usbnet_probe, |
diff --git a/drivers/usb/net/kaweth.c b/drivers/usb/net/kaweth.c index b5776518020f..def3bb8e2290 100644 --- a/drivers/usb/net/kaweth.c +++ b/drivers/usb/net/kaweth.c | |||
@@ -175,7 +175,6 @@ MODULE_DEVICE_TABLE (usb, usb_klsi_table); | |||
175 | * kaweth_driver | 175 | * kaweth_driver |
176 | ****************************************************************/ | 176 | ****************************************************************/ |
177 | static struct usb_driver kaweth_driver = { | 177 | static struct usb_driver kaweth_driver = { |
178 | .owner = THIS_MODULE, | ||
179 | .name = driver_name, | 178 | .name = driver_name, |
180 | .probe = kaweth_probe, | 179 | .probe = kaweth_probe, |
181 | .disconnect = kaweth_disconnect, | 180 | .disconnect = kaweth_disconnect, |
diff --git a/drivers/usb/net/net1080.c b/drivers/usb/net/net1080.c index b3799b1a2b0d..78e6a43b1087 100644 --- a/drivers/usb/net/net1080.c +++ b/drivers/usb/net/net1080.c | |||
@@ -593,7 +593,6 @@ static const struct usb_device_id products [] = { | |||
593 | MODULE_DEVICE_TABLE(usb, products); | 593 | MODULE_DEVICE_TABLE(usb, products); |
594 | 594 | ||
595 | static struct usb_driver net1080_driver = { | 595 | static struct usb_driver net1080_driver = { |
596 | .owner = THIS_MODULE, | ||
597 | .name = "net1080", | 596 | .name = "net1080", |
598 | .id_table = products, | 597 | .id_table = products, |
599 | .probe = usbnet_probe, | 598 | .probe = usbnet_probe, |
diff --git a/drivers/usb/net/plusb.c b/drivers/usb/net/plusb.c index 89856aa0e3b8..4fe863389cb7 100644 --- a/drivers/usb/net/plusb.c +++ b/drivers/usb/net/plusb.c | |||
@@ -127,7 +127,6 @@ static const struct usb_device_id products [] = { | |||
127 | MODULE_DEVICE_TABLE(usb, products); | 127 | MODULE_DEVICE_TABLE(usb, products); |
128 | 128 | ||
129 | static struct usb_driver plusb_driver = { | 129 | static struct usb_driver plusb_driver = { |
130 | .owner = THIS_MODULE, | ||
131 | .name = "plusb", | 130 | .name = "plusb", |
132 | .id_table = products, | 131 | .id_table = products, |
133 | .probe = usbnet_probe, | 132 | .probe = usbnet_probe, |
diff --git a/drivers/usb/net/rndis_host.c b/drivers/usb/net/rndis_host.c index c0ecbab6f6ba..49991ac1bf3b 100644 --- a/drivers/usb/net/rndis_host.c +++ b/drivers/usb/net/rndis_host.c | |||
@@ -586,7 +586,6 @@ static const struct usb_device_id products [] = { | |||
586 | MODULE_DEVICE_TABLE(usb, products); | 586 | MODULE_DEVICE_TABLE(usb, products); |
587 | 587 | ||
588 | static struct usb_driver rndis_driver = { | 588 | static struct usb_driver rndis_driver = { |
589 | .owner = THIS_MODULE, | ||
590 | .name = "rndis_host", | 589 | .name = "rndis_host", |
591 | .id_table = products, | 590 | .id_table = products, |
592 | .probe = usbnet_probe, | 591 | .probe = usbnet_probe, |
diff --git a/drivers/usb/net/rtl8150.c b/drivers/usb/net/rtl8150.c index 787dd3591d6a..8ca52be23976 100644 --- a/drivers/usb/net/rtl8150.c +++ b/drivers/usb/net/rtl8150.c | |||
@@ -177,7 +177,6 @@ static int rtl8150_probe(struct usb_interface *intf, | |||
177 | static const char driver_name [] = "rtl8150"; | 177 | static const char driver_name [] = "rtl8150"; |
178 | 178 | ||
179 | static struct usb_driver rtl8150_driver = { | 179 | static struct usb_driver rtl8150_driver = { |
180 | .owner = THIS_MODULE, | ||
181 | .name = driver_name, | 180 | .name = driver_name, |
182 | .probe = rtl8150_probe, | 181 | .probe = rtl8150_probe, |
183 | .disconnect = rtl8150_disconnect, | 182 | .disconnect = rtl8150_disconnect, |
diff --git a/drivers/usb/net/zaurus.c b/drivers/usb/net/zaurus.c index 680d13957af4..9c5ab251370c 100644 --- a/drivers/usb/net/zaurus.c +++ b/drivers/usb/net/zaurus.c | |||
@@ -357,7 +357,6 @@ static const struct usb_device_id products [] = { | |||
357 | MODULE_DEVICE_TABLE(usb, products); | 357 | MODULE_DEVICE_TABLE(usb, products); |
358 | 358 | ||
359 | static struct usb_driver zaurus_driver = { | 359 | static struct usb_driver zaurus_driver = { |
360 | .owner = THIS_MODULE, | ||
361 | .name = "zaurus", | 360 | .name = "zaurus", |
362 | .id_table = products, | 361 | .id_table = products, |
363 | .probe = usbnet_probe, | 362 | .probe = usbnet_probe, |
diff --git a/drivers/usb/net/zd1201.c b/drivers/usb/net/zd1201.c index 2f52261c7cc1..4d6673adc8fc 100644 --- a/drivers/usb/net/zd1201.c +++ b/drivers/usb/net/zd1201.c | |||
@@ -1923,7 +1923,6 @@ static int zd1201_resume(struct usb_interface *interface) | |||
1923 | #endif | 1923 | #endif |
1924 | 1924 | ||
1925 | static struct usb_driver zd1201_usb = { | 1925 | static struct usb_driver zd1201_usb = { |
1926 | .owner = THIS_MODULE, | ||
1927 | .name = "zd1201", | 1926 | .name = "zd1201", |
1928 | .probe = zd1201_probe, | 1927 | .probe = zd1201_probe, |
1929 | .disconnect = zd1201_disconnect, | 1928 | .disconnect = zd1201_disconnect, |
diff --git a/drivers/usb/serial/airprime.c b/drivers/usb/serial/airprime.c index 2ef9945a6c07..dbf1f063098c 100644 --- a/drivers/usb/serial/airprime.c +++ b/drivers/usb/serial/airprime.c | |||
@@ -23,7 +23,6 @@ static struct usb_device_id id_table [] = { | |||
23 | MODULE_DEVICE_TABLE(usb, id_table); | 23 | MODULE_DEVICE_TABLE(usb, id_table); |
24 | 24 | ||
25 | static struct usb_driver airprime_driver = { | 25 | static struct usb_driver airprime_driver = { |
26 | .owner = THIS_MODULE, | ||
27 | .name = "airprime", | 26 | .name = "airprime", |
28 | .probe = usb_serial_probe, | 27 | .probe = usb_serial_probe, |
29 | .disconnect = usb_serial_disconnect, | 28 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/anydata.c b/drivers/usb/serial/anydata.c index 7a171e034b59..343f6f228220 100644 --- a/drivers/usb/serial/anydata.c +++ b/drivers/usb/serial/anydata.c | |||
@@ -27,7 +27,6 @@ static int buffer_size; | |||
27 | static int debug; | 27 | static int debug; |
28 | 28 | ||
29 | static struct usb_driver anydata_driver = { | 29 | static struct usb_driver anydata_driver = { |
30 | .owner = THIS_MODULE, | ||
31 | .name = "anydata", | 30 | .name = "anydata", |
32 | .probe = usb_serial_probe, | 31 | .probe = usb_serial_probe, |
33 | .disconnect = usb_serial_disconnect, | 32 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/belkin_sa.c b/drivers/usb/serial/belkin_sa.c index 69039bd9fc5e..4144777ea18b 100644 --- a/drivers/usb/serial/belkin_sa.c +++ b/drivers/usb/serial/belkin_sa.c | |||
@@ -113,7 +113,6 @@ static struct usb_device_id id_table_combined [] = { | |||
113 | MODULE_DEVICE_TABLE (usb, id_table_combined); | 113 | MODULE_DEVICE_TABLE (usb, id_table_combined); |
114 | 114 | ||
115 | static struct usb_driver belkin_driver = { | 115 | static struct usb_driver belkin_driver = { |
116 | .owner = THIS_MODULE, | ||
117 | .name = "belkin", | 116 | .name = "belkin", |
118 | .probe = usb_serial_probe, | 117 | .probe = usb_serial_probe, |
119 | .disconnect = usb_serial_disconnect, | 118 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/cp2101.c b/drivers/usb/serial/cp2101.c index 813bab37e076..da46b351e188 100644 --- a/drivers/usb/serial/cp2101.c +++ b/drivers/usb/serial/cp2101.c | |||
@@ -67,7 +67,6 @@ static struct usb_device_id id_table [] = { | |||
67 | MODULE_DEVICE_TABLE (usb, id_table); | 67 | MODULE_DEVICE_TABLE (usb, id_table); |
68 | 68 | ||
69 | static struct usb_driver cp2101_driver = { | 69 | static struct usb_driver cp2101_driver = { |
70 | .owner = THIS_MODULE, | ||
71 | .name = "cp2101", | 70 | .name = "cp2101", |
72 | .probe = usb_serial_probe, | 71 | .probe = usb_serial_probe, |
73 | .disconnect = usb_serial_disconnect, | 72 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/cyberjack.c b/drivers/usb/serial/cyberjack.c index 8c10e4004905..6d18d4eaba35 100644 --- a/drivers/usb/serial/cyberjack.c +++ b/drivers/usb/serial/cyberjack.c | |||
@@ -76,7 +76,6 @@ static struct usb_device_id id_table [] = { | |||
76 | MODULE_DEVICE_TABLE (usb, id_table); | 76 | MODULE_DEVICE_TABLE (usb, id_table); |
77 | 77 | ||
78 | static struct usb_driver cyberjack_driver = { | 78 | static struct usb_driver cyberjack_driver = { |
79 | .owner = THIS_MODULE, | ||
80 | .name = "cyberjack", | 79 | .name = "cyberjack", |
81 | .probe = usb_serial_probe, | 80 | .probe = usb_serial_probe, |
82 | .disconnect = usb_serial_disconnect, | 81 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/digi_acceleport.c b/drivers/usb/serial/digi_acceleport.c index c50cec95f49b..8fc414bd5b24 100644 --- a/drivers/usb/serial/digi_acceleport.c +++ b/drivers/usb/serial/digi_acceleport.c | |||
@@ -493,7 +493,6 @@ static struct usb_device_id id_table_4 [] = { | |||
493 | MODULE_DEVICE_TABLE (usb, id_table_combined); | 493 | MODULE_DEVICE_TABLE (usb, id_table_combined); |
494 | 494 | ||
495 | static struct usb_driver digi_driver = { | 495 | static struct usb_driver digi_driver = { |
496 | .owner = THIS_MODULE, | ||
497 | .name = "digi_acceleport", | 496 | .name = "digi_acceleport", |
498 | .probe = usb_serial_probe, | 497 | .probe = usb_serial_probe, |
499 | .disconnect = usb_serial_disconnect, | 498 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/empeg.c b/drivers/usb/serial/empeg.c index e5e40064caf2..79a766e9ca23 100644 --- a/drivers/usb/serial/empeg.c +++ b/drivers/usb/serial/empeg.c | |||
@@ -105,7 +105,6 @@ static struct usb_device_id id_table [] = { | |||
105 | MODULE_DEVICE_TABLE (usb, id_table); | 105 | MODULE_DEVICE_TABLE (usb, id_table); |
106 | 106 | ||
107 | static struct usb_driver empeg_driver = { | 107 | static struct usb_driver empeg_driver = { |
108 | .owner = THIS_MODULE, | ||
109 | .name = "empeg", | 108 | .name = "empeg", |
110 | .probe = usb_serial_probe, | 109 | .probe = usb_serial_probe, |
111 | .disconnect = usb_serial_disconnect, | 110 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/garmin_gps.c b/drivers/usb/serial/garmin_gps.c index 198a322286f9..452efce72714 100644 --- a/drivers/usb/serial/garmin_gps.c +++ b/drivers/usb/serial/garmin_gps.c | |||
@@ -222,7 +222,6 @@ static struct usb_device_id id_table [] = { | |||
222 | MODULE_DEVICE_TABLE (usb, id_table); | 222 | MODULE_DEVICE_TABLE (usb, id_table); |
223 | 223 | ||
224 | static struct usb_driver garmin_driver = { | 224 | static struct usb_driver garmin_driver = { |
225 | .owner = THIS_MODULE, | ||
226 | .name = "garmin_gps", | 225 | .name = "garmin_gps", |
227 | .probe = usb_serial_probe, | 226 | .probe = usb_serial_probe, |
228 | .disconnect = usb_serial_disconnect, | 227 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/generic.c b/drivers/usb/serial/generic.c index c00a440dc421..4ddac620fc0c 100644 --- a/drivers/usb/serial/generic.c +++ b/drivers/usb/serial/generic.c | |||
@@ -68,7 +68,6 @@ static int generic_probe(struct usb_interface *interface, | |||
68 | } | 68 | } |
69 | 69 | ||
70 | static struct usb_driver generic_driver = { | 70 | static struct usb_driver generic_driver = { |
71 | .owner = THIS_MODULE, | ||
72 | .name = "usbserial_generic", | 71 | .name = "usbserial_generic", |
73 | .probe = generic_probe, | 72 | .probe = generic_probe, |
74 | .disconnect = usb_serial_disconnect, | 73 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/hp4x.c b/drivers/usb/serial/hp4x.c index e588c3fe632d..e9719da2aca1 100644 --- a/drivers/usb/serial/hp4x.c +++ b/drivers/usb/serial/hp4x.c | |||
@@ -37,7 +37,6 @@ static struct usb_device_id id_table [] = { | |||
37 | MODULE_DEVICE_TABLE(usb, id_table); | 37 | MODULE_DEVICE_TABLE(usb, id_table); |
38 | 38 | ||
39 | static struct usb_driver hp49gp_driver = { | 39 | static struct usb_driver hp49gp_driver = { |
40 | .owner = THIS_MODULE, | ||
41 | .name = "hp4X", | 40 | .name = "hp4X", |
42 | .probe = usb_serial_probe, | 41 | .probe = usb_serial_probe, |
43 | .disconnect = usb_serial_disconnect, | 42 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/io_edgeport.c b/drivers/usb/serial/io_edgeport.c index 276bd425a474..4e2b599d85a6 100644 --- a/drivers/usb/serial/io_edgeport.c +++ b/drivers/usb/serial/io_edgeport.c | |||
@@ -242,7 +242,6 @@ static void edge_shutdown (struct usb_serial *serial); | |||
242 | #include "io_tables.h" /* all of the devices that this driver supports */ | 242 | #include "io_tables.h" /* all of the devices that this driver supports */ |
243 | 243 | ||
244 | static struct usb_driver io_driver = { | 244 | static struct usb_driver io_driver = { |
245 | .owner = THIS_MODULE, | ||
246 | .name = "io_edgeport", | 245 | .name = "io_edgeport", |
247 | .probe = usb_serial_probe, | 246 | .probe = usb_serial_probe, |
248 | .disconnect = usb_serial_disconnect, | 247 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c index 8b2e4c78abcd..22ad1a5a8f9e 100644 --- a/drivers/usb/serial/io_ti.c +++ b/drivers/usb/serial/io_ti.c | |||
@@ -216,7 +216,6 @@ static struct usb_device_id id_table_combined [] = { | |||
216 | MODULE_DEVICE_TABLE (usb, id_table_combined); | 216 | MODULE_DEVICE_TABLE (usb, id_table_combined); |
217 | 217 | ||
218 | static struct usb_driver io_driver = { | 218 | static struct usb_driver io_driver = { |
219 | .owner = THIS_MODULE, | ||
220 | .name = "io_ti", | 219 | .name = "io_ti", |
221 | .probe = usb_serial_probe, | 220 | .probe = usb_serial_probe, |
222 | .disconnect = usb_serial_disconnect, | 221 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/ipaq.c b/drivers/usb/serial/ipaq.c index efb568be7015..06d07cea0b70 100644 --- a/drivers/usb/serial/ipaq.c +++ b/drivers/usb/serial/ipaq.c | |||
@@ -542,7 +542,6 @@ static struct usb_device_id ipaq_id_table [] = { | |||
542 | MODULE_DEVICE_TABLE (usb, ipaq_id_table); | 542 | MODULE_DEVICE_TABLE (usb, ipaq_id_table); |
543 | 543 | ||
544 | static struct usb_driver ipaq_driver = { | 544 | static struct usb_driver ipaq_driver = { |
545 | .owner = THIS_MODULE, | ||
546 | .name = "ipaq", | 545 | .name = "ipaq", |
547 | .probe = usb_serial_probe, | 546 | .probe = usb_serial_probe, |
548 | .disconnect = usb_serial_disconnect, | 547 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/ipw.c b/drivers/usb/serial/ipw.c index 64e2cda2a84a..2dd191f5fe76 100644 --- a/drivers/usb/serial/ipw.c +++ b/drivers/usb/serial/ipw.c | |||
@@ -152,7 +152,6 @@ static struct usb_device_id usb_ipw_ids[] = { | |||
152 | MODULE_DEVICE_TABLE(usb, usb_ipw_ids); | 152 | MODULE_DEVICE_TABLE(usb, usb_ipw_ids); |
153 | 153 | ||
154 | static struct usb_driver usb_ipw_driver = { | 154 | static struct usb_driver usb_ipw_driver = { |
155 | .owner = THIS_MODULE, | ||
156 | .name = "ipwtty", | 155 | .name = "ipwtty", |
157 | .probe = usb_serial_probe, | 156 | .probe = usb_serial_probe, |
158 | .disconnect = usb_serial_disconnect, | 157 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/ir-usb.c b/drivers/usb/serial/ir-usb.c index 647431c1ccb1..a59010421444 100644 --- a/drivers/usb/serial/ir-usb.c +++ b/drivers/usb/serial/ir-usb.c | |||
@@ -125,7 +125,6 @@ static struct usb_device_id id_table [] = { | |||
125 | MODULE_DEVICE_TABLE (usb, id_table); | 125 | MODULE_DEVICE_TABLE (usb, id_table); |
126 | 126 | ||
127 | static struct usb_driver ir_driver = { | 127 | static struct usb_driver ir_driver = { |
128 | .owner = THIS_MODULE, | ||
129 | .name = "ir-usb", | 128 | .name = "ir-usb", |
130 | .probe = usb_serial_probe, | 129 | .probe = usb_serial_probe, |
131 | .disconnect = usb_serial_disconnect, | 130 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/keyspan.h b/drivers/usb/serial/keyspan.h index 4e6f626f6062..7472ed6bf626 100644 --- a/drivers/usb/serial/keyspan.h +++ b/drivers/usb/serial/keyspan.h | |||
@@ -520,7 +520,6 @@ static struct usb_device_id keyspan_ids_combined[] = { | |||
520 | MODULE_DEVICE_TABLE(usb, keyspan_ids_combined); | 520 | MODULE_DEVICE_TABLE(usb, keyspan_ids_combined); |
521 | 521 | ||
522 | static struct usb_driver keyspan_driver = { | 522 | static struct usb_driver keyspan_driver = { |
523 | .owner = THIS_MODULE, | ||
524 | .name = "keyspan", | 523 | .name = "keyspan", |
525 | .probe = usb_serial_probe, | 524 | .probe = usb_serial_probe, |
526 | .disconnect = usb_serial_disconnect, | 525 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/keyspan_pda.c b/drivers/usb/serial/keyspan_pda.c index 0d1f15268549..b0441c35f98f 100644 --- a/drivers/usb/serial/keyspan_pda.c +++ b/drivers/usb/serial/keyspan_pda.c | |||
@@ -150,7 +150,6 @@ static struct usb_device_id id_table_combined [] = { | |||
150 | MODULE_DEVICE_TABLE (usb, id_table_combined); | 150 | MODULE_DEVICE_TABLE (usb, id_table_combined); |
151 | 151 | ||
152 | static struct usb_driver keyspan_pda_driver = { | 152 | static struct usb_driver keyspan_pda_driver = { |
153 | .owner = THIS_MODULE, | ||
154 | .name = "keyspan_pda", | 153 | .name = "keyspan_pda", |
155 | .probe = usb_serial_probe, | 154 | .probe = usb_serial_probe, |
156 | .disconnect = usb_serial_disconnect, | 155 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/kl5kusb105.c b/drivers/usb/serial/kl5kusb105.c index bd68638b7c35..4e2f7dfb58b2 100644 --- a/drivers/usb/serial/kl5kusb105.c +++ b/drivers/usb/serial/kl5kusb105.c | |||
@@ -116,7 +116,6 @@ static struct usb_device_id id_table [] = { | |||
116 | MODULE_DEVICE_TABLE (usb, id_table); | 116 | MODULE_DEVICE_TABLE (usb, id_table); |
117 | 117 | ||
118 | static struct usb_driver kl5kusb105d_driver = { | 118 | static struct usb_driver kl5kusb105d_driver = { |
119 | .owner = THIS_MODULE, | ||
120 | .name = "kl5kusb105d", | 119 | .name = "kl5kusb105d", |
121 | .probe = usb_serial_probe, | 120 | .probe = usb_serial_probe, |
122 | .disconnect = usb_serial_disconnect, | 121 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/kobil_sct.c b/drivers/usb/serial/kobil_sct.c index 4c853afea385..d9c21e275130 100644 --- a/drivers/usb/serial/kobil_sct.c +++ b/drivers/usb/serial/kobil_sct.c | |||
@@ -97,7 +97,6 @@ static struct usb_device_id id_table [] = { | |||
97 | MODULE_DEVICE_TABLE (usb, id_table); | 97 | MODULE_DEVICE_TABLE (usb, id_table); |
98 | 98 | ||
99 | static struct usb_driver kobil_driver = { | 99 | static struct usb_driver kobil_driver = { |
100 | .owner = THIS_MODULE, | ||
101 | .name = "kobil", | 100 | .name = "kobil", |
102 | .probe = usb_serial_probe, | 101 | .probe = usb_serial_probe, |
103 | .disconnect = usb_serial_disconnect, | 102 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/mct_u232.c b/drivers/usb/serial/mct_u232.c index b0415e7542c4..b6d6cab9c859 100644 --- a/drivers/usb/serial/mct_u232.c +++ b/drivers/usb/serial/mct_u232.c | |||
@@ -125,7 +125,6 @@ static struct usb_device_id id_table_combined [] = { | |||
125 | MODULE_DEVICE_TABLE (usb, id_table_combined); | 125 | MODULE_DEVICE_TABLE (usb, id_table_combined); |
126 | 126 | ||
127 | static struct usb_driver mct_u232_driver = { | 127 | static struct usb_driver mct_u232_driver = { |
128 | .owner = THIS_MODULE, | ||
129 | .name = "mct_u232", | 128 | .name = "mct_u232", |
130 | .probe = usb_serial_probe, | 129 | .probe = usb_serial_probe, |
131 | .disconnect = usb_serial_disconnect, | 130 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/omninet.c b/drivers/usb/serial/omninet.c index b595befb24cf..762d8ff9a1e4 100644 --- a/drivers/usb/serial/omninet.c +++ b/drivers/usb/serial/omninet.c | |||
@@ -80,7 +80,6 @@ static struct usb_device_id id_table [] = { | |||
80 | MODULE_DEVICE_TABLE (usb, id_table); | 80 | MODULE_DEVICE_TABLE (usb, id_table); |
81 | 81 | ||
82 | static struct usb_driver omninet_driver = { | 82 | static struct usb_driver omninet_driver = { |
83 | .owner = THIS_MODULE, | ||
84 | .name = "omninet", | 83 | .name = "omninet", |
85 | .probe = usb_serial_probe, | 84 | .probe = usb_serial_probe, |
86 | .disconnect = usb_serial_disconnect, | 85 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 4ee657eaaa0b..3fd2405304fd 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c | |||
@@ -95,7 +95,6 @@ static struct usb_device_id option_ids[] = { | |||
95 | MODULE_DEVICE_TABLE(usb, option_ids); | 95 | MODULE_DEVICE_TABLE(usb, option_ids); |
96 | 96 | ||
97 | static struct usb_driver option_driver = { | 97 | static struct usb_driver option_driver = { |
98 | .owner = THIS_MODULE, | ||
99 | .name = "option", | 98 | .name = "option", |
100 | .probe = usb_serial_probe, | 99 | .probe = usb_serial_probe, |
101 | .disconnect = usb_serial_disconnect, | 100 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index e302a320444c..c96ba9fc19e0 100644 --- a/drivers/usb/serial/pl2303.c +++ b/drivers/usb/serial/pl2303.c | |||
@@ -82,7 +82,6 @@ static struct usb_device_id id_table [] = { | |||
82 | MODULE_DEVICE_TABLE (usb, id_table); | 82 | MODULE_DEVICE_TABLE (usb, id_table); |
83 | 83 | ||
84 | static struct usb_driver pl2303_driver = { | 84 | static struct usb_driver pl2303_driver = { |
85 | .owner = THIS_MODULE, | ||
86 | .name = "pl2303", | 85 | .name = "pl2303", |
87 | .probe = usb_serial_probe, | 86 | .probe = usb_serial_probe, |
88 | .disconnect = usb_serial_disconnect, | 87 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/safe_serial.c b/drivers/usb/serial/safe_serial.c index f8241c152043..3ea284ce7b8b 100644 --- a/drivers/usb/serial/safe_serial.c +++ b/drivers/usb/serial/safe_serial.c | |||
@@ -160,7 +160,6 @@ static struct usb_device_id id_table[] = { | |||
160 | MODULE_DEVICE_TABLE (usb, id_table); | 160 | MODULE_DEVICE_TABLE (usb, id_table); |
161 | 161 | ||
162 | static struct usb_driver safe_driver = { | 162 | static struct usb_driver safe_driver = { |
163 | .owner = THIS_MODULE, | ||
164 | .name = "safe_serial", | 163 | .name = "safe_serial", |
165 | .probe = usb_serial_probe, | 164 | .probe = usb_serial_probe, |
166 | .disconnect = usb_serial_disconnect, | 165 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb/serial/ti_usb_3410_5052.c index 17a1f09483bd..9e53ec75bcfd 100644 --- a/drivers/usb/serial/ti_usb_3410_5052.c +++ b/drivers/usb/serial/ti_usb_3410_5052.c | |||
@@ -248,7 +248,6 @@ static struct usb_device_id ti_id_table_combined[] = { | |||
248 | }; | 248 | }; |
249 | 249 | ||
250 | static struct usb_driver ti_usb_driver = { | 250 | static struct usb_driver ti_usb_driver = { |
251 | .owner = THIS_MODULE, | ||
252 | .name = "ti_usb_3410_5052", | 251 | .name = "ti_usb_3410_5052", |
253 | .probe = usb_serial_probe, | 252 | .probe = usb_serial_probe, |
254 | .disconnect = usb_serial_disconnect, | 253 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c index 2ac37b52485a..12aaf18ff9ea 100644 --- a/drivers/usb/serial/usb-serial.c +++ b/drivers/usb/serial/usb-serial.c | |||
@@ -42,7 +42,6 @@ | |||
42 | 42 | ||
43 | /* Driver structure we register with the USB core */ | 43 | /* Driver structure we register with the USB core */ |
44 | static struct usb_driver usb_serial_driver = { | 44 | static struct usb_driver usb_serial_driver = { |
45 | .owner = THIS_MODULE, | ||
46 | .name = "usbserial", | 45 | .name = "usbserial", |
47 | .probe = usb_serial_probe, | 46 | .probe = usb_serial_probe, |
48 | .disconnect = usb_serial_disconnect, | 47 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c index 2973f5564c06..49b1fbe61f25 100644 --- a/drivers/usb/serial/visor.c +++ b/drivers/usb/serial/visor.c | |||
@@ -173,7 +173,6 @@ static struct usb_device_id id_table_combined [] = { | |||
173 | MODULE_DEVICE_TABLE (usb, id_table_combined); | 173 | MODULE_DEVICE_TABLE (usb, id_table_combined); |
174 | 174 | ||
175 | static struct usb_driver visor_driver = { | 175 | static struct usb_driver visor_driver = { |
176 | .owner = THIS_MODULE, | ||
177 | .name = "visor", | 176 | .name = "visor", |
178 | .probe = usb_serial_probe, | 177 | .probe = usb_serial_probe, |
179 | .disconnect = usb_serial_disconnect, | 178 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/serial/whiteheat.c b/drivers/usb/serial/whiteheat.c index 19c6386bb692..a7c3c4734d83 100644 --- a/drivers/usb/serial/whiteheat.c +++ b/drivers/usb/serial/whiteheat.c | |||
@@ -127,7 +127,6 @@ static struct usb_device_id id_table_combined [] = { | |||
127 | MODULE_DEVICE_TABLE (usb, id_table_combined); | 127 | MODULE_DEVICE_TABLE (usb, id_table_combined); |
128 | 128 | ||
129 | static struct usb_driver whiteheat_driver = { | 129 | static struct usb_driver whiteheat_driver = { |
130 | .owner = THIS_MODULE, | ||
131 | .name = "whiteheat", | 130 | .name = "whiteheat", |
132 | .probe = usb_serial_probe, | 131 | .probe = usb_serial_probe, |
133 | .disconnect = usb_serial_disconnect, | 132 | .disconnect = usb_serial_disconnect, |
diff --git a/drivers/usb/storage/libusual.c b/drivers/usb/storage/libusual.c index 2680c69a2417..b28151d1b609 100644 --- a/drivers/usb/storage/libusual.c +++ b/drivers/usb/storage/libusual.c | |||
@@ -153,7 +153,6 @@ static void usu_disconnect(struct usb_interface *intf) | |||
153 | } | 153 | } |
154 | 154 | ||
155 | static struct usb_driver usu_driver = { | 155 | static struct usb_driver usu_driver = { |
156 | .owner = THIS_MODULE, | ||
157 | .name = "libusual", | 156 | .name = "libusual", |
158 | .probe = usu_probe, | 157 | .probe = usu_probe, |
159 | .disconnect = usu_disconnect, | 158 | .disconnect = usu_disconnect, |
diff --git a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c index c8375aa62723..484ed297bed0 100644 --- a/drivers/usb/storage/usb.c +++ b/drivers/usb/storage/usb.c | |||
@@ -1000,7 +1000,6 @@ static void storage_disconnect(struct usb_interface *intf) | |||
1000 | ***********************************************************************/ | 1000 | ***********************************************************************/ |
1001 | 1001 | ||
1002 | static struct usb_driver usb_storage_driver = { | 1002 | static struct usb_driver usb_storage_driver = { |
1003 | .owner = THIS_MODULE, | ||
1004 | .name = "usb-storage", | 1003 | .name = "usb-storage", |
1005 | .probe = storage_probe, | 1004 | .probe = storage_probe, |
1006 | .disconnect = storage_disconnect, | 1005 | .disconnect = storage_disconnect, |
diff --git a/drivers/usb/usb-skeleton.c b/drivers/usb/usb-skeleton.c index 6c3a53f8f26c..60c458ebaa2d 100644 --- a/drivers/usb/usb-skeleton.c +++ b/drivers/usb/usb-skeleton.c | |||
@@ -330,7 +330,6 @@ static void skel_disconnect(struct usb_interface *interface) | |||
330 | } | 330 | } |
331 | 331 | ||
332 | static struct usb_driver skel_driver = { | 332 | static struct usb_driver skel_driver = { |
333 | .owner = THIS_MODULE, | ||
334 | .name = "skeleton", | 333 | .name = "skeleton", |
335 | .probe = skel_probe, | 334 | .probe = skel_probe, |
336 | .disconnect = skel_disconnect, | 335 | .disconnect = skel_disconnect, |
diff --git a/drivers/w1/dscore.c b/drivers/w1/dscore.c index 15fb250451e5..b9146306df49 100644 --- a/drivers/w1/dscore.c +++ b/drivers/w1/dscore.c | |||
@@ -52,7 +52,6 @@ static int ds_send_control_cmd(struct ds_device *, u16, u16); | |||
52 | 52 | ||
53 | 53 | ||
54 | static struct usb_driver ds_driver = { | 54 | static struct usb_driver ds_driver = { |
55 | .owner = THIS_MODULE, | ||
56 | .name = "DS9490R", | 55 | .name = "DS9490R", |
57 | .probe = ds_probe, | 56 | .probe = ds_probe, |
58 | .disconnect = ds_disconnect, | 57 | .disconnect = ds_disconnect, |
diff --git a/include/linux/usb.h b/include/linux/usb.h index 3d05c63451a8..2714814ab66c 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h | |||
@@ -536,8 +536,6 @@ struct usb_dynids { | |||
536 | 536 | ||
537 | /** | 537 | /** |
538 | * struct usb_driver - identifies USB driver to usbcore | 538 | * struct usb_driver - identifies USB driver to usbcore |
539 | * @owner: Pointer to the module owner of this driver; initialize | ||
540 | * it using THIS_MODULE. | ||
541 | * @name: The driver name should be unique among USB drivers, | 539 | * @name: The driver name should be unique among USB drivers, |
542 | * and should normally be the same as the module name. | 540 | * and should normally be the same as the module name. |
543 | * @probe: Called to see if the driver is willing to manage a particular | 541 | * @probe: Called to see if the driver is willing to manage a particular |
@@ -580,8 +578,6 @@ struct usb_dynids { | |||
580 | * them as necessary, and blocking until the unlinks complete). | 578 | * them as necessary, and blocking until the unlinks complete). |
581 | */ | 579 | */ |
582 | struct usb_driver { | 580 | struct usb_driver { |
583 | struct module *owner; | ||
584 | |||
585 | const char *name; | 581 | const char *name; |
586 | 582 | ||
587 | int (*probe) (struct usb_interface *intf, | 583 | int (*probe) (struct usb_interface *intf, |
diff --git a/sound/usb/usbaudio.c b/sound/usb/usbaudio.c index 99dae024b640..22f8bb612bff 100644 --- a/sound/usb/usbaudio.c +++ b/sound/usb/usbaudio.c | |||
@@ -1996,7 +1996,6 @@ static struct usb_device_id usb_audio_ids [] = { | |||
1996 | MODULE_DEVICE_TABLE (usb, usb_audio_ids); | 1996 | MODULE_DEVICE_TABLE (usb, usb_audio_ids); |
1997 | 1997 | ||
1998 | static struct usb_driver usb_audio_driver = { | 1998 | static struct usb_driver usb_audio_driver = { |
1999 | .owner = THIS_MODULE, | ||
2000 | .name = "snd-usb-audio", | 1999 | .name = "snd-usb-audio", |
2001 | .probe = usb_audio_probe, | 2000 | .probe = usb_audio_probe, |
2002 | .disconnect = usb_audio_disconnect, | 2001 | .disconnect = usb_audio_disconnect, |
diff --git a/sound/usb/usx2y/usbusx2y.c b/sound/usb/usx2y/usbusx2y.c index cf77313c609d..a3967f72ab4e 100644 --- a/sound/usb/usx2y/usbusx2y.c +++ b/sound/usb/usx2y/usbusx2y.c | |||
@@ -409,7 +409,6 @@ static void snd_usX2Y_disconnect(struct usb_interface *intf) | |||
409 | 409 | ||
410 | MODULE_DEVICE_TABLE(usb, snd_usX2Y_usb_id_table); | 410 | MODULE_DEVICE_TABLE(usb, snd_usX2Y_usb_id_table); |
411 | static struct usb_driver snd_usX2Y_usb_driver = { | 411 | static struct usb_driver snd_usX2Y_usb_driver = { |
412 | .owner = THIS_MODULE, | ||
413 | .name = "snd-usb-usx2y", | 412 | .name = "snd-usb-usx2y", |
414 | .probe = snd_usX2Y_probe, | 413 | .probe = snd_usX2Y_probe, |
415 | .disconnect = snd_usX2Y_disconnect, | 414 | .disconnect = snd_usX2Y_disconnect, |