All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers()
@ 2024-03-28 22:05 Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 01/52] USB: serial: " Krzysztof Kozlowski
                   ` (53 more replies)
  0 siblings, 54 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

Merging
=======
All further patches depend on the first patch.

Description
===========
This is going to be a bit of a patch-bomb, but with trivial patches, so
I think it is still acceptable. If it is too much, apologies and I will
solve it.

Modules registering driver with usb_serial_register_drivers() might
forget to set .owner field.

Solve the problem by moving this task away from the drivers to the core
amba bus code, just like we did for platform_driver in commit
9447057eaff8 ("platform_device: use a macro instead of
platform_driver_register").

Best regards,
Krzysztof

---
Krzysztof Kozlowski (52):
      USB: serial: store owner from modules with usb_serial_register_drivers()
      USB: serial: aircable: drop driver owner initialization
      USB: serial: ark3116: drop driver owner initialization
      USB: serial: belkin_sa: drop driver owner initialization
      USB: serial: ch341: drop driver owner initialization
      USB: serial: cp210x: drop driver owner initialization
      USB: serial: cyberjack: drop driver owner initialization
      USB: serial: cypress_m8: drop driver owner initialization
      USB: serial: digi_acceleport: drop driver owner initialization
      USB: serial: empeg: drop driver owner initialization
      USB: serial: f81232: drop driver owner initialization
      USB: serial: ftdi_sio: drop driver owner initialization
      USB: serial: garmin_gps: drop driver owner initialization
      USB: serial: generic: drop driver owner initialization
      USB: serial: io_edgeport: drop driver owner initialization
      USB: serial: io_ti: drop driver owner initialization
      USB: serial: ipaq: drop driver owner initialization
      USB: serial: ipw: drop driver owner initialization
      USB: serial: ir-usb: drop driver owner initialization
      USB: serial: iuu: drop driver owner initialization
      USB: serial: keyspan: drop driver owner initialization
      USB: serial: keyspan_pda: drop driver owner initialization
      USB: serial: kl5kusb105: drop driver owner initialization
      USB: serial: kobil_sct: drop driver owner initialization
      USB: serial: mct_u232: drop driver owner initialization
      USB: serial: metro_usb: drop driver owner initialization
      USB: serial: mos7720: drop driver owner initialization
      USB: serial: mos7840: drop driver owner initialization
      USB: serial: mxuport: drop driver owner initialization
      USB: serial: navman: drop driver owner initialization
      USB: serial: omninet: drop driver owner initialization
      USB: serial: opticon: drop driver owner initialization
      USB: serial: option: drop driver owner initialization
      USB: serial: oti6858: drop driver owner initialization
      USB: serial: pl2303: drop driver owner initialization
      USB: serial: qcaux: drop driver owner initialization
      USB: serial: qcserial: drop driver owner initialization
      USB: serial: quatech2: drop driver owner initialization
      USB: serial: safe_serial: drop driver owner initialization
      USB: serial: sierra: drop driver owner initialization
      USB: serial: spcp8x5: drop driver owner initialization
      USB: serial: ssu100: drop driver owner initialization
      USB: serial: symbol: drop driver owner initialization
      USB: serial: ti_usb_3410_5052: drop driver owner initialization
      USB: serial: upd78f0730: drop driver owner initialization
      USB: serial: simple: drop driver owner initialization
      USB: serial: debug: drop driver owner initialization
      USB: serial: visor: drop driver owner initialization
      USB: serial: whiteheat: drop driver owner initialization
      USB: serial: wishbone: drop driver owner initialization
      USB: serial: xr: drop driver owner initialization
      USB: serial: xsens_mt: drop driver owner initialization

 drivers/usb/serial/aircable.c          |  1 -
 drivers/usb/serial/ark3116.c           |  1 -
 drivers/usb/serial/belkin_sa.c         |  1 -
 drivers/usb/serial/ch341.c             |  1 -
 drivers/usb/serial/cp210x.c            |  1 -
 drivers/usb/serial/cyberjack.c         |  1 -
 drivers/usb/serial/cypress_m8.c        |  3 ---
 drivers/usb/serial/digi_acceleport.c   |  2 --
 drivers/usb/serial/empeg.c             |  1 -
 drivers/usb/serial/f81232.c            |  2 --
 drivers/usb/serial/ftdi_sio.c          |  1 -
 drivers/usb/serial/garmin_gps.c        |  1 -
 drivers/usb/serial/generic.c           |  1 -
 drivers/usb/serial/io_edgeport.c       |  4 ----
 drivers/usb/serial/io_ti.c             |  2 --
 drivers/usb/serial/ipaq.c              |  1 -
 drivers/usb/serial/ipw.c               |  1 -
 drivers/usb/serial/ir-usb.c            |  1 -
 drivers/usb/serial/iuu_phoenix.c       |  1 -
 drivers/usb/serial/keyspan.c           |  4 ----
 drivers/usb/serial/keyspan_pda.c       |  2 --
 drivers/usb/serial/kl5kusb105.c        |  1 -
 drivers/usb/serial/kobil_sct.c         |  1 -
 drivers/usb/serial/mct_u232.c          |  1 -
 drivers/usb/serial/metro-usb.c         |  1 -
 drivers/usb/serial/mos7720.c           |  1 -
 drivers/usb/serial/mos7840.c           |  1 -
 drivers/usb/serial/mxuport.c           |  1 -
 drivers/usb/serial/navman.c            |  1 -
 drivers/usb/serial/omninet.c           |  1 -
 drivers/usb/serial/opticon.c           |  1 -
 drivers/usb/serial/option.c            |  1 -
 drivers/usb/serial/oti6858.c           |  1 -
 drivers/usb/serial/pl2303.c            |  1 -
 drivers/usb/serial/qcaux.c             |  1 -
 drivers/usb/serial/qcserial.c          |  1 -
 drivers/usb/serial/quatech2.c          |  1 -
 drivers/usb/serial/safe_serial.c       |  1 -
 drivers/usb/serial/sierra.c            |  1 -
 drivers/usb/serial/spcp8x5.c           |  1 -
 drivers/usb/serial/ssu100.c            |  1 -
 drivers/usb/serial/symbolserial.c      |  1 -
 drivers/usb/serial/ti_usb_3410_5052.c  |  2 --
 drivers/usb/serial/upd78f0730.c        |  1 -
 drivers/usb/serial/usb-serial-simple.c |  1 -
 drivers/usb/serial/usb-serial.c        | 12 +++++++-----
 drivers/usb/serial/usb_debug.c         |  2 --
 drivers/usb/serial/visor.c             |  3 ---
 drivers/usb/serial/whiteheat.c         |  2 --
 drivers/usb/serial/wishbone-serial.c   |  1 -
 drivers/usb/serial/xr_serial.c         |  1 -
 drivers/usb/serial/xsens_mt.c          |  1 -
 include/linux/usb/serial.h             |  7 +++++--
 53 files changed, 12 insertions(+), 75 deletions(-)
---
base-commit: 7fdcff3312e16ba8d1419f8a18f465c5cc235ecf
change-id: 20240328-module-owner-usb-serial-8a067f622b70

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


^ permalink raw reply	[flat|nested] 60+ messages in thread

* [PATCH 01/52] USB: serial: store owner from modules with usb_serial_register_drivers()
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
@ 2024-03-28 22:05 ` Krzysztof Kozlowski
  2024-04-15  8:56   ` Johan Hovold
  2024-03-28 22:05 ` [PATCH 02/52] USB: serial: aircable: drop driver owner initialization Krzysztof Kozlowski
                   ` (52 subsequent siblings)
  53 siblings, 1 reply; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

Modules registering driver with usb_serial_register_drivers() might
forget to set .owner field.  The field is used by some of other kernel
parts for reference counting (try_module_get()), so it is expected that
drivers will set it.

Solve the problem by moving this task away from the drivers to the core
amba bus code, just like we did for platform_driver in
commit 9447057eaff8 ("platform_device: use a macro instead of
platform_driver_register").

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/usb-serial.c | 12 +++++++-----
 include/linux/usb/serial.h      |  7 +++++--
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c
index f1e91eb7f8a4..a659f2096a1a 100644
--- a/drivers/usb/serial/usb-serial.c
+++ b/drivers/usb/serial/usb-serial.c
@@ -1459,17 +1459,18 @@ static void usb_serial_deregister(struct usb_serial_driver *device)
 }
 
 /**
- * usb_serial_register_drivers - register drivers for a usb-serial module
+ * __usb_serial_register_drivers - register drivers for a usb-serial module
  * @serial_drivers: NULL-terminated array of pointers to drivers to be registered
+ * @owner: owning module/driver
  * @name: name of the usb_driver for this set of @serial_drivers
  * @id_table: list of all devices this @serial_drivers set binds to
  *
  * Registers all the drivers in the @serial_drivers array, and dynamically
  * creates a struct usb_driver with the name @name and id_table of @id_table.
  */
-int usb_serial_register_drivers(struct usb_serial_driver *const serial_drivers[],
-				const char *name,
-				const struct usb_device_id *id_table)
+int __usb_serial_register_drivers(struct usb_serial_driver *const serial_drivers[],
+				  struct module *owner, const char *name,
+				  const struct usb_device_id *id_table)
 {
 	int rc;
 	struct usb_driver *udriver;
@@ -1514,6 +1515,7 @@ int usb_serial_register_drivers(struct usb_serial_driver *const serial_drivers[]
 
 	for (sd = serial_drivers; *sd; ++sd) {
 		(*sd)->usb_driver = udriver;
+		(*sd)->driver.owner = owner;
 		rc = usb_serial_register(*sd);
 		if (rc)
 			goto err_deregister_drivers;
@@ -1532,7 +1534,7 @@ int usb_serial_register_drivers(struct usb_serial_driver *const serial_drivers[]
 	kfree(udriver);
 	return rc;
 }
-EXPORT_SYMBOL_GPL(usb_serial_register_drivers);
+EXPORT_SYMBOL_GPL(__usb_serial_register_drivers);
 
 /**
  * usb_serial_deregister_drivers - deregister drivers for a usb-serial module
diff --git a/include/linux/usb/serial.h b/include/linux/usb/serial.h
index 1a0a4dc87980..75b2b763f1ba 100644
--- a/include/linux/usb/serial.h
+++ b/include/linux/usb/serial.h
@@ -311,8 +311,11 @@ struct usb_serial_driver {
 #define to_usb_serial_driver(d) \
 	container_of(d, struct usb_serial_driver, driver)
 
-int usb_serial_register_drivers(struct usb_serial_driver *const serial_drivers[],
-		const char *name, const struct usb_device_id *id_table);
+#define usb_serial_register_drivers(serial_drivers, name, id_table) \
+	__usb_serial_register_drivers(serial_drivers, THIS_MODULE, name, id_table)
+int __usb_serial_register_drivers(struct usb_serial_driver *const serial_drivers[],
+				  struct module *owner, const char *name,
+				  const struct usb_device_id *id_table);
 void usb_serial_deregister_drivers(struct usb_serial_driver *const serial_drivers[]);
 void usb_serial_port_softint(struct usb_serial_port *port);
 

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 02/52] USB: serial: aircable: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 01/52] USB: serial: " Krzysztof Kozlowski
@ 2024-03-28 22:05 ` Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 03/52] USB: serial: ark3116: " Krzysztof Kozlowski
                   ` (51 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/aircable.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/aircable.c b/drivers/usb/serial/aircable.c
index a1df686c3066..aa517242d060 100644
--- a/drivers/usb/serial/aircable.c
+++ b/drivers/usb/serial/aircable.c
@@ -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,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 03/52] USB: serial: ark3116: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 01/52] USB: serial: " Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 02/52] USB: serial: aircable: drop driver owner initialization Krzysztof Kozlowski
@ 2024-03-28 22:05 ` Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 04/52] USB: serial: belkin_sa: " Krzysztof Kozlowski
                   ` (50 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/ark3116.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/ark3116.c b/drivers/usb/serial/ark3116.c
index 67a07cc007f0..800b04fe37fa 100644
--- a/drivers/usb/serial/ark3116.c
+++ b/drivers/usb/serial/ark3116.c
@@ -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,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 04/52] USB: serial: belkin_sa: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (2 preceding siblings ...)
  2024-03-28 22:05 ` [PATCH 03/52] USB: serial: ark3116: " Krzysztof Kozlowski
