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/usb/misc | |
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/usb/misc')
-rw-r--r-- | drivers/usb/misc/auerswald.c | 1 | ||||
-rw-r--r-- | drivers/usb/misc/cytherm.c | 1 | ||||
-rw-r--r-- | drivers/usb/misc/emi26.c | 1 | ||||
-rw-r--r-- | drivers/usb/misc/emi62.c | 1 | ||||
-rw-r--r-- | drivers/usb/misc/idmouse.c | 1 | ||||
-rw-r--r-- | drivers/usb/misc/ldusb.c | 1 | ||||
-rw-r--r-- | drivers/usb/misc/legousbtower.c | 1 | ||||
-rw-r--r-- | drivers/usb/misc/phidgetkit.c | 1 | ||||
-rw-r--r-- | drivers/usb/misc/phidgetservo.c | 1 | ||||
-rw-r--r-- | drivers/usb/misc/rio500.c | 1 | ||||
-rw-r--r-- | drivers/usb/misc/sisusbvga/sisusb.c | 1 | ||||
-rw-r--r-- | drivers/usb/misc/usblcd.c | 1 | ||||
-rw-r--r-- | drivers/usb/misc/usbled.c | 1 | ||||
-rw-r--r-- | drivers/usb/misc/usbtest.c | 1 | ||||
-rw-r--r-- | drivers/usb/misc/uss720.c | 1 |
15 files changed, 0 insertions, 15 deletions
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, |