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/class | |
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/class')
-rw-r--r-- | drivers/usb/class/audio.c | 1 | ||||
-rw-r--r-- | drivers/usb/class/cdc-acm.c | 1 | ||||
-rw-r--r-- | drivers/usb/class/usb-midi.c | 1 | ||||
-rw-r--r-- | drivers/usb/class/usblp.c | 1 |
4 files changed, 0 insertions, 4 deletions
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, |