[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/hp4x.c b/drivers/usb/serial/hp4x.c
index b494699..4f3cbc0 100644
--- a/drivers/usb/serial/hp4x.c
+++ b/drivers/usb/serial/hp4x.c
@@ -45,7 +45,9 @@
};
static struct usb_serial_driver hp49gp_device = {
- .owner = THIS_MODULE,
+ .driver = {
+ .owner = THIS_MODULE,
+ },
.name = "HP4X",
.id_table = id_table,
.num_interrupt_in = NUM_DONT_CARE,