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/keyspan.h | |
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/keyspan.h')
-rw-r--r-- | drivers/usb/serial/keyspan.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/drivers/usb/serial/keyspan.h b/drivers/usb/serial/keyspan.h index 97e7d9e53e39..124d46e76a2e 100644 --- a/drivers/usb/serial/keyspan.h +++ b/drivers/usb/serial/keyspan.h | |||
@@ -571,7 +571,9 @@ static struct usb_device_id keyspan_4port_ids[] = { | |||
571 | 571 | ||
572 | /* Structs for the devices, pre and post renumeration. */ | 572 | /* Structs for the devices, pre and post renumeration. */ |
573 | static struct usb_serial_driver keyspan_pre_device = { | 573 | static struct usb_serial_driver keyspan_pre_device = { |
574 | .owner = THIS_MODULE, | 574 | .driver = { |
575 | .owner = THIS_MODULE, | ||
576 | }, | ||
575 | .name = "Keyspan - (without firmware)", | 577 | .name = "Keyspan - (without firmware)", |
576 | .short_name = "keyspan_no_firm", | 578 | .short_name = "keyspan_no_firm", |
577 | .id_table = keyspan_pre_ids, | 579 | .id_table = keyspan_pre_ids, |
@@ -583,7 +585,9 @@ static struct usb_serial_driver keyspan_pre_device = { | |||
583 | }; | 585 | }; |
584 | 586 | ||
585 | static struct usb_serial_driver keyspan_1port_device = { | 587 | static struct usb_serial_driver keyspan_1port_device = { |
586 | .owner = THIS_MODULE, | 588 | .driver = { |
589 | .owner = THIS_MODULE, | ||
590 | }, | ||
587 | .name = "Keyspan 1 port adapter", | 591 | .name = "Keyspan 1 port adapter", |
588 | .short_name = "keyspan_1", | 592 | .short_name = "keyspan_1", |
589 | .id_table = keyspan_1port_ids, | 593 | .id_table = keyspan_1port_ids, |
@@ -608,7 +612,9 @@ static struct usb_serial_driver keyspan_1port_device = { | |||
608 | }; | 612 | }; |
609 | 613 | ||
610 | static struct usb_serial_driver keyspan_2port_device = { | 614 | static struct usb_serial_driver keyspan_2port_device = { |
611 | .owner = THIS_MODULE, | 615 | .driver = { |
616 | .owner = THIS_MODULE, | ||
617 | }, | ||
612 | .name = "Keyspan 2 port adapter", | 618 | .name = "Keyspan 2 port adapter", |
613 | .short_name = "keyspan_2", | 619 | .short_name = "keyspan_2", |
614 | .id_table = keyspan_2port_ids, | 620 | .id_table = keyspan_2port_ids, |
@@ -633,7 +639,9 @@ static struct usb_serial_driver keyspan_2port_device = { | |||
633 | }; | 639 | }; |
634 | 640 | ||
635 | static struct usb_serial_driver keyspan_4port_device = { | 641 | static struct usb_serial_driver keyspan_4port_device = { |
636 | .owner = THIS_MODULE, | 642 | .driver = { |
643 | .owner = THIS_MODULE, | ||
644 | }, | ||
637 | .name = "Keyspan 4 port adapter", | 645 | .name = "Keyspan 4 port adapter", |
638 | .short_name = "keyspan_4", | 646 | .short_name = "keyspan_4", |
639 | .id_table = keyspan_4port_ids, | 647 | .id_table = keyspan_4port_ids, |