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/io_ti.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/io_ti.c')
-rw-r--r-- | drivers/usb/serial/io_ti.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c index 4328cc702ef7..74228a072643 100644 --- a/drivers/usb/serial/io_ti.c +++ b/drivers/usb/serial/io_ti.c | |||
@@ -2983,7 +2983,9 @@ static unsigned int edge_buf_get(struct edge_buf *eb, char *buf, | |||
2983 | 2983 | ||
2984 | 2984 | ||
2985 | static struct usb_serial_driver edgeport_1port_device = { | 2985 | static struct usb_serial_driver edgeport_1port_device = { |
2986 | .owner = THIS_MODULE, | 2986 | .driver = { |
2987 | .owner = THIS_MODULE, | ||
2988 | }, | ||
2987 | .name = "Edgeport TI 1 port adapter", | 2989 | .name = "Edgeport TI 1 port adapter", |
2988 | .short_name = "edgeport_ti_1", | 2990 | .short_name = "edgeport_ti_1", |
2989 | .id_table = edgeport_1port_id_table, | 2991 | .id_table = edgeport_1port_id_table, |
@@ -3011,7 +3013,9 @@ static struct usb_serial_driver edgeport_1port_device = { | |||
3011 | }; | 3013 | }; |
3012 | 3014 | ||
3013 | static struct usb_serial_driver edgeport_2port_device = { | 3015 | static struct usb_serial_driver edgeport_2port_device = { |
3014 | .owner = THIS_MODULE, | 3016 | .driver = { |
3017 | .owner = THIS_MODULE, | ||
3018 | }, | ||
3015 | .name = "Edgeport TI 2 port adapter", | 3019 | .name = "Edgeport TI 2 port adapter", |
3016 | .short_name = "edgeport_ti_2", | 3020 | .short_name = "edgeport_ti_2", |
3017 | .id_table = edgeport_2port_id_table, | 3021 | .id_table = edgeport_2port_id_table, |