[PATCH] USB Serial: rename usb_serial_device_type to usb_serial_driver
I'm tired of trying to explain why a "device_type" is really a driver. This better describes exactly what this structure is. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -2982,7 +2982,7 @@ static unsigned int edge_buf_get(struct edge_buf *eb, char *buf,
|
||||
}
|
||||
|
||||
|
||||
static struct usb_serial_device_type edgeport_1port_device = {
|
||||
static struct usb_serial_driver edgeport_1port_device = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "Edgeport TI 1 port adapter",
|
||||
.short_name = "edgeport_ti_1",
|
||||
@@ -3010,7 +3010,7 @@ static struct usb_serial_device_type edgeport_1port_device = {
|
||||
.write_bulk_callback = edge_bulk_out_callback,
|
||||
};
|
||||
|
||||
static struct usb_serial_device_type edgeport_2port_device = {
|
||||
static struct usb_serial_driver edgeport_2port_device = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "Edgeport TI 2 port adapter",
|
||||
.short_name = "edgeport_ti_2",
|
||||
|
Reference in New Issue
Block a user