@ 2024-03-28 22:05 ` Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 05/52] USB: serial: ch341: " Krzysztof Kozlowski
                   ` (49 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/belkin_sa.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/belkin_sa.c b/drivers/usb/serial/belkin_sa.c
index cf47ee4ae5d3..44f5b58beec9 100644
--- a/drivers/usb/serial/belkin_sa.c
+++ b/drivers/usb/serial/belkin_sa.c
@@ -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",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 05/52] USB: serial: ch341: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (3 preceding siblings ...)
  2024-03-28 22:05 ` [PATCH 04/52] USB: serial: belkin_sa: " Krzysztof Kozlowski
@ 2024-03-28 22:05 ` Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 06/52] USB: serial: cp210x: " Krzysztof Kozlowski
                   ` (48 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/ch341.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/ch341.c b/drivers/usb/serial/ch341.c
index 612bea504d7a..26d48a4f7036 100644
--- a/drivers/usb/serial/ch341.c
+++ b/drivers/usb/serial/ch341.c
@@ -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,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 06/52] USB: serial: cp210x: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (4 preceding siblings ...)
  2024-03-28 22:05 ` [PATCH 05/52] USB: serial: ch341: " Krzysztof Kozlowski
@ 2024-03-28 22:05 ` Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 07/52] USB: serial: cyberjack: " Krzysztof Kozlowski
                   ` (47 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/cp210x.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c
index 21fd26609252..c24101f0a07a 100644
--- a/drivers/usb/serial/cp210x.c
+++ b/drivers/usb/serial/cp210x.c
@@ -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,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 07/52] USB: serial: cyberjack: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (5 preceding siblings ...)
  2024-03-28 22:05 ` [PATCH 06/52] USB: serial: cp210x: " Krzysztof Kozlowski
@ 2024-03-28 22:05 ` Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 08/52] USB: serial: cypress_m8: " Krzysztof Kozlowski
                   ` (46 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/cyberjack.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/cyberjack.c b/drivers/usb/serial/cyberjack.c
index 51e5aac3bf4c..76dd8e7453b5 100644
--- a/drivers/usb/serial/cyberjack.c
+++ b/drivers/usb/serial/cyberjack.c
@@ -67,7 +67,6 @@ MODULE_DEVICE_TABLE(usb, id_table);
 
 static struct usb_serial_driver cyberjack_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"cyberjack",
 	},
 	.description =		"Reiner SCT Cyberjack USB card reader",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 08/52] USB: serial: cypress_m8: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (6 preceding siblings ...)
  2024-03-28 22:05 ` [PATCH 07/52] USB: serial: cyberjack: " Krzysztof Kozlowski
