diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-21 00:15:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 19:47:48 -0400 |
commit | 269bda1c123c7caf88e1deb2264f9086f0344192 (patch) | |
tree | c83d9944e0acdc40c9040cbccfb9ec7d606bdd2c /drivers/usb/serial/cypress_m8.c | |
parent | 502b95c1cc9e2c855a26f90fc999c5211b8ba957 (diff) |
[PATCH] USB Serial: move name to driver structure
This fixes up a lot of problems in sysfs with some of the usb serial
drivers, they had incorrect driver names. Also saves a tiny ammount
of memory.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/cypress_m8.c')
-rw-r--r-- | drivers/usb/serial/cypress_m8.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/serial/cypress_m8.c b/drivers/usb/serial/cypress_m8.c index b4069af4d565..af9290ed257b 100644 --- a/drivers/usb/serial/cypress_m8.c +++ b/drivers/usb/serial/cypress_m8.c | |||
@@ -179,9 +179,9 @@ static unsigned int cypress_buf_get(struct cypress_buf *cb, char *buf, unsigne | |||
179 | static struct usb_serial_driver cypress_earthmate_device = { | 179 | static struct usb_serial_driver cypress_earthmate_device = { |
180 | .driver = { | 180 | .driver = { |
181 | .owner = THIS_MODULE, | 181 | .owner = THIS_MODULE, |
182 | .name = "earthmate", | ||
182 | }, | 183 | }, |
183 | .name = "DeLorme Earthmate USB", | 184 | .description = "DeLorme Earthmate USB", |
184 | .short_name = "earthmate", | ||
185 | .id_table = id_table_earthmate, | 185 | .id_table = id_table_earthmate, |
186 | .num_interrupt_in = 1, | 186 | .num_interrupt_in = 1, |
187 | .num_interrupt_out = 1, | 187 | .num_interrupt_out = 1, |
@@ -208,9 +208,9 @@ static struct usb_serial_driver cypress_earthmate_device = { | |||
208 | static struct usb_serial_driver cypress_hidcom_device = { | 208 | static struct usb_serial_driver cypress_hidcom_device = { |
209 | .driver = { | 209 | .driver = { |
210 | .owner = THIS_MODULE, | 210 | .owner = THIS_MODULE, |
211 | .name = "cyphidcom", | ||
211 | }, | 212 | }, |
212 | .name = "HID->COM RS232 Adapter", | 213 | .description = "HID->COM RS232 Adapter", |
213 | .short_name = "cyphidcom", | ||
214 | .id_table = id_table_cyphidcomrs232, | 214 | .id_table = id_table_cyphidcomrs232, |
215 | .num_interrupt_in = 1, | 215 | .num_interrupt_in = 1, |
216 | .num_interrupt_out = 1, | 216 | .num_interrupt_out = 1, |