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 | 18fcac353fdc7cd072b0d24c8667042e675a4c11 (patch) | |
tree | 7cbbcfccf999193e78ff86d9dc3ff1e41ec3b0bf /drivers/usb/serial/visor.c | |
parent | ea65370d025f5005649e5cb37c4d025e92c6fc38 (diff) |
[PATCH] USB Serial: get rid of the .owner field in usb_serial_driver
Don't duplicate something that's already in struct driver.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/visor.c')
-rw-r--r-- | drivers/usb/serial/visor.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c index 825451b3788c..0ac0377e8683 100644 --- a/drivers/usb/serial/visor.c +++ b/drivers/usb/serial/visor.c | |||
@@ -312,7 +312,9 @@ static struct usb_driver visor_driver = { | |||
312 | 312 | ||
313 | /* All of the device info needed for the Handspring Visor, and Palm 4.0 devices */ | 313 | /* All of the device info needed for the Handspring Visor, and Palm 4.0 devices */ |
314 | static struct usb_serial_driver handspring_device = { | 314 | static struct usb_serial_driver handspring_device = { |
315 | .owner = THIS_MODULE, | 315 | .driver = { |
316 | .owner = THIS_MODULE, | ||
317 | }, | ||
316 | .name = "Handspring Visor / Palm OS", | 318 | .name = "Handspring Visor / Palm OS", |
317 | .short_name = "visor", | 319 | .short_name = "visor", |
318 | .id_table = id_table, | 320 | .id_table = id_table, |
@@ -340,7 +342,9 @@ static struct usb_serial_driver handspring_device = { | |||
340 | 342 | ||
341 | /* All of the device info needed for the Clie UX50, TH55 Palm 5.0 devices */ | 343 | /* All of the device info needed for the Clie UX50, TH55 Palm 5.0 devices */ |
342 | static struct usb_serial_driver clie_5_device = { | 344 | static struct usb_serial_driver clie_5_device = { |
343 | .owner = THIS_MODULE, | 345 | .driver = { |
346 | .owner = THIS_MODULE, | ||
347 | }, | ||
344 | .name = "Sony Clie 5.0", | 348 | .name = "Sony Clie 5.0", |
345 | .short_name = "clie_5", | 349 | .short_name = "clie_5", |
346 | .id_table = clie_id_5_table, | 350 | .id_table = clie_id_5_table, |
@@ -368,7 +372,9 @@ static struct usb_serial_driver clie_5_device = { | |||
368 | 372 | ||
369 | /* device info for the Sony Clie OS version 3.5 */ | 373 | /* device info for the Sony Clie OS version 3.5 */ |
370 | static struct usb_serial_driver clie_3_5_device = { | 374 | static struct usb_serial_driver clie_3_5_device = { |
371 | .owner = THIS_MODULE, | 375 | .driver = { |
376 | .owner = THIS_MODULE, | ||
377 | }, | ||
372 | .name = "Sony Clie 3.5", | 378 | .name = "Sony Clie 3.5", |
373 | .short_name = "clie_3.5", | 379 | .short_name = "clie_3.5", |
374 | .id_table = clie_id_3_5_table, | 380 | .id_table = clie_id_3_5_table, |