@ 2024-03-28 22:05 ` Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 09/52] USB: serial: digi_acceleport: " Krzysztof Kozlowski
                   ` (45 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/cypress_m8.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/usb/serial/cypress_m8.c b/drivers/usb/serial/cypress_m8.c
index 1e0c028c5ec9..ce9134bb30f3 100644
--- a/drivers/usb/serial/cypress_m8.c
+++ b/drivers/usb/serial/cypress_m8.c
@@ -139,7 +139,6 @@ static void cypress_write_int_callback(struct urb *urb);
 
 static struct usb_serial_driver cypress_earthmate_device = {
 	.driver = {
-		.owner =		THIS_MODULE,
 		.name =			"earthmate",
 	},
 	.description =			"DeLorme Earthmate USB",
@@ -166,7 +165,6 @@ static struct usb_serial_driver cypress_earthmate_device = {
 
 static struct usb_serial_driver cypress_hidcom_device = {
 	.driver = {
-		.owner =		THIS_MODULE,
 		.name =			"cyphidcom",
 	},
 	.description =			"HID->COM RS232 Adapter",
@@ -192,7 +190,6 @@ static struct usb_serial_driver cypress_hidcom_device = {
 
 static struct usb_serial_driver cypress_ca42v2_device = {
 	.driver = {
-		.owner =		THIS_MODULE,
 		.name =			"nokiaca42v2",
 	},
 	.description =			"Nokia CA-42 V2 Adapter",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 09/52] USB: serial: digi_acceleport: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (7 preceding siblings ...)
  2024-03-28 22:05 ` [PATCH 08/52] USB: serial: cypress_m8: " Krzysztof Kozlowski
@ 2024-03-28 22:05 ` Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 10/52] USB: serial: empeg: " Krzysztof Kozlowski
                   ` (44 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/digi_acceleport.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/usb/serial/digi_acceleport.c b/drivers/usb/serial/digi_acceleport.c
index d1dea3850576..a06485965412 100644
--- a/drivers/usb/serial/digi_acceleport.c
+++ b/drivers/usb/serial/digi_acceleport.c
@@ -262,7 +262,6 @@ MODULE_DEVICE_TABLE(usb, id_table_combined);
 
 static struct usb_serial_driver digi_acceleport_2_device = {
 	.driver = {
-		.owner =		THIS_MODULE,
 		.name =			"digi_2",
 	},
 	.description =			"Digi 2 port USB adapter",
@@ -293,7 +292,6 @@ static struct usb_serial_driver digi_acceleport_2_device = {
 
 static struct usb_serial_driver digi_acceleport_4_device = {
 	.driver = {
-		.owner =		THIS_MODULE,
 		.name =			"digi_4",
 	},
 	.description =			"Digi 4 port USB adapter",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 10/52] USB: serial: empeg: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (8 preceding siblings ...)
  2024-03-28 22:05 ` [PATCH 09/52] USB: serial: digi_acceleport: " Krzysztof Kozlowski
@ 2024-03-28 22:05 ` Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 11/52] USB: serial: f81232: " Krzysztof Kozlowski
                   ` (43 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/empeg.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/empeg.c b/drivers/usb/serial/empeg.c
index 405e835e93dd..aedcf7ebd269 100644
--- a/drivers/usb/serial/empeg.c
+++ b/drivers/usb/serial/empeg.c
@@ -43,7 +43,6 @@ MODULE_DEVICE_TABLE(usb, id_table);
 
 static struct usb_serial_driver empeg_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"empeg",
 	},
 	.id_table =		id_table,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 11/52] USB: serial: f81232: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (9 preceding siblings ...)
  2024-03-28 22:05 ` [PATCH 10/52] USB: serial: empeg: " Krzysztof Kozlowski
@ 2024-03-28 22:05 ` Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 12/52] USB: serial: ftdi_sio: " Krzysztof Kozlowski
                   ` (42 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/f81232.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81232.c
index 5f7a46bcace6..530b77fc2f78 100644
--- a/drivers/usb/serial/f81232.c
+++ b/drivers/usb/serial/f81232.c
@@ -967,7 +967,6 @@ static int f81232_resume(struct usb_serial *serial)
 
 static struct usb_serial_driver f81232_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"f81232",
 	},
 	.id_table =		f81232_id_table,
@@ -994,7 +993,6 @@ static struct usb_serial_driver f81232_device = {
 
 static struct usb_serial_driver f81534a_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"f81534a",
 	},
 	.id_table =		f81534a_id_table,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 12/52] USB: serial: ftdi_sio: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (10 preceding siblings ...)
  2024-03-28 22:05 ` [PATCH 11/52] USB: serial: f81232: " Krzysztof Kozlowski
@ 2024-03-28 22:05 ` Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 13/52] USB: serial: garmin_gps: " Krzysztof Kozlowski
                   ` (41 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/ftdi_sio.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index 76a04ab41100..c6f17d732b95 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -2871,7 +2871,6 @@ static int ftdi_ioctl(struct tty_struct *tty,
 
 static struct usb_serial_driver ftdi_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"ftdi_sio",
 		.dev_groups =	ftdi_groups,
 	},

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 13/52] USB: serial: garmin_gps: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (11 preceding siblings ...)
  2024-03-28 22:05 ` [PATCH 12/52] USB: serial: ftdi_sio: " Krzysztof Kozlowski
@ 2024-03-28 22:05 ` Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 14/52] USB: serial: generic: " Krzysztof Kozlowski
                   ` (40 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/garmin_gps.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/garmin_gps.c b/drivers/usb/serial/garmin_gps.c
index 670e942fdaaa..5e1244d87cf7 100644
--- a/drivers/usb/serial/garmin_gps.c
+++ b/drivers/usb/serial/garmin_gps.c
@@ -1413,7 +1413,6 @@ static void garmin_port_remove(struct usb_serial_port *port)
 /* All of the device info needed */
 static struct usb_serial_driver garmin_device = {
 	.driver = {
-		.owner       = THIS_MODULE,
 		.name        = "garmin_gps",
 	},
 	.description         = "Garmin GPS usb/tty",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 14/52] USB: serial: generic: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (12 preceding siblings ...)
  2024-03-28 22:05 ` [PATCH 13/52] USB: serial: garmin_gps: " Krzysztof Kozlowski
@ 2024-03-28 22:05 ` Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 15/52] USB: serial: io_edgeport: " Krzysztof Kozlowski
                   ` (39 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/generic.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/generic.c b/drivers/usb/serial/generic.c
index 15b6dee3a8e5..757f0a586ddb 100644
--- a/drivers/usb/serial/generic.c
+++ b/drivers/usb/serial/generic.c
@@ -63,7 +63,6 @@ static int usb_serial_generic_calc_num_ports(struct usb_serial *serial,
 
 static struct usb_serial_driver usb_serial_generic_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"generic",
 	},
 	.id_table =		generic_device_ids,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 15/52] USB: serial: io_edgeport: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (13 preceding siblings ...)
  2024-03-28 22:05 ` [PATCH 14/52] USB: serial: generic: " Krzysztof Kozlowski
@ 2024-03-28 22:05 ` Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 16/52] USB: serial: io_ti: " Krzysztof Kozlowski
                   ` (38 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/io_edgeport.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/usb/serial/io_edgeport.c b/drivers/usb/serial/io_edgeport.c
index abe4bbb0ac65..c7d6b5e3f898 100644
--- a/drivers/usb/serial/io_edgeport.c
+++ b/drivers/usb/serial/io_edgeport.c
@@ -2978,7 +2978,6 @@ static void edge_port_remove(struct usb_serial_port *port)
 
 static struct usb_serial_driver edgeport_2port_device = {
 	.driver = {
-		.owner		= THIS_MODULE,
 		.name		= "edgeport_2",
 	},
 	.description		= "Edgeport 2 port adapter",
@@ -3013,7 +3012,6 @@ static struct usb_serial_driver edgeport_2port_device = {
 
 static struct usb_serial_driver edgeport_4port_device = {
 	.driver = {
-		.owner		= THIS_MODULE,
 		.name		= "edgeport_4",
 	},
 	.description		= "Edgeport 4 port adapter",
@@ -3048,7 +3046,6 @@ static struct usb_serial_driver edgeport_4port_device = {
 
 static struct usb_serial_driver edgeport_8port_device = {
 	.driver = {
-		.owner		= THIS_MODULE,
 		.name		= "edgeport_8",
 	},
 	.description		= "Edgeport 8 port adapter",
@@ -3083,7 +3080,6 @@ static struct usb_serial_driver edgeport_8port_device = {
 
 static struct usb_serial_driver epic_device = {
 	.driver = {
-		.owner		= THIS_MODULE,
 		.name		= "epic",
 	},
 	.description		= "EPiC device",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 16/52] USB: serial: io_ti: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (14 preceding siblings ...)
  2024-03-28 22:05 ` [PATCH 15/52] USB: serial: io_edgeport: " Krzysztof Kozlowski
@ 2024-03-28 22:05 ` Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 17/52] USB: serial: ipaq: " Krzysztof Kozlowski
                   ` (37 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/io_ti.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c
index 7a3a6e539456..7d0584b2a234 100644
--- a/drivers/usb/serial/io_ti.c
+++ b/drivers/usb/serial/io_ti.c
@@ -2670,7 +2670,6 @@ static int edge_resume(struct usb_serial *serial)
 
 static struct usb_serial_driver edgeport_1port_device = {
 	.driver = {
-		.owner		= THIS_MODULE,
 		.name		= "edgeport_ti_1",
 	},
 	.description		= "Edgeport TI 1 port adapter",
@@ -2708,7 +2707,6 @@ static struct usb_serial_driver edgeport_1port_device = {
 
 static struct usb_serial_driver edgeport_2port_device = {
 	.driver = {
-		.owner		= THIS_MODULE,
 		.name		= "edgeport_ti_2",
 	},
 	.description		= "Edgeport TI 2 port adapter",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 17/52] USB: serial: ipaq: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (15 preceding siblings ...)
  2024-03-28 22:05 ` [PATCH 16/52] USB: serial: io_ti: " Krzysztof Kozlowski
@ 2024-03-28 22:05 ` Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 18/52] USB: serial: ipw: " Krzysztof Kozlowski
                   ` (36 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/ipaq.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/ipaq.c b/drivers/usb/serial/ipaq.c
index e11441bac44f..3c6a9b9b9c2b 100644
--- a/drivers/usb/serial/ipaq.c
+++ b/drivers/usb/serial/ipaq.c
@@ -496,7 +496,6 @@ MODULE_DEVICE_TABLE(usb, ipaq_id_table);
 /* All of the device info needed for the Compaq iPAQ */
 static struct usb_serial_driver ipaq_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"ipaq",
 	},
 	.description =		"PocketPC PDA",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 18/52] USB: serial: ipw: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (16 preceding siblings ...)
  2024-03-28 22:05 ` [PATCH 17/52] USB: serial: ipaq: " Krzysztof Kozlowski
@ 2024-03-28 22:05 ` Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 19/52] USB: serial: ir-usb: " Krzysztof Kozlowski
                   ` (35 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/ipw.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/ipw.c b/drivers/usb/serial/ipw.c
index d04c7cc5c1c2..b1e672c2f423 100644
--- a/drivers/usb/serial/ipw.c
+++ b/drivers/usb/serial/ipw.c
@@ -285,7 +285,6 @@ static void ipw_close(struct usb_serial_port *port)
 
 static struct usb_serial_driver ipw_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"ipw",
 	},
 	.description =		"IPWireless converter",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 19/52] USB: serial: ir-usb: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (17 preceding siblings ...)
  2024-03-28 22:05 ` [PATCH 18/52] USB: serial: ipw: " Krzysztof Kozlowski
@ 2024-03-28 22:05 ` Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 20/52] USB: serial: iuu: " Krzysztof Kozlowski
                   ` (34 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/ir-usb.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/ir-usb.c b/drivers/usb/serial/ir-usb.c
index 82f108134e6f..a106b71e698f 100644
--- a/drivers/usb/serial/ir-usb.c
+++ b/drivers/usb/serial/ir-usb.c
@@ -71,7 +71,6 @@ MODULE_DEVICE_TABLE(usb, ir_id_table);
 
 static struct usb_serial_driver ir_device = {
 	.driver	= {
-		.owner	= THIS_MODULE,
 		.name	= "ir-usb",
 	},
 	.description		= "IR Dongle",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 20/52] USB: serial: iuu: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (18 preceding siblings ...)
  2024-03-28 22:05 ` [PATCH 19/52] USB: serial: ir-usb: " Krzysztof Kozlowski
