Commit 6d243588 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Johan Hovold
Browse files

USB: serial: drop driver owner initialization



Core in usb_serial_register_drivers() already sets the .owner, so driver
does not need to.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent af8a6e65
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -138,7 +138,6 @@ static void aircable_process_read_urb(struct urb *urb)

static struct usb_serial_driver aircable_device = {
	.driver = {
		.owner =	THIS_MODULE,
		.name =		"aircable",
	},
	.id_table = 		id_table,
+0 −1
Original line number Diff line number Diff line
@@ -599,7 +599,6 @@ static void ark3116_process_read_urb(struct urb *urb)

static struct usb_serial_driver ark3116_device = {
	.driver = {
		.owner =	THIS_MODULE,
		.name =		"ark3116",
	},
	.id_table =		id_table,
+0 −1
Original line number Diff line number Diff line
@@ -66,7 +66,6 @@ MODULE_DEVICE_TABLE(usb, id_table);
/* All of the device info needed for the serial converters */
static struct usb_serial_driver belkin_device = {
	.driver = {
		.owner =	THIS_MODULE,
		.name =		"belkin",
	},
	.description =		"Belkin / Peracom / GoHubs USB Serial Adapter",
+0 −1
Original line number Diff line number Diff line
@@ -837,7 +837,6 @@ static int ch341_reset_resume(struct usb_serial *serial)

static struct usb_serial_driver ch341_device = {
	.driver = {
		.owner	= THIS_MODULE,
		.name	= "ch341-uart",
	},
	.id_table          = id_table,
+0 −1
Original line number Diff line number Diff line
@@ -299,7 +299,6 @@ struct cp210x_port_private {

static struct usb_serial_driver cp210x_device = {
	.driver = {
		.owner =	THIS_MODULE,
		.name =		"cp210x",
	},
	.id_table		= id_table,
Loading