]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
USB: mxu11x0: rename usb-serial driver
authorJohan Hovold <johan@kernel.org>
Tue, 29 Dec 2015 12:36:14 +0000 (13:36 +0100)
committerJohan Hovold <johan@kernel.org>
Tue, 29 Dec 2015 12:43:14 +0000 (13:43 +0100)
Rename the usb-serial driver "mxu11x0" to match the USB driver name.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/mxu11x0.c

index c408cd7b4dc658634ce6d7b393d28ca092f469af..73cc8564a562f27d232a16dcb600fccb86b08d16 100644 (file)
@@ -958,10 +958,10 @@ exit:
                        status);
 }
 
-static struct usb_serial_driver mxuport11_device = {
+static struct usb_serial_driver mxu11x0_device = {
        .driver = {
                .owner          = THIS_MODULE,
-               .name           = "mxuport11",
+               .name           = "mxu11x0",
        },
        .description            = "MOXA UPort 11x0",
        .id_table               = mxu1_idtable,
@@ -981,7 +981,7 @@ static struct usb_serial_driver mxuport11_device = {
 };
 
 static struct usb_serial_driver *const serial_drivers[] = {
-       &mxuport11_device, NULL
+       &mxu11x0_device, NULL
 };
 
 module_usb_serial_driver(serial_drivers, mxu1_idtable);