@ 2024-03-28 22:05 ` Krzysztof Kozlowski
  2024-03-28 22:05 ` [PATCH 21/52] USB: serial: keyspan: " Krzysztof Kozlowski
                   ` (33 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/iuu_phoenix.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/iuu_phoenix.c b/drivers/usb/serial/iuu_phoenix.c
index 77cba71bcccb..c21dcc9b6f05 100644
--- a/drivers/usb/serial/iuu_phoenix.c
+++ b/drivers/usb/serial/iuu_phoenix.c
@@ -1157,7 +1157,6 @@ static int iuu_remove_sysfs_attrs(struct usb_serial_port *port)
 
 static struct usb_serial_driver iuu_device = {
 	.driver = {
-		   .owner = THIS_MODULE,
 		   .name = "iuu_phoenix",
 		   },
 	.id_table = id_table,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 21/52] USB: serial: keyspan: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (19 preceding siblings ...)
  2024-03-28 22:05 ` [PATCH 20/52] USB: serial: iuu: " Krzysztof Kozlowski
@ 2024-03-28 22:05 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 22/52] USB: serial: keyspan_pda: " Krzysztof Kozlowski
                   ` (32 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:05 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/keyspan.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/serial/keyspan.c
index 0a783985197c..9129e0282c24 100644
--- a/drivers/usb/serial/keyspan.c
+++ b/drivers/usb/serial/keyspan.c
@@ -3001,7 +3001,6 @@ static void keyspan_port_remove(struct usb_serial_port *port)
 /* Structs for the devices, pre and post renumeration. */
 static struct usb_serial_driver keyspan_pre_device = {
 	.driver = {
-		.owner		= THIS_MODULE,
 		.name		= "keyspan_no_firm",
 	},
 	.description		= "Keyspan - (without firmware)",
@@ -3012,7 +3011,6 @@ static struct usb_serial_driver keyspan_pre_device = {
 
 static struct usb_serial_driver keyspan_1port_device = {
 	.driver = {
-		.owner		= THIS_MODULE,
 		.name		= "keyspan_1",
 	},
 	.description		= "Keyspan 1 port adapter",
@@ -3036,7 +3034,6 @@ static struct usb_serial_driver keyspan_1port_device = {
 
 static struct usb_serial_driver keyspan_2port_device = {
 	.driver = {
-		.owner		= THIS_MODULE,
 		.name		= "keyspan_2",
 	},
 	.description		= "Keyspan 2 port adapter",
@@ -3060,7 +3057,6 @@ static struct usb_serial_driver keyspan_2port_device = {
 
 static struct usb_serial_driver keyspan_4port_device = {
 	.driver = {
-		.owner		= THIS_MODULE,
 		.name		= "keyspan_4",
 	},
 	.description		= "Keyspan 4 port adapter",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 22/52] USB: serial: keyspan_pda: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (20 preceding siblings ...)
  2024-03-28 22:05 ` [PATCH 21/52] USB: serial: keyspan: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 23/52] USB: serial: kl5kusb105: " Krzysztof Kozlowski
                   ` (31 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/keyspan_pda.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/usb/serial/keyspan_pda.c b/drivers/usb/serial/keyspan_pda.c
index 0eef358b314a..e98b479593d3 100644
--- a/drivers/usb/serial/keyspan_pda.c
+++ b/drivers/usb/serial/keyspan_pda.c
@@ -676,7 +676,6 @@ static void keyspan_pda_port_remove(struct usb_serial_port *port)
 
 static struct usb_serial_driver keyspan_pda_fake_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"keyspan_pda_pre",
 	},
 	.description =		"Keyspan PDA - (prerenumeration)",
@@ -687,7 +686,6 @@ static struct usb_serial_driver keyspan_pda_fake_device = {
 
 static struct usb_serial_driver keyspan_pda_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"keyspan_pda",
 	},
 	.description =		"Keyspan PDA",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 23/52] USB: serial: kl5kusb105: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (21 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 22/52] USB: serial: keyspan_pda: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 24/52] USB: serial: kobil_sct: " Krzysztof Kozlowski
                   ` (30 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/kl5kusb105.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/kl5kusb105.c b/drivers/usb/serial/kl5kusb105.c
index 394b3189e003..a2c0bebc041f 100644
--- a/drivers/usb/serial/kl5kusb105.c
+++ b/drivers/usb/serial/kl5kusb105.c
@@ -75,7 +75,6 @@ MODULE_DEVICE_TABLE(usb, id_table);
 
 static struct usb_serial_driver kl5kusb105d_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"kl5kusb105d",
 	},
 	.description =		"KL5KUSB105D / PalmConnect",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 24/52] USB: serial: kobil_sct: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (22 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 23/52] USB: serial: kl5kusb105: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 25/52] USB: serial: mct_u232: " Krzysztof Kozlowski
                   ` (29 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/kobil_sct.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/kobil_sct.c b/drivers/usb/serial/kobil_sct.c
index 5e775f68fcb8..5eb59ac3e564 100644
--- a/drivers/usb/serial/kobil_sct.c
+++ b/drivers/usb/serial/kobil_sct.c
@@ -77,7 +77,6 @@ MODULE_DEVICE_TABLE(usb, id_table);
 
 static struct usb_serial_driver kobil_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"kobil",
 	},
 	.description =		"KOBIL USB smart card terminal",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 25/52] USB: serial: mct_u232: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (23 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 24/52] USB: serial: kobil_sct: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 26/52] USB: serial: metro_usb: " Krzysztof Kozlowski
                   ` (28 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/mct_u232.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/mct_u232.c b/drivers/usb/serial/mct_u232.c
index 6570c8817a80..e5a139ed5d90 100644
--- a/drivers/usb/serial/mct_u232.c
+++ b/drivers/usb/serial/mct_u232.c
@@ -69,7 +69,6 @@ MODULE_DEVICE_TABLE(usb, id_table);
 
 static struct usb_serial_driver mct_u232_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"mct_u232",
 	},
 	.description =	     "MCT U232",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 26/52] USB: serial: metro_usb: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (24 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 25/52] USB: serial: mct_u232: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 27/52] USB: serial: mos7720: " Krzysztof Kozlowski
                   ` (27 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/metro-usb.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/metro-usb.c b/drivers/usb/serial/metro-usb.c
index 30ab565e0738..028878292901 100644
--- a/drivers/usb/serial/metro-usb.c
+++ b/drivers/usb/serial/metro-usb.c
@@ -341,7 +341,6 @@ static void metrousb_unthrottle(struct tty_struct *tty)
 
 static struct usb_serial_driver metrousb_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"metro-usb",
 	},
 	.description		= "Metrologic USB to Serial",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 27/52] USB: serial: mos7720: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (25 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 26/52] USB: serial: metro_usb: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 28/52] USB: serial: mos7840: " Krzysztof Kozlowski
                   ` (26 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/mos7720.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb/serial/mos7720.c
index 23544074eb1c..e59bfa7c8030 100644
--- a/drivers/usb/serial/mos7720.c
+++ b/drivers/usb/serial/mos7720.c
@@ -1724,7 +1724,6 @@ static void mos7720_port_remove(struct usb_serial_port *port)
 
 static struct usb_serial_driver moschip7720_2port_driver = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"moschip7720",
 	},
 	.description		= "Moschip 2 port adapter",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 28/52] USB: serial: mos7840: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (26 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 27/52] USB: serial: mos7720: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 29/52] USB: serial: mxuport: " Krzysztof Kozlowski
                   ` (25 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/mos7840.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c
index 8b0308d84270..70ff2408b99a 100644
--- a/drivers/usb/serial/mos7840.c
+++ b/drivers/usb/serial/mos7840.c
@@ -1739,7 +1739,6 @@ static void mos7840_port_remove(struct usb_serial_port *port)
 
 static struct usb_serial_driver moschip7840_4port_device = {
 	.driver = {
-		   .owner = THIS_MODULE,
 		   .name = "mos7840",
 		   },
 	.description = DRIVER_DESC,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 29/52] USB: serial: mxuport: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (27 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 28/52] USB: serial: mos7840: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 30/52] USB: serial: navman: " Krzysztof Kozlowski
                   ` (24 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/mxuport.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/mxuport.c b/drivers/usb/serial/mxuport.c
index 1f7bb3e4fcf2..2188e9668c41 100644
--- a/drivers/usb/serial/mxuport.c
+++ b/drivers/usb/serial/mxuport.c
@@ -1278,7 +1278,6 @@ static int mxuport_resume(struct usb_serial *serial)
 
 static struct usb_serial_driver mxuport_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"mxuport",
 	},
 	.description		= "MOXA UPort",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 30/52] USB: serial: navman: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (28 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 29/52] USB: serial: mxuport: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 31/52] USB: serial: omninet: " Krzysztof Kozlowski
                   ` (23 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/navman.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/navman.c b/drivers/usb/serial/navman.c
index 20277c52dded..99b633051729 100644
--- a/drivers/usb/serial/navman.c
+++ b/drivers/usb/serial/navman.c
@@ -95,7 +95,6 @@ static int navman_write(struct tty_struct *tty, struct usb_serial_port *port,
 
 static struct usb_serial_driver navman_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"navman",
 	},
 	.id_table =		id_table,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 31/52] USB: serial: omninet: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (29 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 30/52] USB: serial: navman: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 32/52] USB: serial: opticon: " Krzysztof Kozlowski
                   ` (22 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/omninet.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/omninet.c b/drivers/usb/serial/omninet.c
index 41f1b872d277..397ebd5a3e74 100644
--- a/drivers/usb/serial/omninet.c
+++ b/drivers/usb/serial/omninet.c
@@ -49,7 +49,6 @@ MODULE_DEVICE_TABLE(usb, id_table);
 
 static struct usb_serial_driver zyxel_omninet_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"omninet",
 	},
 	.description =		"ZyXEL - omni.net usb",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 32/52] USB: serial: opticon: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (30 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 31/52] USB: serial: omninet: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 33/52] USB: serial: option: " Krzysztof Kozlowski
                   ` (21 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/opticon.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/opticon.c b/drivers/usb/serial/opticon.c
index e31a6d77da3a..1ee84ccc4bbd 100644
--- a/drivers/usb/serial/opticon.c
+++ b/drivers/usb/serial/opticon.c
@@ -375,7 +375,6 @@ static void opticon_port_remove(struct usb_serial_port *port)
 
 static struct usb_serial_driver opticon_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"opticon",
 	},
 	.id_table =		id_table,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 33/52] USB: serial: option: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (31 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 32/52] USB: serial: opticon: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 34/52] USB: serial: oti6858: " Krzysztof Kozlowski
                   ` (20 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/option.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index 55a65d941ccb..d1598d665a5c 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -2298,7 +2298,6 @@ MODULE_DEVICE_TABLE(usb, option_ids);
 
 static struct usb_serial_driver option_1port_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"option1",
 	},
 	.description       = "GSM modem (1-port)",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 34/52] USB: serial: oti6858: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (32 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 33/52] USB: serial: option: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 35/52] USB: serial: pl2303: " Krzysztof Kozlowski
                   ` (19 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/oti6858.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/oti6858.c b/drivers/usb/serial/oti6858.c
index fa07f6ff9ecc..24068368892c 100644
--- a/drivers/usb/serial/oti6858.c
+++ b/drivers/usb/serial/oti6858.c
@@ -138,7 +138,6 @@ static void oti6858_port_remove(struct usb_serial_port *port);
 /* device info */
 static struct usb_serial_driver oti6858_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"oti6858",
 	},
 	.id_table =		id_table,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 35/52] USB: serial: pl2303: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (33 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 34/52] USB: serial: oti6858: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 36/52] USB: serial: qcaux: " Krzysztof Kozlowski
                   ` (18 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/pl2303.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c
index d93f5d584557..9e3b524a2e7b 100644
--- a/drivers/usb/serial/pl2303.c
+++ b/drivers/usb/serial/pl2303.c
@@ -1234,7 +1234,6 @@ static void pl2303_process_read_urb(struct urb *urb)
 
 static struct usb_serial_driver pl2303_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"pl2303",
 	},
 	.id_table =		id_table,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 36/52] USB: serial: qcaux: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (34 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 35/52] USB: serial: pl2303: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 37/52] USB: serial: qcserial: " Krzysztof Kozlowski
                   ` (17 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/qcaux.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/qcaux.c b/drivers/usb/serial/qcaux.c
index 929ffba663f2..fd34f7e48e53 100644
--- a/drivers/usb/serial/qcaux.c
+++ b/drivers/usb/serial/qcaux.c
@@ -72,7 +72,6 @@ MODULE_DEVICE_TABLE(usb, id_table);
 
 static struct usb_serial_driver qcaux_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"qcaux",
 	},
 	.id_table =		id_table,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 37/52] USB: serial: qcserial: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (35 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 36/52] USB: serial: qcaux: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 38/52] USB: serial: quatech2: " Krzysztof Kozlowski
                   ` (16 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/qcserial.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/qcserial.c b/drivers/usb/serial/qcserial.c
index 703a9c563557..c7de9585feb2 100644
--- a/drivers/usb/serial/qcserial.c
+++ b/drivers/usb/serial/qcserial.c
@@ -454,7 +454,6 @@ static void qc_release(struct usb_serial *serial)
 
 static struct usb_serial_driver qcdevice = {
 	.driver = {
-		.owner     = THIS_MODULE,
 		.name      = "qcserial",
 	},
 	.description         = "Qualcomm USB modem",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 38/52] USB: serial: quatech2: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (36 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 37/52] USB: serial: qcserial: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 39/52] USB: serial: safe_serial: " Krzysztof Kozlowski
                   ` (15 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/quatech2.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/quatech2.c b/drivers/usb/serial/quatech2.c
index 821f25e52ec2..4167a45d1be3 100644
--- a/drivers/usb/serial/quatech2.c
+++ b/drivers/usb/serial/quatech2.c
@@ -924,7 +924,6 @@ static int qt2_write(struct tty_struct *tty,
 
 static struct usb_serial_driver qt2_device = {
 	.driver = {
-		.owner = THIS_MODULE,
 		.name = "quatech-serial",
 	},
 	.description	     = DRIVER_DESC,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 39/52] USB: serial: safe_serial: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (37 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 38/52] USB: serial: quatech2: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 40/52] USB: serial: sierra: " Krzysztof Kozlowski
                   ` (14 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/safe_serial.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/safe_serial.c b/drivers/usb/serial/safe_serial.c
index 6accbecb6318..238b54993446 100644
--- a/drivers/usb/serial/safe_serial.c
+++ b/drivers/usb/serial/safe_serial.c
@@ -284,7 +284,6 @@ static int safe_startup(struct usb_serial *serial)
 
 static struct usb_serial_driver safe_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"safe_serial",
 	},
 	.id_table =		id_table,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 40/52] USB: serial: sierra: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (38 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 39/52] USB: serial: safe_serial: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 41/52] USB: serial: spcp8x5: " Krzysztof Kozlowski
                   ` (13 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/sierra.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/sierra.c b/drivers/usb/serial/sierra.c
index 353b2549eaa8..64a2e0bb5723 100644
--- a/drivers/usb/serial/sierra.c
+++ b/drivers/usb/serial/sierra.c
@@ -1021,7 +1021,6 @@ static int sierra_resume(struct usb_serial *serial)
 
 static struct usb_serial_driver sierra_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"sierra",
 	},
 	.description       = "Sierra USB modem",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 41/52] USB: serial: spcp8x5: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (39 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 40/52] USB: serial: sierra: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 42/52] USB: serial: ssu100: " Krzysztof Kozlowski
                   ` (12 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/spcp8x5.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/spcp8x5.c b/drivers/usb/serial/spcp8x5.c
index 09a972a838ee..0d3ac5a56983 100644
--- a/drivers/usb/serial/spcp8x5.c
+++ b/drivers/usb/serial/spcp8x5.c
@@ -462,7 +462,6 @@ static int spcp8x5_tiocmget(struct tty_struct *tty)
 
 static struct usb_serial_driver spcp8x5_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"SPCP8x5",
 	},
 	.id_table		= id_table,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 42/52] USB: serial: ssu100: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (40 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 41/52] USB: serial: spcp8x5: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 43/52] USB: serial: symbol: " Krzysztof Kozlowski
                   ` (11 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/ssu100.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/ssu100.c b/drivers/usb/serial/ssu100.c
index 1e1888b66305..df21009bdf42 100644
--- a/drivers/usb/serial/ssu100.c
+++ b/drivers/usb/serial/ssu100.c
@@ -500,7 +500,6 @@ static void ssu100_process_read_urb(struct urb *urb)
 
 static struct usb_serial_driver ssu100_device = {
 	.driver = {
-		.owner = THIS_MODULE,
 		.name = "ssu100",
 	},
 	.description	     = DRIVER_DESC,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 43/52] USB: serial: symbol: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (41 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 42/52] USB: serial: ssu100: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 44/52] USB: serial: ti_usb_3410_5052: " Krzysztof Kozlowski
                   ` (10 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/symbolserial.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/symbolserial.c b/drivers/usb/serial/symbolserial.c
index d7f73ad6e778..52a73812afac 100644
--- a/drivers/usb/serial/symbolserial.c
+++ b/drivers/usb/serial/symbolserial.c
@@ -169,7 +169,6 @@ static void symbol_port_remove(struct usb_serial_port *port)
 
 static struct usb_serial_driver symbol_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"symbol",
 	},
 	.id_table =		id_table,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 44/52] USB: serial: ti_usb_3410_5052: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (42 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 43/52] USB: serial: symbol: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 45/52] USB: serial: upd78f0730: " Krzysztof Kozlowski
                   ` (9 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/ti_usb_3410_5052.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb/serial/ti_usb_3410_5052.c
index 0fba25abf671..a0c244bc77c0 100644
--- a/drivers/usb/serial/ti_usb_3410_5052.c
+++ b/drivers/usb/serial/ti_usb_3410_5052.c
@@ -417,7 +417,6 @@ static const struct usb_device_id ti_id_table_combined[] = {
 
 static struct usb_serial_driver ti_1port_device = {
 	.driver = {
-		.owner		= THIS_MODULE,
 		.name		= "ti_usb_3410_5052_1",
 	},
 	.description		= "TI USB 3410 1 port adapter",
@@ -450,7 +449,6 @@ static struct usb_serial_driver ti_1port_device = {
 
 static struct usb_serial_driver ti_2port_device = {
 	.driver = {
-		.owner		= THIS_MODULE,
 		.name		= "ti_usb_3410_5052_2",
 	},
 	.description		= "TI USB 5052 2 port adapter",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 45/52] USB: serial: upd78f0730: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (43 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 44/52] USB: serial: ti_usb_3410_5052: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 46/52] USB: serial: simple: " Krzysztof Kozlowski
                   ` (8 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/upd78f0730.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/upd78f0730.c b/drivers/usb/serial/upd78f0730.c
index 46952182e04f..15a17bf111f1 100644
--- a/drivers/usb/serial/upd78f0730.c
+++ b/drivers/usb/serial/upd78f0730.c
@@ -407,7 +407,6 @@ static void upd78f0730_close(struct usb_serial_port *port)
 
 static struct usb_serial_driver upd78f0730_device = {
 	.driver	 = {
-		.owner	= THIS_MODULE,
 		.name	= "upd78f0730",
 	},
 	.id_table	= id_table,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 46/52] USB: serial: simple: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (44 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 45/52] USB: serial: upd78f0730: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 47/52] USB: serial: debug: " Krzysztof Kozlowski
                   ` (7 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/usb-serial-simple.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/usb-serial-simple.c b/drivers/usb/serial/usb-serial-simple.c
index 24b8772a345e..d733b31fe51b 100644
--- a/drivers/usb/serial/usb-serial-simple.c
+++ b/drivers/usb/serial/usb-serial-simple.c
@@ -24,7 +24,6 @@ static const struct usb_device_id vendor##_id_table[] = {	\
 };								\
 static struct usb_serial_driver vendor##_device = {		\
 	.driver = {						\
-		.owner =	THIS_MODULE,			\
 		.name =		#vendor,			\
 	},							\
 	.id_table =		vendor##_id_table,		\

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 47/52] USB: serial: debug: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (45 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 46/52] USB: serial: simple: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 48/52] USB: serial: visor: " Krzysztof Kozlowski
                   ` (6 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/usb_debug.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/usb/serial/usb_debug.c b/drivers/usb/serial/usb_debug.c
index 6934970f180d..840373b965fc 100644
--- a/drivers/usb/serial/usb_debug.c
+++ b/drivers/usb/serial/usb_debug.c
@@ -78,7 +78,6 @@ static void usb_debug_process_read_urb(struct urb *urb)
 
 static struct usb_serial_driver debug_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"debug",
 	},
 	.id_table =		id_table,
