All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Johan Hovold <johan@kernel.org>,
	 Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Subject: [PATCH 33/52] USB: serial: option: drop driver owner initialization
Date: Thu, 28 Mar 2024 23:06:11 +0100	[thread overview]
Message-ID: <20240328-module-owner-usb-serial-v1-33-bc46c9ffbf56@linaro.org> (raw)
In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org>

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


  parent reply	other threads:[~2024-03-28 22:07 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Krzysztof Kozlowski [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240328-module-owner-usb-serial-v1-33-bc46c9ffbf56@linaro.org \
    --to=krzysztof.kozlowski@linaro.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=johan@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.