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 /drivers/media | |
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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/dvb/b2c2/flexcop-usb.c | 1 | ||||
-rw-r--r-- | drivers/media/dvb/cinergyT2/cinergyT2.c | 1 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/a800.c | 1 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/cxusb.c | 1 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/dibusb-mb.c | 1 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/dibusb-mc.c | 1 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/digitv.c | 1 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/dtt200u.c | 1 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/nova-t-usb2.c | 1 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/umt-010.c | 1 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/vp702x.c | 1 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/vp7045.c | 1 | ||||
-rw-r--r-- | drivers/media/video/cpia_usb.c | 1 | ||||
-rw-r--r-- | drivers/media/video/em28xx/em28xx-video.c | 1 |
14 files changed, 0 insertions, 14 deletions
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, |