@@ -90,7 +89,6 @@ static struct usb_serial_driver debug_device = {
 
 static struct usb_serial_driver dbc_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"xhci_dbc",
 	},
 	.id_table =		dbc_id_table,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 48/52] USB: serial: visor: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (46 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 47/52] USB: serial: debug: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 49/52] USB: serial: whiteheat: " Krzysztof Kozlowski
                   ` (5 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/visor.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c
index 4412834db21c..062a38fe0c1c 100644
--- a/drivers/usb/serial/visor.c
+++ b/drivers/usb/serial/visor.c
@@ -161,7 +161,6 @@ MODULE_DEVICE_TABLE(usb, id_table_combined);
    and Palm 4.0 devices */
 static struct usb_serial_driver handspring_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"visor",
 	},
 	.description =		"Handspring Visor / Palm OS",
@@ -180,7 +179,6 @@ static struct usb_serial_driver handspring_device = {
 /* All of the device info needed for the Clie UX50, TH55 Palm 5.0 devices */
 static struct usb_serial_driver clie_5_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"clie_5",
 	},
 	.description =		"Sony Clie 5.0",
@@ -200,7 +198,6 @@ static struct usb_serial_driver clie_5_device = {
 /* device info for the Sony Clie OS version 3.5 */
 static struct usb_serial_driver clie_3_5_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"clie_3.5",
 	},
 	.description =		"Sony Clie 3.5",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 49/52] USB: serial: whiteheat: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (47 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 48/52] USB: serial: visor: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 50/52] USB: serial: wishbone: " Krzysztof Kozlowski
                   ` (4 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/whiteheat.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/usb/serial/whiteheat.c b/drivers/usb/serial/whiteheat.c
index ca48e90a8e81..009faeb2ef55 100644
--- a/drivers/usb/serial/whiteheat.c
+++ b/drivers/usb/serial/whiteheat.c
@@ -91,7 +91,6 @@ static int whiteheat_break_ctl(struct tty_struct *tty, int break_state);
 
 static struct usb_serial_driver whiteheat_fake_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"whiteheatnofirm",
 	},
 	.description =		"Connect Tech - WhiteHEAT - (prerenumeration)",
