[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>
diff --git a/drivers/usb/serial/cp2101.c b/drivers/usb/serial/cp2101.c
index 0b45b58..81dd720 100644
--- a/drivers/usb/serial/cp2101.c
+++ b/drivers/usb/serial/cp2101.c
@@ -74,7 +74,9 @@
};
static struct usb_serial_driver cp2101_device = {
- .owner = THIS_MODULE,
+ .driver = {
+ .owner = THIS_MODULE,
+ },
.name = "CP2101",
.id_table = id_table,
.num_interrupt_in = 0,