@@ -103,7 +102,6 @@ static struct usb_serial_driver whiteheat_fake_device = {
 
 static struct usb_serial_driver whiteheat_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"whiteheat",
 	},
 	.description =		"Connect Tech - WhiteHEAT",

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 50/52] USB: serial: wishbone: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (48 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 49/52] USB: serial: whiteheat: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 51/52] USB: serial: xr: " Krzysztof Kozlowski
                   ` (3 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/wishbone-serial.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/wishbone-serial.c b/drivers/usb/serial/wishbone-serial.c
index ff4092f9b33c..670d573f6b63 100644
--- a/drivers/usb/serial/wishbone-serial.c
+++ b/drivers/usb/serial/wishbone-serial.c
@@ -70,7 +70,6 @@ static void wishbone_serial_close(struct usb_serial_port *port)
 
 static struct usb_serial_driver wishbone_serial_device = {
 	.driver = {
-		.owner =	THIS_MODULE,
 		.name =		"wishbone_serial",
 	},
 	.id_table =		id_table,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 51/52] USB: serial: xr: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (49 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 50/52] USB: serial: wishbone: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-03-28 22:06 ` [PATCH 52/52] USB: serial: xsens_mt: " Krzysztof Kozlowski
                   ` (2 subsequent siblings)
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/xr_serial.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/xr_serial.c b/drivers/usb/serial/xr_serial.c
index 1d9a12628f81..4186e791b384 100644
--- a/drivers/usb/serial/xr_serial.c
+++ b/drivers/usb/serial/xr_serial.c
@@ -1082,7 +1082,6 @@ MODULE_DEVICE_TABLE(usb, id_table);
 
 static struct usb_serial_driver xr_device = {
 	.driver = {
-		.owner = THIS_MODULE,
 		.name =	"xr_serial",
 	},
 	.id_table		= id_table,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* [PATCH 52/52] USB: serial: xsens_mt: drop driver owner initialization
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (50 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 51/52] USB: serial: xr: " Krzysztof Kozlowski
@ 2024-03-28 22:06 ` Krzysztof Kozlowski
  2024-04-15  8:54 ` [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Johan Hovold
  2024-05-03  9:46 ` Krzysztof Kozlowski
  53 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-28 22:06 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Krzysztof Kozlowski

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

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/usb/serial/xsens_mt.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/xsens_mt.c b/drivers/usb/serial/xsens_mt.c
index cf262c9a9638..382b3698c1d5 100644
--- a/drivers/usb/serial/xsens_mt.c
+++ b/drivers/usb/serial/xsens_mt.c
@@ -49,7 +49,6 @@ static int xsens_mt_probe(struct usb_serial *serial,
 
 static struct usb_serial_driver xsens_mt_device = {
 	.driver = {
-		.owner = THIS_MODULE,
 		.name = "xsens_mt",
 	},
 	.id_table = id_table,

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 60+ messages in thread

* Re: [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers()
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (51 preceding siblings ...)
  2024-03-28 22:06 ` [PATCH 52/52] USB: serial: xsens_mt: " Krzysztof Kozlowski
@ 2024-04-15  8:54 ` Johan Hovold
  2024-05-03  9:49   ` Krzysztof Kozlowski
  2024-05-03  9:46 ` Krzysztof Kozlowski
  53 siblings, 1 reply; 60+ messages in thread
From: Johan Hovold @ 2024-04-15  8:54 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Greg Kroah-Hartman, linux-usb, linux-kernel

On Thu, Mar 28, 2024 at 11:05:38PM +0100, Krzysztof Kozlowski wrote:
> Merging
> =======
> All further patches depend on the first patch.
> 
> Description
> ===========
> This is going to be a bit of a patch-bomb, but with trivial patches, so
> I think it is still acceptable. If it is too much, apologies and I will
> solve it.

No, sending 51 trivial one-line cleanup patches like this is not
acceptable.

This is just one logical change so squash them all into one patch for
the entire subsystem (i.e. this series should contain two patches).

> Modules registering driver with usb_serial_register_drivers() might
> forget to set .owner field.
> 
> Solve the problem by moving this task away from the drivers to the core
> amba bus code, just like we did for platform_driver in commit

"amba" copy pasta.

> 9447057eaff8 ("platform_device: use a macro instead of
> platform_driver_register").

> Krzysztof Kozlowski (52):
>       USB: serial: store owner from modules with usb_serial_register_drivers()
>       USB: serial: aircable: drop driver owner initialization
...
>       USB: serial: xsens_mt: drop driver owner initialization

>  53 files changed, 12 insertions(+), 75 deletions(-)

Johan

^ permalink raw reply	[flat|nested] 60+ messages in thread

* Re: [PATCH 01/52] USB: serial: store owner from modules with usb_serial_register_drivers()
  2024-03-28 22:05 ` [PATCH 01/52] USB: serial: " Krzysztof Kozlowski
@ 2024-04-15  8:56   ` Johan Hovold
  2024-05-03  9:54     ` Krzysztof Kozlowski
  0 siblings, 1 reply; 60+ messages in thread
From: Johan Hovold @ 2024-04-15  8:56 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Greg Kroah-Hartman, linux-usb, linux-kernel

On Thu, Mar 28, 2024 at 11:05:39PM +0100, Krzysztof Kozlowski wrote:
> Modules registering driver with usb_serial_register_drivers() might
> forget to set .owner field.  The field is used by some of other kernel
> parts for reference counting (try_module_get()), so it is expected that
> drivers will set it.
> 
> Solve the problem by moving this task away from the drivers to the core
> amba bus code, just like we did for platform_driver in

"amba"

> commit 9447057eaff8 ("platform_device: use a macro instead of
> platform_driver_register").
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  drivers/usb/serial/usb-serial.c | 12 +++++++-----
>  include/linux/usb/serial.h      |  7 +++++--
>  2 files changed, 12 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c
> index f1e91eb7f8a4..a659f2096a1a 100644
> --- a/drivers/usb/serial/usb-serial.c
> +++ b/drivers/usb/serial/usb-serial.c
> @@ -1459,17 +1459,18 @@ static void usb_serial_deregister(struct usb_serial_driver *device)
>  }
>  
>  /**
> - * usb_serial_register_drivers - register drivers for a usb-serial module
> + * __usb_serial_register_drivers - register drivers for a usb-serial module
>   * @serial_drivers: NULL-terminated array of pointers to drivers to be registered
> + * @owner: owning module/driver

Just "module"

>   * @name: name of the usb_driver for this set of @serial_drivers
>   * @id_table: list of all devices this @serial_drivers set binds to
>   *
>   * Registers all the drivers in the @serial_drivers array, and dynamically
>   * creates a struct usb_driver with the name @name and id_table of @id_table.
>   */
> -int usb_serial_register_drivers(struct usb_serial_driver *const serial_drivers[],
> -				const char *name,
> -				const struct usb_device_id *id_table)
> +int __usb_serial_register_drivers(struct usb_serial_driver *const serial_drivers[],
> +				  struct module *owner, const char *name,
> +				  const struct usb_device_id *id_table)

Johan

^ permalink raw reply	[flat|nested] 60+ messages in thread

* Re: [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers()
  2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
                   ` (52 preceding siblings ...)
  2024-04-15  8:54 ` [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Johan Hovold
@ 2024-05-03  9:46 ` Krzysztof Kozlowski
  2024-05-03  9:48   ` Krzysztof Kozlowski
  53 siblings, 1 reply; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-05-03  9:46 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman; +Cc: linux-usb, linux-kernel

On 28/03/2024 23:05, Krzysztof Kozlowski wrote:
> Merging
> =======
> All further patches depend on the first patch.
> 
> Description
> ===========
> This is going to be a bit of a patch-bomb, but with trivial patches, so
> I think it is still acceptable. If it is too much, apologies and I will
> solve it.
> 
> Modules registering driver with usb_serial_register_drivers() might
> forget to set .owner field.
> 
> Solve the problem by moving this task away from the drivers to the core
> amba bus code, just like we did for platform_driver in commit
> 9447057eaff8 ("platform_device: use a macro instead of
> platform_driver_register").

Hi Greg,

Any comments on this patchset? I know your patchqueue is usually busy,
that's why I did not ping for some time. I just want to know it did not
end up in some spam folder.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 60+ messages in thread

* Re: [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers()
  2024-05-03  9:46 ` Krzysztof Kozlowski
@ 2024-05-03  9:48   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-05-03  9:48 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman; +Cc: linux-usb, linux-kernel

On 03/05/2024 11:46, Krzysztof Kozlowski wrote:
> On 28/03/2024 23:05, Krzysztof Kozlowski wrote:
>> Merging
>> =======
>> All further patches depend on the first patch.
>>
>> Description
>> ===========
>> This is going to be a bit of a patch-bomb, but with trivial patches, so
>> I think it is still acceptable. If it is too much, apologies and I will
>> solve it.
>>
>> Modules registering driver with usb_serial_register_drivers() might
>> forget to set .owner field.
>>
>> Solve the problem by moving this task away from the drivers to the core
>> amba bus code, just like we did for platform_driver in commit
>> 9447057eaff8 ("platform_device: use a macro instead of
>> platform_driver_register").
> 
> Hi Greg,
> 
> Any comments on this patchset? I know your patchqueue is usually busy,
> that's why I did not ping for some time. I just want to know it did not
> end up in some spam folder.

Never mind, I missed Johan's response.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 60+ messages in thread

* Re: [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers()
  2024-04-15  8:54 ` [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Johan Hovold
@ 2024-05-03  9:49   ` Krzysztof Kozlowski
  2024-05-03 10:57     ` Johan Hovold
  0 siblings, 1 reply; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-05-03  9:49 UTC (permalink / raw)
  To: Johan Hovold; +Cc: Greg Kroah-Hartman, linux-usb, linux-kernel

On 15/04/2024 10:54, Johan Hovold wrote:
> On Thu, Mar 28, 2024 at 11:05:38PM +0100, Krzysztof Kozlowski wrote:
>> Merging
>> =======
>> All further patches depend on the first patch.
>>
>> Description
>> ===========
>> This is going to be a bit of a patch-bomb, but with trivial patches, so
>> I think it is still acceptable. If it is too much, apologies and I will
>> solve it.
> 
> No, sending 51 trivial one-line cleanup patches like this is not
> acceptable.
> 
> This is just one logical change so squash them all into one patch for
> the entire subsystem (i.e. this series should contain two patches).
> 

Sure. This is not exactly one logical change, but two, because the first
patch might fix some drivers which forgot to set the owner (even if I
did not identify them).

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 60+ messages in thread

* Re: [PATCH 01/52] USB: serial: store owner from modules with usb_serial_register_drivers()
  2024-04-15  8:56   ` Johan Hovold
@ 2024-05-03  9:54     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 60+ messages in thread
From: Krzysztof Kozlowski @ 2024-05-03  9:54 UTC (permalink / raw)
  To: Johan Hovold; +Cc: Greg Kroah-Hartman, linux-usb, linux-kernel

On 15/04/2024 10:56, Johan Hovold wrote:
> On Thu, Mar 28, 2024 at 11:05:39PM +0100, Krzysztof Kozlowski wrote:
>> Modules registering driver with usb_serial_register_drivers() might
>> forget to set .owner field.  The field is used by some of other kernel
>> parts for reference counting (try_module_get()), so it is expected that
>> drivers will set it.
>>
>> Solve the problem by moving this task away from the drivers to the core
>> amba bus code, just like we did for platform_driver in
> 
> "amba"
> 
>> commit 9447057eaff8 ("platform_device: use a macro instead of
>> platform_driver_register").
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> ---
>>  drivers/usb/serial/usb-serial.c | 12 +++++++-----
>>  include/linux/usb/serial.h      |  7 +++++--
>>  2 files changed, 12 insertions(+), 7 deletions(-)
>>
>> diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c
>> index f1e91eb7f8a4..a659f2096a1a 100644
>> --- a/drivers/usb/serial/usb-serial.c
>> +++ b/drivers/usb/serial/usb-serial.c
>> @@ -1459,17 +1459,18 @@ static void usb_serial_deregister(struct usb_serial_driver *device)
>>  }
>>  
>>  /**
>> - * usb_serial_register_drivers - register drivers for a usb-serial module
>> + * __usb_serial_register_drivers - register drivers for a usb-serial module
>>   * @serial_drivers: NULL-terminated array of pointers to drivers to be registered
>> + * @owner: owning module/driver
> 
> Just "module"

Ack for both.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 60+ messages in thread

* Re: [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers()
  2024-05-03  9:49   ` Krzysztof Kozlowski
@ 2024-05-03 10:57     ` Johan Hovold
  0 siblings, 0 replies; 60+ messages in thread
From: Johan Hovold @ 2024-05-03 10:57 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Greg Kroah-Hartman, linux-usb, linux-kernel

On Fri, May 03, 2024 at 11:49:53AM +0200, Krzysztof Kozlowski wrote:
> On 15/04/2024 10:54, Johan Hovold wrote:

> > No, sending 51 trivial one-line cleanup patches like this is not
> > acceptable.
> > 
> > This is just one logical change so squash them all into one patch for
> > the entire subsystem (i.e. this series should contain two patches).
> 
> Sure. This is not exactly one logical change, but two, because the first
> patch might fix some drivers which forgot to set the owner (even if I
> did not identify them).

Sorry if this wasn't clear enough, but I was referring to the last 51
one-line patches being one logical change (and hence the series should
contain two patches as I mentioned).

Johan

^ permalink raw reply	[flat|nested] 60+ messages in thread

end of thread, other threads:[~2024-05-03 10:57 UTC | newest]

Thread overview: 60+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-28 22:05 [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Krzysztof Kozlowski
2024-03-28 22:05 ` [PATCH 01/52] USB: serial: " Krzysztof Kozlowski
2024-04-15  8:56   ` Johan Hovold
2024-05-03  9:54     ` Krzysztof Kozlowski
2024-03-28 22:05 ` [PATCH 02/52] USB: serial: aircable: drop driver owner initialization Krzysztof Kozlowski
2024-03-28 22:05 ` [PATCH 03/52] USB: serial: ark3116: " Krzysztof Kozlowski
2024-03-28 22:05 ` [PATCH 04/52] USB: serial: belkin_sa: " Krzysztof Kozlowski
2024-03-28 22:05 ` [PATCH 05/52] USB: serial: ch341: " Krzysztof Kozlowski
2024-03-28 22:05 ` [PATCH 06/52] USB: serial: cp210x: " Krzysztof Kozlowski
2024-03-28 22:05 ` [PATCH 07/52] USB: serial: cyberjack: " Krzysztof Kozlowski
2024-03-28 22:05 ` [PATCH 08/52] USB: serial: cypress_m8: " Krzysztof Kozlowski
2024-03-28 22:05 ` [PATCH 09/52] USB: serial: digi_acceleport: " Krzysztof Kozlowski
2024-03-28 22:05 ` [PATCH 10/52] USB: serial: empeg: " Krzysztof Kozlowski
2024-03-28 22:05 ` [PATCH 11/52] USB: serial: f81232: " Krzysztof Kozlowski
2024-03-28 22:05 ` [PATCH 12/52] USB: serial: ftdi_sio: " Krzysztof Kozlowski
2024-03-28 22:05 ` [PATCH 13/52] USB: serial: garmin_gps: " Krzysztof Kozlowski
2024-03-28 22:05 ` [PATCH 14/52] USB: serial: generic: " Krzysztof Kozlowski
2024-03-28 22:05 ` [PATCH 15/52] USB: serial: io_edgeport: " Krzysztof Kozlowski
2024-03-28 22:05 ` [PATCH 16/52] USB: serial: io_ti: " Krzysztof Kozlowski
2024-03-28 22:05 ` [PATCH 17/52] USB: serial: ipaq: " Krzysztof Kozlowski
2024-03-28 22:05 ` [PATCH 18/52] USB: serial: ipw: " Krzysztof Kozlowski
2024-03-28 22:05 ` [PATCH 19/52] USB: serial: ir-usb: " Krzysztof Kozlowski
2024-03-28 22:05 ` [PATCH 20/52] USB: serial: iuu: " Krzysztof Kozlowski
2024-03-28 22:05 ` [PATCH 21/52] USB: serial: keyspan: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 22/52] USB: serial: keyspan_pda: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 23/52] USB: serial: kl5kusb105: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 24/52] USB: serial: kobil_sct: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 25/52] USB: serial: mct_u232: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 26/52] USB: serial: metro_usb: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 27/52] USB: serial: mos7720: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 28/52] USB: serial: mos7840: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 29/52] USB: serial: mxuport: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 30/52] USB: serial: navman: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 31/52] USB: serial: omninet: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 32/52] USB: serial: opticon: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 33/52] USB: serial: option: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 34/52] USB: serial: oti6858: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 35/52] USB: serial: pl2303: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 36/52] USB: serial: qcaux: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 37/52] USB: serial: qcserial: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 38/52] USB: serial: quatech2: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 39/52] USB: serial: safe_serial: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 40/52] USB: serial: sierra: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 41/52] USB: serial: spcp8x5: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 42/52] USB: serial: ssu100: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 43/52] USB: serial: symbol: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 44/52] USB: serial: ti_usb_3410_5052: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 45/52] USB: serial: upd78f0730: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 46/52] USB: serial: simple: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 47/52] USB: serial: debug: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 48/52] USB: serial: visor: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 49/52] USB: serial: whiteheat: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 50/52] USB: serial: wishbone: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 51/52] USB: serial: xr: " Krzysztof Kozlowski
2024-03-28 22:06 ` [PATCH 52/52] USB: serial: xsens_mt: " Krzysztof Kozlowski
2024-04-15  8:54 ` [PATCH 00/52] USB: store owner from modules with usb_serial_register_drivers() Johan Hovold
2024-05-03  9:49   ` Krzysztof Kozlowski
2024-05-03 10:57     ` Johan Hovold
2024-05-03  9:46 ` Krzysztof Kozlowski
2024-05-03  9:48   ` Krzysztof Kozlowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.