From patchwork Thu Mar 28 22:05:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609660 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0DCFA13B797; Thu, 28 Mar 2024 22:06:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663598; cv=none; b=eXS09hxh77cOLxadU7/TF6k9IC28595pV5fMiOf7EXry/LwehSf1E9NZIuqxb2eaF4QI2TaKOpZqwq8AIYpMW2I7ZPzbALeP3cODTkg9rsr2VSCBgDn3ypSOIaM5tQvI0fesl7LZcRW7UUAoy71MivDKP0/4juGCLDVOx8KyAVA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663598; c=relaxed/simple; bh=zMTjyvCEvlFeTTRituomPy21UTqRPzPiKXunZu0j7qI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=P+hZEmKyQb6X7juAN89FkKKrCAy831Rc6j+6GsXao0CrLvoScq/OTPEIlbX4fxofyNEKgpmwOxjGQK4Alje3MABG/sDNAGt/IZc2MW1L+bSvqVzuakyS/NYA1uuta+H88JvRcUUlQY6xrSuII8rXGzD9/14/eWvr7oTllg2MsAI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A613C43390; Thu, 28 Mar 2024 22:06:35 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:05:39 +0100 Subject: [PATCH 01/52] USB: serial: store owner from modules with usb_serial_register_drivers() Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-1-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3540; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=zMTjyvCEvlFeTTRituomPy21UTqRPzPiKXunZu0j7qI=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBem8ZjWaU0BWsrGTJJIOe8BTqy3yBqykUMje0 6ctP4eLeh6JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpvAAKCRDBN2bmhouD 1z47D/91NPYhquLrT3hprPgzvlrYZxLqq/QuKtBqz2iKJx42GL/QyK5LLiKkfXH6n4lVp4zQMYr RRbyB8ue0TzgbvTXEgcRYv7KQcNBB8duPJezGElWaz1VbOzAHW8Gk/St2LR0DH0YlaU7xHZNp16 r1jFdYqgPcaBqb6KGili3yTXvl/q8D7t7AxS8qwHwCzd5kHrrcfep/0VqRJD5LkEgZDxAN/MTnb 04d+KV89p7v88q/8BW3i+29d5e4pb5SS2y27fqk2CVyhncDGV2PIf3PV9/8F2YvpNaiFVK5MMjU Qt/LlGcqluabYBJikKYIrdjOgM+6zUiN9pNVsQl3Ia3dxAxnH/KVP1v0AfP9CBtmDvvuCqs/udZ EqoskQ1xBLlq+WZktr7QRz5iBW5Yva2f1Nb4lIHCHn+2eFWLXA9jmoFrJxlKjrFq9qqVuN5DvY7 +bM70RhkAJ+k/qn8oQfngmViVXwWKENHfZFZAUVsJq9pW9nlMa9vKAgZoJmDEnJCWhcBPn9o2+l Xxwq8/rGicmG8VbA+CljdfB0KCMsAhhNDkSFD8vxxiw+opZQzzXJc77nFyaWo9ndZqrhKmveZHy ZNgVlIHj0rwracXYN2vUPfS/VCC2iTQ1Z/DuVgcFhI9D10ZES75tXoCNrB+8V9d3vfLUI+qZNNn hoGXz6/gb2LLr6w== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B 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 --- 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); From patchwork Thu Mar 28 22:05:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609661 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DA7D513BAE8; Thu, 28 Mar 2024 22:06:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663599; cv=none; b=MhiNewomMSi93a2XvRULDCptfd2IfKyDM3SFs7IXfCtZM2Vt1+j84J7k81i1Xc5EcQHCgD45oLwKrM1TUUmF62bmhTBy8ORXbBUSp5/PAY0hHQvxkBp9USn311HmT7T9tHCyQim+8d5ToQrAob3DUNVuVfFyoDe79TIlWJ+8l2U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663599; c=relaxed/simple; bh=ewN2wWZclXps4ZoRXAjHLqCdnJ0ALobijGP+WOjRNwU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=CHd2uqNENbI8rffE18ZaUm1332MoIX2XPMabLDnLOgBzLWEwvJW86xkwdIF0vlpJqVKgkSjBLIBc68mpWJXwzx2nyW9N6X7sXfcAPZudrFSM7aTnaGHL5dXrrkxnypf69sqReuKruprnqwmMQOc+E30WKtLS8UGr8plSlnDwhi8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40CA0C43390; Thu, 28 Mar 2024 22:06:37 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:05:40 +0100 Subject: [PATCH 02/52] USB: serial: aircable: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-2-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=679; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=ewN2wWZclXps4ZoRXAjHLqCdnJ0ALobijGP+WOjRNwU=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBem8vZfDaWE1cfxcMoo/La3ZecS4WXsHtcZCr gGmwzec8wqJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpvAAKCRDBN2bmhouD 13r5D/wIenlftGXqsBDE8qfpqONpGs9bhK185q0kLEetIQ0L/PTsP4VwvxtqkoLSkq0BM1ON+gJ 4JNuQ1qGe8tHIfnKTaiCjwXLfirNf0I2O8fpsCRoc7Td2/gwGK9sBhwMmEkpZtHm3Jj39C9qrxF GrUEjZVJHYaitUu5Jv4Ime/8nsrz9cSZU5zXcGRxuAv0cdZDfgbvqe/A6Rnh0chqPLEHQ6DlzwB Xhb24iKbPGvM7l4ffsepdwzJyMTEWFWnrLw/mNbr8TXd99ZsOKtGT8cjH5X41NWjUK6A0NgYq68 e4STSWFSzrdHGrVUrIgk1hwRPaHyLy3JpJ3ZYtQL4zZpT3TklMHkdSQSvHDiHqRFGv2f+0tHg1Z QdHhNaTZlpfW/Z/RZP2j9RA6cS7kIjNZM4/TI65wpm+p76cjprz/PMfC9cYp7yaYN18+pToJT4x qAH12/MgTf7yT4Gk4FcsxxCFVwJx+pX76+MGsIluc2hwR/eHS9dK383pViJyzwwsFgXXxSYtIxb TolOK7pDs8QJKskb92wdP+fywA94gKQMqqvra4laNdFcslY1DS5efuAnZht0Gxj7Pcq00Xl4R1j R5/3EPrCXBdrqyQ6s4fYtZkUM4Zx2Mqdv1cuHc2Feb2N020BQB0rHud1x1SVTjPAfVJiahG5T1X 9Uh11/2wd22ALwQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:05:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609662 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 527E113BC1B; Thu, 28 Mar 2024 22:06:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663601; cv=none; b=TyAw27xQTkvIszjdqeeZXFttvLOfXpgbFauuR/GPKzzAM2OpIzXk3Y9iDVZsVVbKryk36iBhPqNtPIef5WQ3zppZSF9wOasUI5es3mSrogt+DcbtJkhpUnQ1g6nuF2C4iZLBHGVZNrDdZExxz7HGRkR735FwWmYOwYdTGA2whPw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663601; c=relaxed/simple; bh=aVs92Pn3fz//2SxqIxN7OiSE+GcvPzVCynAbnw6GSuQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=H4D5R2sGi40qGZvX/GaZ7dh7TFaVJb2YxfPPdfxq1OX3awnSgAltMOJ2YJuG0AQhMRz/zRO78urGddYvNceccoAqn86fnwjpVAetxO8a3jenvWUrPv8pj9SHGuvzVDnd8zfBgf2hxAeoY+sme60n3GbHH60y2S7X+CRNCa8A9QE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CEF53C433A6; Thu, 28 Mar 2024 22:06:39 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:05:41 +0100 Subject: [PATCH 03/52] USB: serial: ark3116: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-3-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=670; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=aVs92Pn3fz//2SxqIxN7OiSE+GcvPzVCynAbnw6GSuQ=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBem9IAcEgnB12Aty1DPTcELbl/0fcdBkuKWt/ W/vtoEyT4mJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpvQAKCRDBN2bmhouD 14ClD/9Xs5bTIIcJuCEH7FOuZtRz9Pzj9IJFSJoiViCYkr234fI9TZsCKyl/FuhYxEYKmMP8fMt 1ydc/RkSCGWoOdHViJbvkSSx864xxVpof10YHdpm2Qi0xXVQjJ/brcv2tsMeCCmydrCfiH+Jw/G PkRz07nCH7VbQFzuM77ycBVLxW9qRR2b1j0Jgm9ohhrlolSSm3Z3mj5cnt/qPEEZz5KJZxC9lQB YaSInfGBVaRBc1D+iVsAthsuLkL4eBaDXEe1JvAbX/e6d8FEl7koTd54SQbrh7+BdtR2923ZHJ2 kKza0mCzwRUnVCpaaBJjA8Ppp+dGyx+Ed2gAFJyUbjBfE2bSgTZQsIg+UC4C+ZkllauRF32HQsU 86bGLo0h5d36pehH+GwY2ZBK1NlSU09ga4FtFz58bB9xxGQvM9W9Uem8UQG+bmiJ9o4YzPbD+z3 nScRMYSofHDC+X77re/7/EFr7YmYsFgehOJYWNgSTJcfYTm5rwhRuQh2na3REA9R+ROd0Jhy4CF Th8pQj5Jtzwk3wqkUm6L6lOpAz38nN6mTlgH4iodnviNWTxvVdLcfEIMM5fShD6QEpqUaoCsGgj nH5Ln30wmPYHzmbBY40tG/2uTyuibcmdUtlZpfKZZLsd5tyCh5Z87rgo2QTo4yd3brtNDgs1NUh xcfcX0HdOzqpSsw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:05:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609663 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DFDF313B591; Thu, 28 Mar 2024 22:06:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663602; cv=none; b=ZyVZFo7mG1tY9JNfAXxR97FHLSp58DDBpRZnqh5jvHtSPHqAbKtmEWg6Db5CLEjOQblsrJosdJdt4rVvEUZuFAhVrobIl57G/Olx79DMtgCSlPqvhSAagJJyzHgvkSoLEMiySfAIrMpW3SLrMMRt0GUrhd+ozC6oaHbXdq7GT1s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663602; c=relaxed/simple; bh=S2FB7xSHShvsH63CVgMl3qjp0VaPJ9IpVHHBhIe0PjQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=NAUdEAyz3+pss/9VjJUU97oOq+p6+U2T2Vf9Ni4X29tBfEXElTLZwqfrPbR/FUF3NjF+ES5kJL5p6BB8HS/5Xjg/jiGBDQsvtZqYEpa5rU3ofxJbU6kQXBTlwFCVKNgHTfbbfuCVm0qNmjgEY2RXbuuvxaV6bP1ZdQ9k1003rU4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 78BA2C433F1; Thu, 28 Mar 2024 22:06:41 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:05:42 +0100 Subject: [PATCH 04/52] USB: serial: belkin_sa: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-4-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=760; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=S2FB7xSHShvsH63CVgMl3qjp0VaPJ9IpVHHBhIe0PjQ=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBem+ZGg1OW6AvoJdz6yXeTYfa4pvrpl/z2+H0 3g9j8rSZgiJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpvgAKCRDBN2bmhouD 11YWD/9sfHgJamsqfpDpoQPkQ4mv34K6j9OnN/dsya4PMUQddYe9I0UzEfc4xmFdYBlAV2pPwbR 1jiTOEqBXHzNnf98ZMt+WIj7m9j/lRSpJQusWHAInwOAp+WWP/SDpzqwvhjoUfyFKLcYLmOKJRd x9UndlzD3YvqXs9X4mPZOVpUjB+NsX4uaE5KXubQ+k/C5nJGQkwpXcLU//JYaONPBC8nge8fW4l W+hJzVdLulSOwUiH4uzTAl/ZRjqd65g2elKvF4jTkaGOIik14upoEaNVvTmV1l1F2wLArd+zWqa z+JN7T6Y2xVSLeXYAhRtVZhkVR901oZR4qJrVGVYUZJmdkHjD+90hjXRpkUXu2cy/cENIveUrKJ me8LZjAjkBlvKFgp9nSkB3+kGizh11gDMe1L1hbJEgU8iHKKiIXLFSJqLhMk2uk5EJXq/k70dru 8SOJ3LtIssFmqxxuWPVt63GHwW/0FbEyT79m9AuL2/zGdyP3bhXnkJn9Ck8WNmzMsi2hzwy28jL rTP0/P7qU39ObZIsX6EBseNdOhHymgQUaPEcSBiY3/CnMhkFwyuXeJd6UFJ/5L1OaIE4pIWYsdT B1NDmZN75y7wRXHKFpjLr4I5ThB5CGZAxdV0KljnvBNZraDoUveICieP6j8yAAZjh8oZi03u2jN 5emCh4Y2AtK2Txw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:05:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609664 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 912AD13B599; Thu, 28 Mar 2024 22:06:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663604; cv=none; b=NyQesnZPNgJWoMGIppj5wwu6IgjcADmKFa7o/hZT+A3rgw+1BQ0bvKufJjExVGzG9EiuNPciulZMfpbScUzzYD/vnauvM48r/EdYU0vEP4bvnlMnDQZyCErppacbUSWy9+aYJQzwVDPAl+gNhMPrgPiXBuBzkjG9vwOr6K2hXIA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663604; c=relaxed/simple; bh=s4C+SKuKnbuWnrrTdyEnQy/9DjIiXPnGtzQ4yIPkO9s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lsxawQe+hriFwtwWRcrcgYjFjcLUMOj/fzNmVgDC9QtPhC42IFi8mHAuxUyT4MNWR8vobyHcqEXS4KTOnnay9IQPNIuCzd1QG4Rt9mo+g1Q9RlUQx70lIaoYiPAl8XoqE2byNCSmDsE3MsXuIU7HbmJta+0v3xCF5N78gNyqTU4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0DD1DC433F1; Thu, 28 Mar 2024 22:06:42 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:05:43 +0100 Subject: [PATCH 05/52] USB: serial: ch341: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-5-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=671; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=s4C+SKuKnbuWnrrTdyEnQy/9DjIiXPnGtzQ4yIPkO9s=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBem/iGZ6D+lHq2GEABp1KowV9BKHp0aeZNH8X xOC/f/yuj2JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpvwAKCRDBN2bmhouD 12veEACSkT+n7pD4UsewmrGmiQBcRARtwyiRn1iZialJSLbzSpDE1CyqFaRuIAvbhJO+J5+nUfx omTwA7UDertUf0pRFH7ene2getmX5rOWOUEDz9rtbt3IH4Y2n73vergblkORTU1BnxEmBukMwFJ YkUjR1VjzN3R3WfoJ0MNdjykw2NYv55UaNIFfFhCPvAV7nIrESb63cCA96BaU5HrQ4GNSFOwgWJ 5rL5G4Zg1VkBfT4grU+RMcSZ3LM0bM0dNsTA9/bt1tJuWtQ0Q272dVhc5Tqkp1UC0vRWodQJ9Pq M1eO2NSxuIrrTlbykSiXdhoIbsD2DuJyTUhvcCZ29PQTuCQGaBUvsLbxvEPjWpDqedwlSEvHzuq ZefsqHjxKhq+ffS/r5qvy11VEied77AnvaHg3fM/HN84m7pD3SPBUvnNlHQH4D/DgOkLQqt6+lK McZpdiu9RgHItD2bjdrf/SeS0qC0KT/qNoo8RtUEbzOsRToitpYAg+kVAv2INMsTAbtlxnpA0gN oNsciDpiAkKSkXFUjvS2ACpQPPEm+pExptF+kyjvwNXTDxhRXN649pyhy/lIv0GDD5aJ0JSLnYf cbcGNlWJcyYFOwVep5U9K9BwD/1xXSkLFmtFVrlBsVPv/sKCIB2woLcqjBjB4+gzCrrn5iVu3mJ 5ZC7Nhq8rf7OKDQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:05:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609665 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9491413D518; Thu, 28 Mar 2024 22:06:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663607; cv=none; b=PjHclhCCaAxF8sk1doKgoOWA7DG/5CnJ/N0WzvkR2Ig5lEThxCdESHvuISlbqAuf90PLS8wAMBS/Owa0udxAESadSpfHi9yeoq9m34W4hKfpz67l1bFDr2UnEKiW5rqfK/zx7A0JWJiAycIAYm8KwmRMRWw4N1kW0QHVUbPNMQQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663607; c=relaxed/simple; bh=i6aF0bN3XZSDZdoN+p7taohc4Wa1di9qerTpNHqw18o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=OZeV/cRWavqc+U3M6lcmP4k7FCECugymUSydnVBXja17l9mtmNIojRoIinp2H+gxZK+kY2NE3sbMIOw1W+DcZpHgspmFoVOEoobFlrLBAGDq44//xnaoGroyBGevymeYgj4wQz/pQoKs/4sYcyReWDH4gOZOFDI7+f/P4z7wPls= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F4A2C43390; Thu, 28 Mar 2024 22:06:44 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:05:44 +0100 Subject: [PATCH 06/52] USB: serial: cp210x: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-6-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=638; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=i6aF0bN3XZSDZdoN+p7taohc4Wa1di9qerTpNHqw18o=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenAKsLcW7N4X6E8ZHR35B5cXAL84Q3bmG/Lz b2zBgYSQ4mJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpwAAKCRDBN2bmhouD 18fAEACbZARq4C1+q3szJMrkmkKHNB1rzzu7cnRzkYx4lqbf3YOyf8lbqGXQk7mFkTL+INkkbsi JUn5QDWhwC872nyt0TEalnt4UsDNkY0j/WN64eEmygd0Y4l2CIo0boKMjTWqSlk578bH9O0uQkz hX/BI7vqphWoNht/j7A654cNiMX0c5YJgZ5fG7BazV2cD5fWMnD3reV57B1ZLFtfIIgA9IhrvRv q08NhfxWmLmGGRQlL11KGoGotMvsKfIrKgklzUDdoHds8oDRsr8jjTwAWY8X9lFkaZjLM9Svdbu Z4yulzJFICXGiPXc+7XqvY48XE7asID6CCtZqPrLw/kYDBD8mrDrw4YOFi1EUu+RCci3VPddrbu 9A/dwKenFjKSd8KIL0e5iFpJ2LkTBT4hB6PG812o8mrziu6lolfUmsYSoHP7W8ycHUSeLYJl7Qb mMM9XqbNayuN2bPo+xIC+949yM7SY2CT9HsaybxDI32lz2uDs8I9Z8dV9nLKndr7b9uXfVwGbTl Wc2DTfKlKiEWWyUnwMbU687TQ+wZImffEAr2WaZdWV0jskr87FVugiuf5nQTe98MzJHLEj8Ma2N /6G1iqhmQbTAvtQzhtyWwHSlzWd6ofgtechCd+7s3JQtSayf8eHdjbAVwOhvM7wSpwIbT2b0bj9 grbJIEYbdOsht0g== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:05:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609666 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A67507F7C9; Thu, 28 Mar 2024 22:06:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663608; cv=none; b=fAAlgq3cdvRg4UeS3S7UtYOwEZzCCHa5XiXz3toulCKHgL4A5+mkxdwGMjeY3aQT4iq927Ri67k58pCKwBoydKjwwFaSI12RRblNMC4ncm19X8Ku9SZUBdPI315Zf2BnVCob7U+zVgvfQDhpXfUOHFMT5CTUY8trAa8zbEg4UK8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663608; c=relaxed/simple; bh=oTE1+t5ztgxEwyfIhDxEPu9aN2MFsJ60SQzynS4l3sA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Lb976VP5iELIXTOKWVBqencMkjWVFj9OeGnsMQbwVHeHGOVwFHLjVRFcWY3eAy4LwrnfLnF9aEsOYMe/uIEg0pNy+4jmmVj0wOLdEsphVN/0K94eddxuU/XJ8GOQ1+pPdtew9LTdeS2b/sEA8Ljrs+cGrRtbRqgD5DmiSnt0fDY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4C16C43394; Thu, 28 Mar 2024 22:06:46 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:05:45 +0100 Subject: [PATCH 07/52] USB: serial: cyberjack: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-7-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=697; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=oTE1+t5ztgxEwyfIhDxEPu9aN2MFsJ60SQzynS4l3sA=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenBKaZs8q4FtpiRfe+boddc83z4UkCJTJBMI i89QO8xuvSJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpwQAKCRDBN2bmhouD 12dfD/4t4mBLplHODZH6T2uBohQ+Chv0hfKU29TIMTMTZsejbQlk2KHEVc66pvv/4lLHqoF7vct cFhGAEj9DyqNE4xEBs7FVH+njfVUA3DFc2A1A2guEqS4Y2JhHxlKl8BGgnLCu0aHnv7NHhsDQD8 YgkSSnNyVI1PKoo8DFySLP49czkvndcp29rkFUqcX8+NHJD7FshiwdgsoBHJRsyd27FFGnMflJu VXkhZv2HaUhswxNjxeIbsjIoWWHLjiKPBGJk3BexKXTYfjj3eCUhN2fOWvkhx0Xf/SZ8P+qHHNC slturLLm11fJ8SThb5JTV54sxD2KWJQu543YLSntBPO/e0Gp02zE6WKz5y2BG4NuVfT5lm/bsNK n0XJH1T9Qy0zBl4Br9GCYXwAJmJDp0elDjVdjr+g4JR/CgieHIgIxmRfaF/375nJzZHA0uyReoF BudGt7GacRAYqpTeZNP2lah+YeObGbFYEhFbMyrzZthh86iTLhz7MU5QZTulgx5kTc64URgrw2/ MUpOUSxmf5VfKiK9K4UHwtvLESedE4JpQ1OLpiGL4vpOVhLBE6RyHHxjiDt0sYXtu9gfaD8Y3YP ojpQtWxwMisEk+0fC6W0wnv9UdpXUn4WBagaUDGhAf+xzjdKtEMPdGyY1XkxibWtslu3Rhcxc43 ihXnxKZ9UVW5vhQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:05:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609667 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 88F7413E408; Thu, 28 Mar 2024 22:06:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663610; cv=none; b=UkjQMl2Iu1wblUPbrqOLdfryDryigbjUkTq/uIrfHSXIsLDHPufhr8bj70BtfUJYk8jEB8S6EN/hCxgMadGMTOyN8DcXquzIgx3CAmL8A8xNO4N6xEhQzF6wMdT1bRM6km5rn/bYcPqqgZuLnMNvDABuXehrVOU6djx5xtW6FVY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663610; c=relaxed/simple; bh=1M1ljHwJQ2Gf6mkI4K7/mzzxbDxjFEk9xijIxqTucrg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JCqqzyJN13vWDHd8+KgVGQ3iFJZeOQ4eu8e3/TGeG1F2Gk4dSwd7Q8bjZsREe47LxJgdt1Zae49xI3yTzmZPf8vygyldTPqDITrJUxIhdi0OgmPmiYskqp8aT92jNgXNe+bkr6AaRlq3LnDsSWefsuZVdH7nrJqvm1/wpBgC71g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6481C43390; Thu, 28 Mar 2024 22:06:48 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:05:46 +0100 Subject: [PATCH 08/52] USB: serial: cypress_m8: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-8-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1255; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=1M1ljHwJQ2Gf6mkI4K7/mzzxbDxjFEk9xijIxqTucrg=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenClNWAlsyXBT3YdOTraS7r6Lai+tDo5u6OV GMxoHrSDRqJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpwgAKCRDBN2bmhouD 18DnD/9oUkYvKe/l+VqS7238PFNo0Vxxx+xjEFnzX1uKJv2nUw37Q/PFuP5ZB6iLI/BptWDifTO AT30mWljdpK5sY5KiTbaDEQ6+QQr3UKc3C1ye+pBDb37ySm87AqgQNU56TB2vRdlvyMjt0E9TdD CJK3A0siOiCjtDz8d58fla7yxVP3r4yDoSQII5OnNESrcUQiSnJYfLDfOhAGLcj2gpp5vegwK10 GHMWKrA0mnNPe9xrZNd/Sayl5cs8Eaclz6kXjGFKwjfROTqJKpyFlFD9YfwOJ/BY//ypLoeht8t enU/NDSbl0KvPhZ8lML4pkOYA9hXvwyvlk8m+E/B56Zt+tZ1/DkAVIubj5n8n800fLEY4/MIpqw wpmRcaWE/Sy6JUDPilsUwcO5l1daQSkMd4UuxMPNOpYb6cEI7T0282DPWDTbVz+eB4SZ/L/qMnm jQyrMtRnpjdHf+mvyF/uMOKEmBImrn2alRJ72nbPJakFNNEoI2U7JF5JJU2MSua0yAgkGkuZ6HY k1OiiyWnSPG2JR7CeKPr0nLuKtdDTHgWMJfkjPckI8gAMlVjb/XQSUxlW72rmhE6pjv4iZxPNSn 2/GGvPO9U6OZWGm2MQOeiUZ3mommuwCFPz86D3A1cvWuVYDvWxCRO7qMVV2XcYsWyVF6vEiYxCt cCbz+YWLhhPBt9g== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:05:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609668 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 37C6D13E6C0; Thu, 28 Mar 2024 22:06:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663612; cv=none; b=gTkdWsxao8rVdf5Z3u05C6ZMO1QynHwzCNILvkELXzXGKNvY3RoHi+f49zY5s26MfMs9by37dqmmyrvkgZfenp8WIlLPrYxLn+j2mcwIzh4fqkxduqL3iD/MZ8kpBf65iCkgdtMDO25DbOj/p9LrKhygEgF2fysc/kxMKoFo+mU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663612; c=relaxed/simple; bh=3XIAy3qHNIx/EqDRPAs8SQMBW/EjnKKYlWaVgP+Qdjs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LS1GdovS5/27Ex7bYDw9exJUo1cgvnTEBBJkId8hFvw3uVdMG6MhmGGh6Zh1Pm+gVQubRvhgD+f4Z0ln/JJzT/ulfL9j4vE9akBIdLlXaavMWoeDgR/aSRKhDhToZhl5OhRrhOb+NwodNddkWn34T8CBO9gUGmmQgI3x8sJ6FXY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4B91C433C7; Thu, 28 Mar 2024 22:06:50 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:05:47 +0100 Subject: [PATCH 09/52] USB: serial: digi_acceleport: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-9-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1002; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=3XIAy3qHNIx/EqDRPAs8SQMBW/EjnKKYlWaVgP+Qdjs=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenCG7HaWG9XJw9AtHvtaFYlczAacewJqaoeb b4fNQy+lMOJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpwgAKCRDBN2bmhouD 1+eHD/9j096adE1weczvi83KFWPs9F1b3iJmc0sWvUzGGhNM4z/6GvhxNNZspvW4PO/NR81Qv3A rE7oSCM7g/dZ80SE8RAe90alT+dk3UFpn81PXpXBVjyfCPECkFwAFZZAeeCh0QTOcynigv/jxvb Z8aiAmCdO0c+RVFmjM/7Vm9keNFJ5YaENs928L/vhjTkAgUfbT6I5Q19Id7p7UviCB68ZFdXvFi K8YYPQGVXIBq1gaI8G0ZJpNA+MCyBrfFG6Afy4DU2TIXY4cNtWsgOiRnoptPXluom9QTmA6iPle 5Mu4/0RarkJx/4Zd8z1lYSacGgr4V7//Mo6+s5AiDiAAuwTIQkN6qbBrp+VaXXSHEB4x7QxpSBN bx6gBFZvXElWt4O7/2k65CgQS9yyXiEP6RIkhXHH14b1jRs/j+E94D8ZjJtAlgwBhjPinSyeyjk qAO2Rcn6d2gBDLf6YhV/3KDezO9AxFo74v020IDAxhmyz5sI51FOu1l0s+NfUweEz8tq84c/kBH S3hDN10xf4MQ/Rg/aXhLpBLmMj44BpHAnj+KHptYccZuYuwSgvemJlD+GSo9hV3hESAWAmjG5Un MvBaeDTCX0zH7VgRvf1rN6DJvPfJ66sbPVLN2orl++IsiElOJFoE06LdFO/BPUheN5xKEfZdCxO u6AZUKAbLa5SC5g== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:05:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609669 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E37A13E8A0; Thu, 28 Mar 2024 22:06:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663614; cv=none; b=iwh6MetPUO4NfxyM4zaq5JwZUTrCUfY54Dw/uDi06VMl2D7RiKBL+PDej1y7qp/KfHbYPNZpLcCJn9Woa7j327gbaUAvqEat21bFUcdsiAbXnpt/mWQ2Pw5Yz5ebURvrSZ/mnGXyk3bQ7GmnabbZzcWxp2KVO+BDdlaPxzgUfsY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663614; c=relaxed/simple; bh=v+OJ+5vWY1GxxiRKgSjuspamCOsgWHgxoSz0ziYZWb4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=A+NlCPkNPh9fS+ir1KtSh+qdDYu2L/6wMXMsoyJLRtsAaX5arzWO5Ccql6rf/oMSaKJJCRq3sCMcQADmbEVYpLVW+TcxL6jVOM2DIUA/6OIe+N0MCpzRHlNRRGNYY0aNDthEaIBzvvf4SOGsTTMSgq3MQyigqlTqtSLp1fzguOk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96A2EC43390; Thu, 28 Mar 2024 22:06:52 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:05:48 +0100 Subject: [PATCH 10/52] USB: serial: empeg: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-10-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=636; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=v+OJ+5vWY1GxxiRKgSjuspamCOsgWHgxoSz0ziYZWb4=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenD8/WX2cK5QzxVDF7tTmE6B5cKPmHTHaNHI jQJ+SwFHW2JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpwwAKCRDBN2bmhouD 1/KCEACJwUzGErAIE8+Tr1M5rGs+Xarh3p7rB23LMg5BjtQM0t4lxztgY8bzSkBEIfaUvP+OfpM VH5qP/nNft0ev2TDynUP7dJb4w3fkREA89Yzfob1to2Q3Mmi4S4/N1IjIAqOkYeS9sK/5VVy9xI Zh4prjuUnAF51LErfFJj6R/HZ5gBNyUqSo5+gAtJgItshwu1M9u4wkz+CgBP5iC2K/khCqggp9P MBml98v/iCy1puYXUoHLNCE2HGwf1YS9FKtwASqRtBEugopieoG2XG5OO+yQBkFJ88wO/zu/7bb 860g8qdqW4QXHngZaZch2n9W2012j2JdCfZ0jbjMsKSJ4GUwLXsH2P6PQfS4pj98X2YFj2yUA6Y +vKnlKKocPtk3/AXPnYGMIRjP/esm6jbaT+OGzIM10vfk0Ye3EOPs/m/Ty1yKZaoIhOGPLpHaB7 Kfztu7ODqt5QPbNLfLWSpctp6TEUmiuWjMVJXXSU2rFyi9cZbVJJhSu2KuIfoHEU0W7a6CaUxXg 3nkSfG8BOLvi2vqXbQ4bNw/ip1bbQ6FawlCRTQvv8YC0C4ttaIq6Ls+TiATr9XSvGHpqigV0wng 0fLwS0pjmRERPX6kec9620KeYMgyOIqcijT72iD0LMwwDbJxYXjiyr9V19KaPldGHwzD7pksWKZ yJdFxBmuNgSgAbg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:05:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609670 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E0AAB13F43D; Thu, 28 Mar 2024 22:06:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663615; cv=none; b=XVH03iedkQegzlHYxuf89E8Ai8v+XynH/I1JZGQbQNwUHckKfYMjHveOax8/xqUAWcvH11M9J8e8ABFErFJ1zEf1NzOhnPJwAZxMFZBfSe8kAni6W8cMQTivX+Bnnb9fXHqTxg+6ewhHVK3yKJhCGvoHU6U6RQ6GW4skESpcpoY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663615; c=relaxed/simple; bh=cKOxMhAZxm89Ryjch4R9DrdB0cUfFYBxuwdaOEf5HsQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Sk7ZLd4aknE4t5bas+BhyVXUxq+s6IuWfwu/T3/7lBCoslinM64NjMKmT9tGMEqoiQwyF1EIieQI7+6TuMQccwoUpkLX/TFctouwPk4GIC1j/7phXqPW+rb2x32rROAM8Ad4ZB/BunwXGLczygAx3MlnFdQqaL4sgRB1NdWPcH0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 78EBEC433C7; Thu, 28 Mar 2024 22:06:54 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:05:49 +0100 Subject: [PATCH 11/52] USB: serial: f81232: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-11-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=902; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=cKOxMhAZxm89Ryjch4R9DrdB0cUfFYBxuwdaOEf5HsQ=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenE/Rtby9gGebtZIna4XSpdBSz6nvf39gIZ7 HCcLpRQM6GJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpxAAKCRDBN2bmhouD 17kBEACMI9t4wmSmegKoiE+nqOe1y9XJxzm7+7Qj4e8Dqy1xE1jJz/2h/9b5zYjSSsve6UDLODQ 6zkPAgdGzwAhoxiyeyql1GKYbPKr/LMv0JXn8slTZgTlDmg0wh512Qr5/jUVINOb2jyEnAC+lA9 3+hZI6TVgRFXTgzMws0ajyP8cRz0Nml1Wv3anh0t3IjK+MUN/TFjSBRU4rG5dk2TYx1o04prGbe CxMyaX/FRiOxbSnUjmVNU1KQ/OXOMrzUv87UQC6JRr78t1UcfEFc8biVhibjRRwL50XHuhqqfl7 dtfjAqVEJ8X6HlTxlFKBmZMxxAMsWPGC5DMFE6TKQCFR8biESmWDq8TpXiC3GMJoG6tuUJLDvWC kv1wiW/NzW13Q93nF44K4YFcFBZmyv40AsLfYWNyiIAstd+nRnONvbE9yfaSutA9ip30KWWQdqz 1rShnYcobgiUNERqpSZCir6rb5LAQ4fEtS2IT18hqi9kjEaWxIPLqFw3IyJoILjCsVYkJRJESMd B3MZhzy64a7uLJAOWAIsa5EvBpTk1sH9Cp+XVDb5G6nw8hB9B/O0YnnAuhSt2O1D8GcEsdruORw 17GPrxw3znOyY4QG+OmmN4J10lP9ksk9dci2lyIAG6Xs9lXkr5bTmBQPmIR367OwGWI3jOMsJc5 KmZYwj+QF9S8ItA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:05:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609671 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9BC0D13FD81; Thu, 28 Mar 2024 22:06:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663617; cv=none; b=eMhMNzT1rM8il8XcZ0cPJKFf62jMps7uLeieqN+PbvK2XnnLnEZ0f+4ymxSKlZVDtHcBMP0DmPa4VnoAZ6/I3Y2IJ68eaw1SpgFZprlbtl65790nB2WEmKfgwxDJMy+encZVNV6XgZdzsfAo/S5D0Vxod6dswOQvEkL0Qcmxp+o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663617; c=relaxed/simple; bh=HguW4G8iSnE65Rlf6nO4ZIVVV3ifHGTNNgRBc5itdU8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BIGMGstM4Q3V5s2OgPOBN9o1dQGfx6iG6AEX5tajQ+TkSLU8Pwkzyov2ZVTESwg3kkjGEPp8CwUhwc+c1Rn/KMDza6osCBLJegpkPjUP1leGBPyk62xcESvDdikTWdyp3joYyuL8Pk4Z1fYv/xGbAXZoh08tTupYjNhvjEQbUGs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 17170C43390; Thu, 28 Mar 2024 22:06:55 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:05:50 +0100 Subject: [PATCH 12/52] USB: serial: ftdi_sio: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-12-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=672; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=HguW4G8iSnE65Rlf6nO4ZIVVV3ifHGTNNgRBc5itdU8=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenFhqjYVlVRGPC53ciE8IoMm3Nl/TDYLjslt ZcP99F942aJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpxQAKCRDBN2bmhouD 14qgD/415Cb2yLAO4jyYb5mFZj1u6QwcMA17meMJyI2t5JwVU1i/rHHuFb6QDKG6stN+kAiairT nzwUSXihIkT3ApqDTGwFAPOy+LkudVCfgcoRPMR1sWt4OiEFH7WC2KCqYysVyJ+5hHNBLMG+BLY GCzsJxLWXrukco7FmqVBp9t2tDCuF0gsbJi9Um2QjDmFgUEUeoYuvoGoeV/t6ElcGJqn0tdcjIf 7nIbOioBwFUegMCc21EEgrnub75m/qDSzLYr3McsyyTA5rktaXPyjEoc7l76jnQR6PAovZ8Il0f NjSs57qpCgcmHrzBCcd49q7to3h/buusB2FluwderUwAExShG7mAQO356ktVpdC3fxhZbS8hfFc HC0MY+mISubY9mJJ43x9omt/HBf9G5YyRVzi/yU/BzxeqHsVgeZmJ5ktRumPp2MrRi7C81Vm49A TWjI3oOo2EKFXEa77a8eqXQplxGuGs8z3Byp7DzNf33EBSTYzYaUMDrG0yTLaf+8+ZTmlpB/EBH 4jeD8bSVasF+pXoP6e2Sknq6rjNl5iqaRrpevd+mQi517VlrhWUaStrW6PJbmOGOPiWpSQ65u0A /XSImXAu/EQHpZZoplhDQ5LCFtIioQIlfW3M6k5hAx3BQxXpPbo2NUcxV8oz0+u8X+a1qqQKkyN el9onhn09hvYyPg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, }, From patchwork Thu Mar 28 22:05:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609672 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6C3ED13B7AA; Thu, 28 Mar 2024 22:07:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663620; cv=none; b=gpT8Qms/4Jmzx8At34qbfy7tVS6ed3pK6SfEa1mj4ckwzvA0U6cm/GdAgG11X3xQzdNuPnRs92Yzcss/pBz+a/HlnBSn1IA4mhxeJdkxg8MoZtn5ocBUsfeeoKZYgcgC01vT/9IvjWeJopUdEhOIMGp8MsezcknKLwKW7rvvIdI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663620; c=relaxed/simple; bh=P1p4NxpNqAGzrvewOBn4+y+vjnDBjJiJTGyS4fUdk+s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=eTDSGA+en0wBH/gaefjEzhzkSbwNtTctW6Vxnt4cXpyIShLdp17tLB9p6T3Z34sJrbGzt57DgPK/IqZxUVO9TgOOsPKjjhpvsFGU8jCT3HchPpbWTfCsm8Asvvn/Tof2moqJ2FGV5Zd4K5NJT3KNDoDWPfBQfm/iLJnAWipQLKk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65BE2C43394; Thu, 28 Mar 2024 22:06:58 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:05:51 +0100 Subject: [PATCH 13/52] USB: serial: garmin_gps: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-13-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=765; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=P1p4NxpNqAGzrvewOBn4+y+vjnDBjJiJTGyS4fUdk+s=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenGvvOwPSi4YvHIsa8cTT32irS7BO2l2f2SW DzxRHOi1OSJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpxgAKCRDBN2bmhouD 15MKD/9uhwfZYDuyQZ+fAZVEmMtBIY9Y5XhCeyyMGhKyrSRAo8/GXow2wvLkttY3ikYXqkfORrQ uEys0ZcAqKYaFq17ijBJWixaZ83yyZHwC8bJjJ7Ky4Z6ZDov9Csjb0L6XfGBYhM+zHPV2WCpp/n TO0d1eTyxBsNbS7H7B3pALxHnPIovaZKOBDk4lTezeTzO9NKg/mXNJDG2kV6IBFDUD7SWCbP9wk 4KzMNdmLzcG2X0H8IysPoQE4P4/bjafKUNQETvGjS99wpYk4Gca1o3nGs+lqUkHh3IRRa69/efu y2BazEhE1JobX9kdMSw8VhmdRr8cQpTLQL/fmBYXSA5+/ViwvKVpoxfi+D7hAJHvqv9+vTgK7WQ Jzoy5XfbBtuolBdCw9nGVcYvVhIcF0fAGN/sbdFzdqYtiER7WhlzOvZnboJAT32mCaQpprrUPCx veD9AUeiD/kPavJA/OeoUMcoInTnjzlKJSWWTkKfI+uEvo79Dc4Py4vgEEZV/x9ajp/oP+7KUrF 4JExLE2JADSpLw/8G1tQ+6oKwwwu2W+YzWf9yulCHdClsNmGM668TNrPQRk39DbdUKaibLlw7I1 ifsgvFKgew84PVUjYHymgVR9Z6YddhQ3uhaIaNWNBFz7FYHOx9pxdaSApmvl2vbwNr1q7pn6Uul e/hSgcuJ2ArojJw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:05:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609673 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B700E14039D; Thu, 28 Mar 2024 22:07:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663622; cv=none; b=jEdtSLB6cBwKz9tqUGPyk5Jl1yyPQR2o003hsCx3KkmBOKflPt0fj7qgn7/6a7bHfBCw03YkT8gODso1ll61NOEuE/2fBDTXU9Mg/C7LXa4kzZwgHiF+LJtAoSysvuZipWVniL4wfD/iN/qJ+mmJMb+5QhibBDg0+xMlXgZF1So= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663622; c=relaxed/simple; bh=nPFgOR3I25kBXuuX2zyEGKSAewHNGT6mKKXJEo6ADQU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PLB00YBvUo/VAnQCS4zdiKtz6RnCQ+5R6vASgHzvEkT+wj99lUsulgdh2WwVh/h0H30EuTB930hPULuehQ/LOMlTeiUnBzekRiFkxEKC8kfH72V6hgXE+Fi5hCwtgUZnP14HwQqNGZ8XKFYaEfJj+r6N+tdiZADFShGLl3GZbrM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87E61C433C7; Thu, 28 Mar 2024 22:07:00 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:05:52 +0100 Subject: [PATCH 14/52] USB: serial: generic: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-14-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=707; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=nPFgOR3I25kBXuuX2zyEGKSAewHNGT6mKKXJEo6ADQU=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenHZiauymtyDQm2wfnYtg3Iua6jrB/gURFo5 NBMB/xbWlWJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpxwAKCRDBN2bmhouD 1xPFD/0Xkor42T/K6f+NBuhu6wrF8kS4fWDg5SzMxDOQC9vN1w6Cnck3g6nMgaM7/36IO3QDs7w YroRAE1mQjFME4JZ+Hk3XQ5sV3i/oa3EM49Lx+1XMj9kowU8mJRLtiaWok5XzevtHpS571+W/5e 8UVZPm/yqMrPJLKXZbJK0OrHeUc+4J4IODm6ogKMBQbjVKLccvi+DpXf604pU7FJxoPS8w+3L+0 1XCj9jhmwLIXPO9GgksiqCNWA0he0AgtIp1qIYArdL43AoWxEsFofpcyXZl5px0xHdMOBSQeehU NtNLNV9vpMEqsx/zkPCF2qbKY++/fDx9srKhNUI8DCbLEMUSjDbikHQZoVWV8QrHM2OiBfl+t0+ NB/lzh7g0HZpHF3DFwLAEbGp8mri0AGivsEaft5EKePA2PYRekp3FvXeFKdkN+GjKzQyccApU/p 3Ca2FOJ0GIGRYG7pzf9gWXwHFK7fkfKRkAgydHoVPnzk2yE62GY/64p2rGA3i1NuY/lH82ADwDK rZhP1x2YuQKkQM5Cmizqv/r4LJ8xpFKIXi8mGUwZ3e6vMjvHovNAzDGvN7+3FNpiQPeCCzDob3k iaRGMUxo/0pX3EpMN/uEnSFv4eQP+SfhMSnF/xseUjbhOc4todQzkKeik1JIShsDn15/OetI7iL GAkeHJt74ZE0GXA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:05:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609674 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 897191411DB; Thu, 28 Mar 2024 22:07:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663624; cv=none; b=VPBSRQzy5vrmx1izYbKVM+WBWBq22PBPqM1I31KvCLyUVexy/Bte/LPjcSLQn5wTItaixumSYJGz+J2jlEETOQ1xKFK8qrxcqHx4u21n1AkcpE0QvLDUgyB1cR4NKuC0CD5nvnnX4IWu2O1gTX7wuaVClxiOxMarPzuVnTv8jq4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663624; c=relaxed/simple; bh=V7u8Oe5cz0lMDWAYpN8ZF7BxoJGt2w3Huvu3TewSHck=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JszBZCSFomzxvPUxiYtHFG0I9IQMLUapjdyDJtaRkH94CJqEGWuvgWtn8rkTJ7F4IQFAg66tG2s6+Un71BAaW5SDxRYRpW8KOrzoPHGOO5FnKZFXMtGLUbZgIIXUCDfaeNQ3EGTuC7JVJkvffdJ8PD389XrwzWQ0WnMao4yT07c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E653C43390; Thu, 28 Mar 2024 22:07:02 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:05:53 +0100 Subject: [PATCH 15/52] USB: serial: io_edgeport: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-15-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1499; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=V7u8Oe5cz0lMDWAYpN8ZF7BxoJGt2w3Huvu3TewSHck=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenIcDaO6sXoFRKhQKr6oPc06DYPL1FR1ioej pG9rQQpSiaJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpyAAKCRDBN2bmhouD 14lcD/wLfn8UAYahHCQZo9ucaxTW378bCVPb/ePn7Z7dKp/ox8582iPf4j8y/4+KTT5sPRPazMr UVrc5PSJvw0BneFoMQ3Zv4frdDewf4kGgoRtuF87yENiK1C2CcKEmBdvZCocPBqN6dFeADjotpv FBNQQ4o1m1yHN4BWHE6i+MfcYUWYws7eSAwuEpYU9GyJ/4kVTCLf39gKHAxnpzBpaUXCSXYYPhv x2gIakH3qTnv8ELLi+y3a2IVqLCH3UQBNqSBhi5aGcvudd8xxb+XFJ59GKshKpeM/IbUsQ9tbJZ qD/euQO1HCqFDiMHJsrp0PQY+x1+TghgrF+1i8jeXdC+GyhJPz6Iz25Te1IoA3HvXI7H42e5YfK rsJ78GIpGAs3123UMVsxSWLZ+9DrmbFff2/4s//SDIYViLTqqdqXvYmDuU4Mh6QBUD0VHG6YG7E B5PoVVm1Mz+3AgTfaUCbKUIi8iYBlCEWV7pDAAZUmbeGpQkcXf1GoZ+aFfIjrJLeRg1oVI1XbJI iA9R3HR0QROROMFozbeoB4EjxTWniJFcDqqHx7hFErcBfqjjBRidM64hQx31kwJiuWf9tMmvS5V MHdP1nu/jLVtyoCVkvBf+2nSW3nztEBTh90uDeg4aXC11R5Ve3kRhXi3DbwuSV/+WnN/kep5nWr tB1nApRZOAAcxJA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:05:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609675 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F05371411FE; Thu, 28 Mar 2024 22:07:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663627; cv=none; b=cJO3mBJzmGwCPTUn2lS9Qr8DmL6EmjSFnGNeTGPdTsob187VEfpISVEUirTNIhoL56GCTQl1uTQAlnaqlMzEiL0nxIt6xEzZiEKZ7sC6ouXEk+jF+DlIWHf1ViScQlRelhtom+UOaCI4Pjg+ZhyRgBcfU4h+sV6zohRRv9+d3x8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663627; c=relaxed/simple; bh=3w5UjVlu+kR7HybmIw25RKh6vQkxCboPO/K0fwcE9cI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=O/MFDuilBCPfj8jC4PuDSHeI8VTD8+eH8C/KIe1NHuzLFDEd+I8Pk0buxA5VBYF6lhEzjR2K9en3SX+97qsLEuACvnlP7NdEBYWrLTgMcFMis8bdrLKU9ubFJ53s3iGn35p99NP+WJDFxApvUfvmUfbln3GYB1alrQBDBNclNX8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 103D3C43394; Thu, 28 Mar 2024 22:07:04 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:05:54 +0100 Subject: [PATCH 16/52] USB: serial: io_ti: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-16-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=968; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=3w5UjVlu+kR7HybmIw25RKh6vQkxCboPO/K0fwcE9cI=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenJ7oIwbOCtyMJl3E6Oc49bx0yZtt++aY4hk cc7+zjvHkKJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpyQAKCRDBN2bmhouD 11rZD/9O0bI6E9GQj0wOAE3y0nxO8lLvr8e4IHJZFyFOH771/SGaQM0tyUZVKXnuh5RxTmp5ubN kZ2JN96j8Ym5YzZ1J5BKLNVh8Y3t8+PL+kVF4xe0LFqEZmaANUd5Bj3WAoMbsMqJVtc2b/gy+hN rygy4wm+EPC9MW+c3+o4rWoK01JpY9ltON/y5buHiIJwtBZakFX5z7lUYwJ1u7a14CHlho56I3J FfshP80nDrP2bv8hHrF+6dNF27DK1EO/y8t/kxVR2UyRVJqVTQsnYu0m0W8kAAfnhiSoJDphrsj cbD65ziZDSWSqveMEOxELWRbFJkJZZHIrWqjOyDYgCGNNykKkp5VSBf+iBaFAbA+vaHjPBRS5BT t/jGPmtXTDczys6Ju+wqlo/HQx1faoC0g0qJ6V5FvI9e/ppxw2NeSM0exRKWNOslmtz7RiZKl12 2Dbc+nqv792WgQcJL9YrIhIZB8OjJcDb55peJEpYfq6UDtwGZVQDKlv6OGeHOdVktq9DajqDfe9 Z+voO6LfvMOtRYZ5T26yQ9pQz7Hszd1qAWtDwABDrZj3USoNJvSJh73HihTUYdl8igqXjC0Xub/ zQiK7WXAxasDocFupVwvi0isNNip89JhQfDZq0Km2H0Rt5MRsWo7L8bbUPPOSq5gEXwUS2CKIxV ksZDAccLXRKOngA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:05:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609676 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 167DA1411FE; Thu, 28 Mar 2024 22:07:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663629; cv=none; b=heZ8DxmKUqSr2NENizoNIusJ6O0YfDySGWAA/8kjojLN+7JDn2NUMd8w8G/vruvCWHteGHQU4qIOd+0+P4nt7SUyEl/oF6QrFveUB3qdHa9VaPPXb3Du1+LxCCeRxKJou/BFdpCaiBRItl+cguiAxFkHYJcE+tuHC5gGXVHzZA8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663629; c=relaxed/simple; bh=E1wNP0x2B+VCiO9Wongzl3US5X5oerxX0ktMb+ESJz0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=SNtUbSVMyuiRXxGN0mbaHENd3bfaT5LvH7LHMeEZLxUwyMdRYTYpIB8Sc/K2Ja8FQMP07gZMa6anx5slSVrc8XzjQ2HKt8MyrDAXYBtAu3523dfa4qPHk1PD6B+Q7u6tLDcpYEhL9qPk/MYEO6gn5G/yrADMmoiVeAMtaadAzPU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7AC63C433F1; Thu, 28 Mar 2024 22:07:07 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:05:55 +0100 Subject: [PATCH 17/52] USB: serial: ipaq: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-17-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=700; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=E1wNP0x2B+VCiO9Wongzl3US5X5oerxX0ktMb+ESJz0=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenJsELtoiGLCKxtXhuYoU3GNAX5SRtN5PeAv xdCbqBZTlKJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpyQAKCRDBN2bmhouD 1/jeD/4htcBjCBq8VZl6K1QIgjgbI2rHaDpeHBPPq/hGk+V+kNP/bXq3jFKZK5yH1lg+Zr3MGqm 5kb9hX+a9SPrWZ0eQd31HKiMLWmc5gv5SkrlyL4V0RfkzaT/K4c1lgL8Na8YYE73UpAbYhtd5G8 w5sqvtfMpTeCBDwHj8vhvt4tlPOT7M26GzJWONrbioXbatfO/3It613+HHqvA+VoTsD5YqUEk3d pwQCth4zU9NoTVx39k8Szo4gxQiVqlhoV1ns52au3DVwbTYJ6ZtC5sfU7XIBZ0SAH+2YDbAhC3V h2MTnSf5Xy4Y/+SM5V5hupWsiOv7RynJFUxl/LaCMzE2/rwyDb9fRvZjv7A4nIgEDcfPtoeYHiC kwwcFA19z5j1wuf80KtGb3XoMeimlgEOwA6Q4GNEO6JpyTlMSU+WqUmf4qBHcFunk3RDEnei3JM g2YnyRfGOJhFu5guF6ef+Etk90YaGZo9qjcKn2vtX486R4p7/ry06a5Y/csMi8DwbCFRRD+AwFQ oJyv5yWdnNY6CNTGW0BUgi+jbA5vNDHoW/QFSUoJoX9lrkTWR09Wt+QC/OAr/4Li5ONoTLIZFNk qJSimdNgh2/rdkBXk+X6kaMIaTxlLJvhJp4969/HtIMqLLnMk0YOz3F8dC41STwgJpqZTAmBEwg NvUHLjiDQYxZncA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:05:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609677 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F07DD1411FE; Thu, 28 Mar 2024 22:07:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663631; cv=none; b=FpXQD9F03e6zxVLWT4WFfyBnpEY1d+yKMgk90sxk1VItOOWTXFYuQqn5AzGCNNLpapc3NQCKezl0nQatKXX50YpyUSNcZBl1dugRbR9coNlaSPlTF9gGMAwxk4zEJ1LdxSmFx56jmPFkydhZLxvFD+6Hm9xOYw7ROO/Rj1A5sCI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663631; c=relaxed/simple; bh=+cC149UgTFZjt05huCIUXTgsp344khYTy+738S/Rvp8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=XTSAHP5li4KPSVJ/ALBIdtffPSXOnXVtw5fuUkn6Kx7O9kdRKEW6FdSD/fZ52YFmSimuli6HWZoaSF6hNa0Sb+idIF9lMyNxymtn9xy7xcsITv+EnCOoF7kpfmMRpQlR9SHGrzNTsQFnSSQI9CjacUbNfjfFmIIqy9uRftCgc/w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2AAB4C43394; Thu, 28 Mar 2024 22:07:08 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:05:56 +0100 Subject: [PATCH 18/52] USB: serial: ipw: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-18-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=657; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=+cC149UgTFZjt05huCIUXTgsp344khYTy+738S/Rvp8=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenKfcI6RdiYNMRzThQjkRDkrFeaxejTHvbGG P5BsbebjxmJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpygAKCRDBN2bmhouD 1+PQD/4pVsrmPyn3Q9G9O3tug5B9nm7BMtbzTO4A7GGUmAUER4LzpoNphuJhDnBYk13iZm2glQq m1yqpsn4RF+yvbfwDyPCoxE+7f4CX3QoAF8DjNIO4ftyIhfqDc3eZgGbMd3nMtt7aGRDGdewgI5 U1ojtX8q5ZjKLT7U0oS61HPtxpHwIqTgORq0r4x+6/oZk4jJrjdwoC0CpGKFNye6ZZynxx9qlb7 P0lNI5EkZhBEd4+2pvCWsFqJISKfwvxgdCmut5GpmpBn9k5n5n1cJed2djQHz5KS6TSBM953VEn ifv95GUnkWfFPp2w2e77/WDpRTRmOXdcZ+QhHFPKB86+I723A/m3ulUUpmmXK2Aw22QIwjCeUMH KnIK+uvN3Y/PQ+KjhWDE4/2cUfCXS/TBbTtyUNTJPIqj/+V3hzIb08AjStG6q7QQRYz98Xezr/E B9WeIBZb1Ugmb+PbsVDhAlGbPj8roXmLBP4xjgZ6VYvKrjMbyew66H/uSUFcHBhy67CLHehDqpD 6LwqeWb019JoGwwnZ7D8G3+1cvZ7W2bAn93AA4gp+WzhzX8hqOBcFXDL/eKTA4RQRwTGwiioLOo QsNAH+TvvoSIScK2ALUYUCJcPJPY4nVbmaNpyIQxtvROiailnjf2sz/JBpp5NA2F5EA8j38BhR3 fP/fFyFmgCxpCzA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:05:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609678 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3DE1E13BAE3; Thu, 28 Mar 2024 22:07:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663633; cv=none; b=jj6vWTrIu3+5AbdvkMwlFrzt5R99ZraUltSrM+bLBQnbiuk5O60zVt4h1+BjYwj0D8/i8SuthYnM9LN/fbHurLeuZMf+Ri9vy/inEyE1sYj3kNu3G+MvMU080gsKZ0tkqVcmF/j1gIY39wzlb5mhecz+LhPDV+M8O9V6Kmhvqlg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663633; c=relaxed/simple; bh=6D2Tzo1vEWg7Q1gpE+glrutUGUZa3SJiFRTsEETM7JQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=kceRB/osYwT1Bsp4SZWG+ODHytjvDa2erTSvV/vTAGfn3c03QRbj+p5sg2CvGaPDsRjQ/ty7EOttMCD7TjrzXgKpcuz1ykaEf2NC9OGVv373JurWrlrMBnxxE/EQKxehq3f1/cs99ahdvv1jQbsLI/PPeCFfTSto0MR0hS8OFR8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4D5C9C43390; Thu, 28 Mar 2024 22:07:10 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:05:57 +0100 Subject: [PATCH 19/52] USB: serial: ir-usb: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-19-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=647; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=6D2Tzo1vEWg7Q1gpE+glrutUGUZa3SJiFRTsEETM7JQ=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenLL7kTdfvlfwKgd4petLj8Bo9aDzm4RO4I2 aOU2RT7a/KJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpywAKCRDBN2bmhouD 16OgD/4/IlsFhobWtiLQDBymL2xicQH03g5MIt+6DxA3VCK7B87bdMqt7gpX7/oXfiuFfIp4MdF Q1YgNOMN2M0X9rpON3n0BoK3Ic28lYOkYIfEMXDPxLJTqNFLXGwN4A0V4mESd5PXxmpWvcMYTkO 2r8Pi3SMleTBOCvxxEl/Xvn3KqxhkEWL1fzFTNUJGr4qpqaIhPVOMZ9rXpLdBUruW4fdWkZCuIr koXEoll02sorFvDJ2HWOunH6e5UIf2+fsInjUEe0hkULvCnEaC+4D3z6x8G0KJNWPZt3oztIJu7 luGXoPPQ/YNdIalwEblt6MQzlKNP1uFjyHGr3buErd0MOQUPLvpoi5Ve8zILjKbSNDgqjxfs8cG Vd0OkYH9E+h0g0M8Cod2O+ykvRLAydIPd3Nk/C/oah/SOpDDNBFVBeljOvO169qjRKVURVEohGT RzXubnfEAbyHX+b2HIZu+i3/Tw7X37hC7xJdTyfTGC1BoruVHe9qc5SwxLERMPhCkSPFgkCFcul DDcMl0PQpvGTA92qfxQ1Ddb6A6LGVxZjAq1dEdqWY/zW2nagw/ES8Ss8P4ht8O5yAXkpJOEbutr sbVRCS5fg3LtD2t+bXS1VksKESnrjP/W20CPDy2UYl05kX83Q8YT2uSAgjWkETJG375SLr5/jA/ TH/cs8Sz4ZCAGvA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:05:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609679 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9880F1428F2; Thu, 28 Mar 2024 22:07:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663634; cv=none; b=aM2cEtoRpd/93EnYSC3JUPP+DkFybsGsV/2E6IdJjhXU3Nn1OgoAZm3P1vY89GMpwdO9nSkVZDuwf72Tw9VATrNpYtDpDGH3JCv1B9vzQcdzJaQxuEQOUtI19XZE8KjuiijfndBLrQfS/2/i8Mb/JDVtNaxGXPO/Pq53wLFjVpw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663634; c=relaxed/simple; bh=WP1fYPihaLOAcyC5JyqmHg6KPBQcrWXaCtzzWuOk2Vw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=SEl4YUaIoEpighsDbf3RxazQPwSWk5ZbqZ9xnnDqOHbB5O1OlEioI/nxYvEai9T4xaA2I/yRsjO0d1WLLgeNciubwAbqH2Vn/tLIaJbOkUuXu1Ea6s4b4tz+Ke/2x+GZcmLirx6HHwtJFJigJeyFv73beo+tA1WnFToYykb4GLk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D0EFC43394; Thu, 28 Mar 2024 22:07:13 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:05:58 +0100 Subject: [PATCH 20/52] USB: serial: iuu: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-20-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=710; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=WP1fYPihaLOAcyC5JyqmHg6KPBQcrWXaCtzzWuOk2Vw=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenMJmsVsEK1tHE3Lpjg4yT1WmGhjR3qJKhWO CP27HRbcqWJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpzAAKCRDBN2bmhouD 1w9UD/4jvd4vvfI3vBuXwlQcUcJ0XUCsSvaE2kkZFb8YJm8gRQgw2b9VAI24bgOjXYvi3lZ0m5L 7aM1DYpZOUDJCJMfrBSIym8uyVh7cUr3PMrEQMtHXpT2vUfQEd0B/XndgSLIb6O41lNEoHaRcTH cFuE7zTddWL32S19oGywKsnpNo21y+YaLE1CEmjxToaTZqiLjelvCxnatmt+xt9Vbz2NRXMWa41 9FgZtZO8fR+WyKoM0NCkZJNbHoJMyeVtkH7ZwpKIqhFxZorj/euzmS2gc1MxFC+GTGZ60MGxGgL OnBOOjJOVC3w1f9tf0ejAej3zJ7sryrIXTiR8HG/Obb7Y+O9uOm2+zqxBV551rsxfORq/kKaZgK EvlqzppzO6DBxiv8Kaz/4w3kNhR9g4ZfQcCL38pFBtLb2zp9ZupQ82thXca0zS/Lo4cFf6onB/X dG0PjNh0BpAcOrew0g3nrCqRZMnik3mlHR+Io40GPEfbW4Vb76AUuBzxg6SoZgkPB0oUF7o4wLX mHl5xwDhN3pxzzDqcOOFzNAPI9OYD61eg3ioNzpkqgQSoP50dltbMACc2kNMHdl5etVZ8mCxuxs n4sMUHx+yQdV46CkUGyyjJFGN9gKRNEc0x+C3teZ/vEU1J9n+15uEMw+xHLuxxJ9Ei+thMu+ibt 7RzeOCNWmXr6IMA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:05:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609680 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D9C7413B797; Thu, 28 Mar 2024 22:07:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663636; cv=none; b=AczDTm13h84TfgSnlkExRmhMaj+FTTWWmVeVfXBsyAGC9Muvf9U1h9xNjHt4e/fX8KxbYHWMYicwMKojvvmAqLmszE+56KGaxYcjvh485ZWNPBJWfGporgmZfwFY8sy+ImCUyGJGskfeU7KMwZQfSesLoslP7FAc9jLUZjRnfO4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663636; c=relaxed/simple; bh=IpGcYcLzgRC5PSJ66z/Lc0HfykDwMwVl2mxnZGyBrZc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BOCQBPuDcnzIEOKyoEEhyssCDGu/9+ZeNkz1iOhFebPn7B4f0VKbp6T3FydqIKkvuAAfNR7niWjhtwzv22SAEoUOsq53kFYq2EW4b3dGEE4JEDGJIEShpS1P1llOGp0RDbEZc03rNKzOX0xwpn7hvhN69SpsvIvmsBEoJGDhdtA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB89BC433C7; Thu, 28 Mar 2024 22:07:14 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:05:59 +0100 Subject: [PATCH 21/52] USB: serial: keyspan: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-21-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1560; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=IpGcYcLzgRC5PSJ66z/Lc0HfykDwMwVl2mxnZGyBrZc=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenNsDRM9Xi7pmcUW0AEfHCI9zbRow/dYFgKm sxF9yY/OeKJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpzQAKCRDBN2bmhouD 13o9D/9pXxP5Zlmy1jSD1QwEBL8SXA3jzQzl4P7YRvS+y2IYtWqOydMxTq2yUAIkIEeAHVb0TPm eQ202EaWDl5NKaLtr9QnqURunkFwuI98KKGa+0J0WtjM4ynSToZHOxPQs7VMrTXZkDNiSckWIm9 THVYSNGz/uzzjIFP9AIPtMwCnyaS6hncaLCgT1lqvm3b6yzSNMsg0Or+SMspalhIbQX+JFLqjQV cjri1RJZvqQ5RZH5g0wiWSpu9fHW+dBq9LsOANH9wI+DZnwbZhix8JohaWDPC38AqO6OtIxQ4Xr kXggDuJKemzwAs4pA6Cypd+3EaRpc0UllMCOjax1K9cr289gP1ngIjL4A/tsAp2vfMRPHq36YXz EVoHcLrv5jRDKpxLj4ahbDVl8Y9ifm/6Zz29UBQirCqGQIsGXwu2uWodsYwWPh8SvC2vGTZxxFr IjNPn3o1ofMJ4WVxpzUISLVMfqYYaq8c58o/MmOiOmp2kchww4h8n2z3ACaMok9KLUxd++fwoSg 4Nk4U+se26gfJFalXmgFNctvkKVivCA+4Ub0U7jbU7Fjafw2DsJJumwDSzaP+KFHb0sgppj6p7l nkwwupa3C0bRdyv6ZKbRLni9JnCasE8DVunMksYmb1jyPXHHWFiog+9OSxjpzOCcYeG3IaScmM3 QCw8uBIlTc/V5SQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:06:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609681 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D0612142E9A; Thu, 28 Mar 2024 22:07:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663638; cv=none; b=jap6XlUOs6b11RJuZoQVGlfcY/ErvkkB4pOvNzrgybuVME0LvoxPXWC4OUeT7futEgnPsymSgoJE2WnHqWZ26x2ZmxbLdGZdH9+lNXbyiwJ5PaDg1OU/xfYRWLjMv96y1EWJ+RqkEz/hYo+aPLjzqxbl54dUa9TZyJjA+jWGIPc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663638; c=relaxed/simple; bh=kJwqN/B5veAWi5YByji0S5l/WZBRtVtHv9QCCLIe2eM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lccX/A/rGNvwnCR9+OMx/+uLbp94Pn+mN9w67qQCDWmAIFsyARAf3yi55058XFvJDg0I4iMaS9HvqM7cY9/z2Bv9EDkOnKStWaip0XmSxJAHRR0HhIWtaYpQqg2sHaMYd9m11HxnwpGO/A6nr5Z9t34n7P7TVGIwq313H9MiHxk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E9E4C433C7; Thu, 28 Mar 2024 22:07:16 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:00 +0100 Subject: [PATCH 22/52] USB: serial: keyspan_pda: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-22-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=999; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=kJwqN/B5veAWi5YByji0S5l/WZBRtVtHv9QCCLIe2eM=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenO42jSl3rC+kmzQm2zOeueBUbqWhkXDtfJH 2ZSUCtTj5WJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpzgAKCRDBN2bmhouD 10VgD/9ogxbvfRz2uGx0FXUUQ8ryspQkraSv13gh8FjV0MjdDYl0ppnQuQcKWG6l+RVlSNt+N42 u4kF+HUjOL+JFmohV3kqeTCAuj9uoqm2Po6O1009P0dSL4J3UGQ3lC6xEYJqSjyvDytIRqz8OBw Xkd0TV3wVf2xpcmBpVHpRlJ+myuVIPrmOEwyP4TTfqp2RBBbROFa3N0bSzdvb7yru6uwC2a01Oa KiBLTc4q9EQ8nyHzuDO5clfkBCPG/u31N54cE7peeuwi0NQeTj4H9csXasTvAAc6pm9H+5gV4ob jWoDTmURKWDyWfivuOMXYi2rBQJwCRwQvAQzYnLSDdUXrhrh+dfzZfZVe2kvwlREpqaBiEjs7Mg dFIwn212rn/VtGGwHquYoRzSyPem72aR1NMpWnhTuZ9LmvnUrgjXXAwRx5gns/+OiLRea/cKACL cdE+PHQFStwKTI8OW0Xk2ezOw9+ThwuNmXP525nG3H9obtAV5O/mzxGsEDedcoJDfej5aGRrlKY Qod2d9z2Hent1J0kn1n0Dvus4UJyqFAybmeYxI8ZIF98s3ZKYEwVTpqp/O+QjOXqmq8Rt9Yh0eF PXluJZpBDU7667ePU3GbsLFlkhvY/4el4ih8uNUp5IRXAMQ6MBKOYBB4i3F9rQwW/QM2kVqBokv XliOKLff4ubQ9Vg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:06:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609682 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F219013BC02; Thu, 28 Mar 2024 22:07:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663641; cv=none; b=q45fMJQA0kmfinQdDI+TrveDjfaaq31x73bUnonYRKpIAgy7t/H+sbNLg9svAg33t2Lo9CoyBzZn6a1CPw2zldhLPl3268KhQG5H4icwvAo4lilKESfSsOcL/zpoL7FyAaP1JElbJqRVF8j1+cAxHZtIFqzmrkd0nCGWR9ml5zg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663641; c=relaxed/simple; bh=Iy2/nIEYmqgfbMhHUyDOjap6nlukPpnP1yviXS1LU6k=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hNoF0mVn2TV5r0J/HGuRyv9byAuG4xXK3SZSn1tIEvQS0HnJ7t1yhfcsMWuqrv7p04j0Axvf6dDtHQPEE1zKw80ZVMsFU9JY9mUO0h69UBnwSv01ZQtMsDscJ15LQfXsJqzzIm2CJw0sxFCbDKsCrAfF6yLEQB1PAI4IPtQ/aq4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B83BC433C7; Thu, 28 Mar 2024 22:07:19 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:01 +0100 Subject: [PATCH 23/52] USB: serial: kl5kusb105: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-23-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=695; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=Iy2/nIEYmqgfbMhHUyDOjap6nlukPpnP1yviXS1LU6k=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenPWh89LXXSzXdLMXjF/2EzDUFGcKncT1ydj d7qbnjYMGWJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpzwAKCRDBN2bmhouD 18EKD/9HFtn85jpXcTAYgEXI5YU0OIPP+5ibrUvSHmC0AdkwmhbpI7j4KPBGB5xy0ZFvPaJLPL5 99TUn0v7EdaQp2HgCyOypiDNc3mepAmmQBdAOQbD/7DCWBYhnGBBH5JG10TviycTe1tGL49adtI CWcB21tGICq9w536Z9VcZCyjf74LWm5Xgkdpv+Vx3nbmJnTae8PhDIcqYAvrOa2093Ppp/wSDs1 T5f6bjbhM6dWit69BagVysDThayZJUc0GZKdTS2G751WXYVbQR+isqRZKUKYxIDV/MZrhS3+vuN CLq/pL6J48FlftbpeosMP3YjKEc3ystDA2trOtdyhTgV1FkEuCNH+1RGXAM0JVelVPXBhawZL6R eKf6tHlAuQxvHJgQGLY2PGWJC6yw6o63jNTsy9FFZP57PIUTp7or7AOU9Ob4lfF1d4Bh8GmSeo6 LwAYhvreq2gU8LzT6x2jOC33sku4eYYCNIePsh5KztqIl3dXCLJcjX9TsIC1t7ocIeckecGx3/c ErCOmjww5+/CV+WNW65O//zdzjlD9r/11qixbgZMLBGi0CiRt1B8xCfCrMOKonyOFoDdlIXYsuJ iVvajvai8Ozfw2JsW+o7tZxIwdjOIKF3NZezhfqhILCONGQq9PGwuoccSI/TD/1Ac6WB4PpFN2R EXf1sd/Gyq1qsuw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:06:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609683 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 46DE813BC09; Thu, 28 Mar 2024 22:07:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663643; cv=none; b=M/ELK/4hjEcQFzBR27ZK/vHseG3uHg9x4oGNYUSG2G94eEDPAGfgYBtEcYvREI+4ewAkIiZftQQ6vi+BHSONgDzTdW1IzOV7a/I4r3fpzPRgMmRx4HClahu2GPDBQZAGEhGC7yunXkm4pOzSc3e58tlSo28HPTzMxtEcW9it2Ek= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663643; c=relaxed/simple; bh=bH3mJzQHi6eJ2pPg4eXL+fN80tx4duv9X5OGbAlhRac=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=TrBPsln8tod2DYjwotK0uwd5ciK3bRBN9skS7HdyqXwwtrrs0Pzgf2ioNvssu1o/+jx4u31NVHGKWVVuhxUk711wv++Yisl7F2mWerNNQnPv2Tgotiwd5q7PNGGBC+TKKdG6V//dWFgdGm4L8kNDwrWHVmgWHJotCBV3yTDpWKw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54A0DC433F1; Thu, 28 Mar 2024 22:07:20 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:02 +0100 Subject: [PATCH 24/52] USB: serial: kobil_sct: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-24-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=682; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=bH3mJzQHi6eJ2pPg4eXL+fN80tx4duv9X5OGbAlhRac=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenPG6jeiFt1bW2c6nkZF1/O72B7v5Se0H7bx Ml8wPuKonOJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXpzwAKCRDBN2bmhouD 1zaxD/9TYK/8dAh9kCX24LAz7dDQgnnuMcoTR3bPB6e8L/2ABx7POpfEKQAR36QsdbYtFMSzBOM rejAmgj/OQi9kdeTvTfht/v4mF8kTddwHl1Xs3ZwB24Hh0B+yJY1he1o/Xf38oNI/BXy+cIFnam YEpnwW90jw33hMl/j6zRs3SNsloffGX/pSP3Kg0ACeWoOf2EbB3u6lu4ZQdlQVt3dRurlL2L85J BGwrSvb9vSPmx5hReLTQP8GgHQ+yEtub+hkrOtBo6J1DAbN0ZJOw6kQ5JepzFlF7vl2fGnrmEdp 3YCmsu99SVeuXrqSFbhtxmVfy7Swsk3m/hcCeVMMhM8JqpbIKVbmLRKC1gydiXN1L8YUDUvWot+ 4+VIrA8AlQQb8YpP5IpAOLOYmsoNjXGPnF0vV69WBDh2u+hgxWEv+RR4qpsKLmUnmx6JWWc/KQy ZlSE5DwLeCEZ8rP0aLRpvfuL1WKavnKGqXhNxFyHVEpDLqEG2LSJ7vE37d//RuFFpFpd5ebRZPP YVfhz/DSP1kNlcOLYe6wWcyo1+ypYAVyBLCDFIXf5CWh+mkCb6NT68/Qj/OhZuEhkI+lpLPSYin EkE27HeGJ83ylVA+EeY/rm8DQoWTvSOSvtzPw9dFJB88AD1IHtxeklx7aYrYXZmUSoOqFZO7vB4 P3XnU5UpRf4QzIQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:06:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609684 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DAE47143C6B; Thu, 28 Mar 2024 22:07:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663644; cv=none; b=Tere+/uXUuv2gIXN+8Pm4EoMyHNTDjz3MAMRwkVLsjT+5Fx2Lv6dlXIjEtr625TZooHYKjuRvgqe1BFJ6U2cduh9pjXi0WMGDSJlVGDQKVqAcKzj4Z+jUhk4PEIdRBFdqLHVfJ1Fn7O/tiXfrfd+RJUHjQbU2SImYcDKgjwPAdw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663644; c=relaxed/simple; bh=exKzDOUySrxB6eqVneVDXfER1zJIVlsAChaAVBCcwlM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HwSO/kvXfaQGotyIRbSwntiAy3gkNJBKRCdGSIBcEmvLqYCrF3rfw/cOb2z6lGe3WdWAeJV2G2LyD3bXqwTj2RH5g0jb8V49YVqItCOPPqFA37233eCkgLCAPc8YglYgyLIEPcd326AEx76XkkQbW7Jdz8xclLICsEg+Q6FVQJk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98A30C433F1; Thu, 28 Mar 2024 22:07:23 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:03 +0100 Subject: [PATCH 25/52] USB: serial: mct_u232: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-25-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=666; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=exKzDOUySrxB6eqVneVDXfER1zJIVlsAChaAVBCcwlM=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenQw9s57DHZ5J9WIYlbyQgCNGUSNcmfI4L2P XFFR6ODLs6JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp0AAKCRDBN2bmhouD 1+ZfD/9IBbJKjl81rJrmNTiEM1B6dtXkfdpedvlJTUGycDyNcVy7SieApNNeA4xFt2Je8jMESLJ HELVMXFn7lQhzS98kiuM1mlaYVLJ29UuIrvTVgnPEkoc/KOW3oDCv0CWilbdqlAqgNXnCzfAflS d84AeLt5KKTWAa6lW5vyzFLvepIvyxrZTafNySKvM3Cl2I8JjaVE9a1T5DmUiD9HJgchRgEf7KK SIbfoTf9vueekGyvqxKPXp3vrkvvPX7BouuLXzHqBYN+L7yMBv1gossogKvz09FKA9mqNH9X3t8 oYOmdd2T9t9MMzMGea3iN9Wara0RKK1CoAELl+dmc/4Wg3XIXOTr/E7AgMYNfYa245wHLGO41qU YImYDa2bwx5UOI5j6S1ss2VJ8ZyiiHBELC8oh+fGCoSsMvZdGNrhdMTb9jNG0wVKckccI1GZcoq EsHHy3ZJM6r8s0cEBx0qDhHNioJAEFquqocmvxWdeMhfkqGtzSGjR14ENIgabbONroRWqcpyOXG WN6G/keRVos/w856qh8IoqByO6eqhjBa8wYib0/bWkjp1KBHx59j9DRvV1w0LLOWuko2Ut2JsDu cktrtq49AJLBql0DE9+ay9Gtd1iL9+KnSAgGOyK7+YwmTUul7bS8SUL0CPP40bwInaKzsclbErW VUhjLLbcFSbRNyw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:06:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609685 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EC36C13BC0F; Thu, 28 Mar 2024 22:07:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663647; cv=none; b=UiA9zZb9Oq6cqaMshwV8OxN1eG32eZ7F92Pz8fnc5igcPlpRly+6icWvm4WZzHxo91LumVvIuk101BJewX4bvlk6vPpCygGEZ/WtgzT31EQ70JgdyFDyX3cwE8ac773f96gpwDFgPENfoYy6boaKB7wuHOvWWEec9Kh3PAJTlkE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663647; c=relaxed/simple; bh=J69GSGSJAO0dn043Y7UYb92aFLf5KMOkdW+17znIiQs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=L0XkHLzXhQJTEoMkgaglU5phJMDMnWSPMd4/0o33YKa46xKnYeN0TE+icgWJCyvjUDSOP26iPqiEnkL6oS7jMuqM+b+DAE11505wnXz0bL1+5r9UEwH7rWoh4QtOC3D/6Js9xYgxAnL+KWtRmYNxuBxOVmLvv6AWmugi5gUvdtM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 45A29C43394; Thu, 28 Mar 2024 22:07:25 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:04 +0100 Subject: [PATCH 26/52] USB: serial: metro_usb: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-26-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=706; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=J69GSGSJAO0dn043Y7UYb92aFLf5KMOkdW+17znIiQs=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenRVI53i6I8Ws8TlnoOc7thMDKNTudaRdxQl UMJBZ5YEqWJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp0QAKCRDBN2bmhouD 17VYD/9v/wf1iWoQNLH0Xa0IXKCB8CAygfg1U1jallplKgpNNz8n0BYoR9I7XR1/TA8XfEohjZt vOJV2rcrfJuiOPQYMpTccLA/TOsPtz/iZiU5skb1gYs/zXZlKn6KXsPofpGNxafKa8BJatVZyWD TTX9hDO78OCDmriNUznFSNUJXAaaURT6ES5o/n1QSwKhSA4idveE8Mbq0NPDO35aFkqPfAqpohh PorESmJQALsOXzwUzL+g8Gwx/VhDfxvvRts5WOWao8BKbozffDmw9M0fnWy8ctPzMt4gSWxe2+n GJxXXLqehThlZjMiMYR5hCIkFJWuKInUU/tRxw6ExVh8456tzSaaySGamSXCyyrwAkKjb7guksS 1PrzoDs6ZI+e+vdCvNRsySOD62EucvsRYnVRLVlA6W1LROzZ7tmQ1TznqJpvuVAwnc1RPlT+lfb 18GeZ4hCV54VoTwL3zfapwYuatfgkx3ykvQKU5R0r1SNx7BDQFdqcPVsv/+VIrFFAWvLF928Dn7 5wfZi0cueWw7GLxlLA/sGZOW4UU1t3igI/mlUIBmA40PHw0NrHGKzKqBbW1XUEsM4JYVFn2f/cc 5PkbonS4zGL8jmP2TiYy/SuxcfYHG1akGzGx+w73H4oa29Vt36vRF2rSHLPnODM7UMv5BYTDghw aD068qn65bm/Prw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:06:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609686 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 62F9713BC10; Thu, 28 Mar 2024 22:07:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663649; cv=none; b=kcXYtrnCIl40nDuRJASGGWEeZlLgMARvtgsxsfBLaF1umhGybFoDPxeJ0hp65E/yr/ORD6poXBcjsdBnnUcFX/X3acHhizS4chE3JPQ6pIds6KwveYtFjjlzQnyOFb5NzTlAy8Yvh4Tp8gRykdJ6URX+1W2hKhqZ+2FFXUcl+So= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663649; c=relaxed/simple; bh=WOr8Czy0foJPhuAzHIOJ3j+HXPc31DBymE3EoC/5kd0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lu7b2uxpwHct1PI0kSvMo1tEeKRp2i3xN/WlVz2gvCB6YSU6gGlpUwUP/m4khCTLD5JYZFhhOmNwSO1OjuSIVqYaysO60Et+XjyXQvkByxtSjXDclwei6iH+Y4ZPcq6RX7B6qHgwiIbukN93noLd4Q6cLsu5zZEXJyu6F6kNL2g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D9A2C43390; Thu, 28 Mar 2024 22:07:26 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:05 +0100 Subject: [PATCH 27/52] USB: serial: mos7720: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-27-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=713; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=WOr8Czy0foJPhuAzHIOJ3j+HXPc31DBymE3EoC/5kd0=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenSy6CwZmf4f0/zLxLvL+SLMkrX+KOXwtOoE +gtix6RDsCJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp0gAKCRDBN2bmhouD 12WUD/43VjZEJZLb9fa0i2QenQNcDDX1b3QU/poc5mvhpstMy7TKOGV8qY36dwMk4ggO6NisBZ7 Zo+UjENt7mwa6Mi8rDzbg8oqIIOfno+GUulv1Uf/SQD4QxzWF4UgZ4RX2c1Lxrkd8KFQjfl1NHQ 5/QDpygnqFgS43xF3Yqp5/Rqy/VgkgNfOKZjXeIp+qved0pKS/N9Zm8itLCcYpuUfMMwxLKcGUo bAV6A4J7Q0MmoaUkqMkj2zJmub8YTo/IzGhA3nwzAhhCcsq6PBjIIcHxjawuUhQHL+tdIFHTLsN SvEgmJqlwQdRJPzs+TgrkWFB6G/o6upl4vOGJ+6XagY+THQ7wKQMIGkGiugFxzjsq5um6loSKOa SO5xT/xF33Y5HvwwUGnMHwT8gSeUqGxMGczuMbOGMcu36tuLqeMZS6bJBE/zyetHEHR0ici2COG FhYTCYhZBnoNYSwfwEw+MhGqLsJypG4m9oPM927l/PnzdWy7e0fPwMyaPQOXu8pjruUNDstja5+ WTxO62tLNDFNwKlSN/9/FrzYqhdXgA6Q9YCJHku1q+7tJrrN010CwHl9Y3o0UqYV7tOJYrGGxjQ +2IK9gmiVaNz/J8hbbji2ubBhfhB/XS1a15Q3fjso1Cv12AWpXfswXKvcq/+45ob6ZxP53AqFf0 yyrMuIEZVcVgWdQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:06:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609687 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1F9751448FF; Thu, 28 Mar 2024 22:07:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663651; cv=none; b=cK4W7/DiDje9njX5/ffODv5zTup5PADHoGb5Ug3fxeZHaBs9IoUzDo6WCOZDVKd7oCg/6YxJw/ODli5FmPUWUkT3hwZLsFOnFRFPyqeKUln+vXkbRBFmjeoICtr1Bj1l4ND7Yj6gZQqTnlWJe7tzKH8Dsj1LmVnT9X/PmqeVDWY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663651; c=relaxed/simple; bh=63JQIxo5ati836KA0JjEZkyzzIzrCwSP8zMVj5GCA9Y=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=UbUBcNo3dqMPPzRTw0lO7kKU7ZQSdb/0IjihQHI/qC99hn7wr0Qe3FxUBAVT9LYHkJYlLfex+DfvRNu5g2nL7i3ILUsBsYuXY49TvuJMopIidNMkJx7lAqRvkBFja9IKaEimY2ymhXvvrZOZm7Ja4Cp9GvzsUcmGPMfeTzo8D0M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8206BC43399; Thu, 28 Mar 2024 22:07:29 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:06 +0100 Subject: [PATCH 28/52] USB: serial: mos7840: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-28-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=704; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=63JQIxo5ati836KA0JjEZkyzzIzrCwSP8zMVj5GCA9Y=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenTAxzmItIFKn+vW6dIQS8TE2OkLnrIWGGpH 7t61Bckb/iJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp0wAKCRDBN2bmhouD 17zLD/9FJVttt+gZY0mDSLwZWScCRQ/1L3ajpPUqRf5l1T1JyyFQEq5I/eqjVxUbMcu7ZTS2lgO leHILuQTxxCvE5dJ46UsMZrxczuRCouqswTsfaD3X+O5drjTbkFd1sCjHLmuKZYy0JN8ZbjsEoM Mj+Fv9uUvoGiSdbigiqBYDQNOM8gXtw9aQsSa3MUTB5RIL1xHWCt5AvB3hacpsOc5hB6WyVv9IW +zXSd8nDTv404e47AzgfgrS1FownCDrkDOh4Vc0xqRQd8a1DAc0deVvnXH74KdvaDMR8zO9//ei bnP7ksx0wVdVeLLtzOj4GVO3HK+R+DLYZr8kErDlfZoAbs0P4P3+6O2Fvx9t/+HKIGDspMciiM5 qMTsnNJJFf5kXScrvidVqPo9kovrVq01I12TcJak9yGE7NX7VCF3W5Er/C6Lw9biwL7aJtvmWyr szcQqIe8pW8dao5UUhOumcCZ41/yNDizGn3kTP+KLS6UO8v8PlwmpFawDdnblQrKx9G5JQ8nA9L 2Z2LSh3Bsdpo1AMa3NSwGqevyLrkyAQFBdnL3qE7P6y1IKniAHoe53/rv1qvJsPYUEzFP0+UEdn TE0TOr8crQR21/bZv2NdzrOIY14UurOXoTSpvfEIDhOCpYQYC6MxZNobSp6/EurxcpqblHJj27M 0Aj0hoaUTkNcWrQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:06:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609688 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0594213BC2C; Thu, 28 Mar 2024 22:07:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663654; cv=none; b=QKb10GKZ/o7guAHr1IBs4PXj2SgOwY/48MJr8IR9ZyUVYZiJKNuEcJ0CsfciMwthm5h20PkDPex9c2GnygvZaYq2cz8L57f43P7KRUAb4s48uzDKrB1TsaB098c/696t+mzAp08K+VYrmb4Pb8FMNn6FOdeRHZ6XGCKDzxdWasI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663654; c=relaxed/simple; bh=dhKId5uKmWwZV0wLbZRkCNNADvFZWOC144SETj8Vbds=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lT5EesMIQSF/eUEjq9gFUc9sidSjAWg0Dfd787qwVShNBmyW15ezSeyB+6F9biuKwZBYZN6zOj2qG+n9xyYnDeWRwkGX2xPLoNSw5TEmVryvMnICFd+GluZlDONRszcjsroftKVyOPDmYW9WR1OLUXaNUxXHJqKiH3+BpfGZzDE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 79F8AC43390; Thu, 28 Mar 2024 22:07:31 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:07 +0100 Subject: [PATCH 29/52] USB: serial: mxuport: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-29-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=678; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=dhKId5uKmWwZV0wLbZRkCNNADvFZWOC144SETj8Vbds=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenUVowQakeifdBbPFrxnGbC/9XECBIdZlX14 K0B4xzYLqeJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp1AAKCRDBN2bmhouD 13MaEACOV5Ga/zaIVZIZuK8gSA77Nmjbs2j80yFM6sExA5PWXCFsG7xx1Xm0+s7JToJA/dBe/kF Jgl0PR07cf1M4BjK5v0rsusGUWylMG/LZKt0Drd0iK5uDvIoULQJhkA/OJbLd2L3Dr78E17v8CE Mt5PUO/yNPnFLYThyNiLEAv5Q3Bf+F9ZTBpvWLEt8bh9UY2yR6ODJoANuAV/pTIPJnJFmRHEpim GjPMFPo/ZS4c8kppr1tRwjxMwzvwEG2hroyDqSFDc4Q4/hGdOi4ZMBHK9W94W+i+Dr/O71DMNpY 523mK1I1ObC2sRtFNcXaAWXbrqytBCLZMicHMDTOXy7hwOPMOqRJLUR/94dRXFrVPhwVx85rxWv wxgjPYU5UxDiXEUbdt/KVDqbCyvLnqFgrwgaFXhAhKu8DThmEBkk3oWNfBvLXRripaYtNN0S2zT ITUUqknVk+YcRt2imxVOD3eB2anas90vMl/QEXKVwBrFL5Zvxm4zzmnxj05Jf7puQUZNIEaa1K5 ZUwvfdDvo3CGdfeeRWWpOzzPrcH4dpu7E0Ldi1rmN/9Im9StMhIzzGjlOKUnE8uydZknzbHp956 Z79NGq9dnShoFnZ7rG0SEGGgtOv6kK8ejo4MSyZmRpqspW7/ilYlRfyxT3EXkEHOWbvAKNhKUqR B6nOvUuaVq//cKg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:06:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609689 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AACF112FF95; Thu, 28 Mar 2024 22:07:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663655; cv=none; b=hp+YiFmJk6a5MbXFUTi43vM5dUA+xCR2QMgym3ClBdZV/XKwGh+sdY4KTsBUQwbdDVe3JsOt7v46xsMrbLOV2ZQhXNy+4JBhxdF51u4DlKMQ/DHpKHP5/FDD/lnuKnE+sxN0vNA/NR9jrJHkMKf3cfZFEmsboACOcW1y5hGvEic= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663655; c=relaxed/simple; bh=R8aVkbaePRyyMH7NWkmb2YcbGr4+qe0AXZpHnNzJDEw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HBewzQNsquIN9oUA5AAl1krp27kNGfesTxwCFhTcJWi+E+ADY9KvF204K2vafwYdste5AlW9MjCd/REUvmsGCccZlKgbTRRSZjEU5frVjQVV/80n+Uja3Vd+6IP4jfa+fs+2ZRcp/E7OVBYwan4l9tHkepFzcYmbp9nQSRIUjrU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2373DC433C7; Thu, 28 Mar 2024 22:07:33 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:08 +0100 Subject: [PATCH 30/52] USB: serial: navman: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-30-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=685; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=R8aVkbaePRyyMH7NWkmb2YcbGr4+qe0AXZpHnNzJDEw=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenVkIzevupQyno7SIR5K6zypjwhwjz2bQs3k g9DFturXU6JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp1QAKCRDBN2bmhouD 18kvD/9SRh7wH4o2PHD2W5SJ0KpeDpbRfaY1RgcSdX5lWDiaNkOaFPDLhMzpVQPkvsB48q8kn7g iXxEIZU/GSnkrsQH6/ZqaTIK1ifTiMKGqLFEn5lD0KxKDAupMZ4EB+LIrwxZH+DoiyRxh3hbm5k qLPcA1rXws1tsW3OMmAw6yZbpLDETTT+MAHbmSis7iyvYo2XGFjeYwXKZjeXTYCsEEx+AZesg/4 hSX0XSBu2awQxRz6KiA6xLCkUDGngZTAKx6J5FauM09gtUkV3sDc6PDjs5aIwjddMlB7zFXzJoV mfb9yWI4FXLQHsJiZA2l66JL2GqWSRJdcd6sunv6HrV3jrhxj7sxjd/56C0+sreBruK4eHQ2XUb FWnN4SESbYmuVnBhl9AirEPwYR95uKL8OzWKo0d+hXOWovwKlGbYaRjldEbIYghyO/GVPXkHEAn os6mbv4cRxO6RDAwQDFJtqV7azqSpNxlPdx3y6OT9wUkIUNTwLvkfz1GchH+sya6KvaVo5qlWvV CDwBlBfwn7ZmeG4fODwrWCNwWTRHT678ng6r/qfsUO+DJ4YoIEJi/A3NH/WOVqtSsdqO4Wox9QT AKM7HOR3oK74r/k9mdxa4kOfxIxs7UGLryNkxxokpdTSXtrvgejz/quLW+Zf0r4nN5IuN3XMe+f 0qhtfvDH8TAhbOA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:06:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609690 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64BE312FF95; Thu, 28 Mar 2024 22:07:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663658; cv=none; b=P+MX8ScY34ii3jGTchwlhzdF7BlGh7y0AteOc87zjDLiQiTIGds3odvNfqSFxNjLKYt9PqgmVkY2F+F32GzUZwpR3V63u9qZ7D+M6gy/mWl519/N3pHrfo3XFmCO367HANbDk6fJpXgVBL9UUM7E2g36h4NvvEIVqccWhSKoJ2U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663658; c=relaxed/simple; bh=scoeb1hRYcITW/jA/Xrd1v3gR/9o4O5JKMR6NyR9KmM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sYv0l9kEmmr7yccVhzPy6UGgs5Dz4+xCZeTW5xKdltUAydfXtR1G0a2zA+bvrtU40l6cxu/qR6gz8mAlEoKMN+8gzNo6EW58rIE5lbfa48x+/PPwz5qfV4wBguMXOREJ16sR5VsyhXnVojw2DK31CGBI3s6WnD3IT9H3Xv4uTww= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41440C433F1; Thu, 28 Mar 2024 22:07:35 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:09 +0100 Subject: [PATCH 31/52] USB: serial: omninet: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-31-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=673; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=scoeb1hRYcITW/jA/Xrd1v3gR/9o4O5JKMR6NyR9KmM=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenWkDSZCKOBI0ifuOUXxNH+UokEosW9qELBY PjrNgdysSCJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp1gAKCRDBN2bmhouD 1x/QD/oCapB3utks2AfeX8NdfnKWm6wCCWjoruHmcmuf5xDWvoX+L8DXhERmwxrgsBLHqUUS+Rv yskVpv28kD/2lN75bl3gidN49CGN5ccDZS0ZaF5gO4rDH7hbpXLNmJ8Vl4bizsMuTrWIdLqK+T7 Re9x48Hxbaa/Fbw+LyIfPk9oB1cRd5CR5/B7C/lgZf8Gm1wDp/VAGvNBKN29GsL56qJwf0NLYKH ZzbWnbJdywocRFj+rSzZBYGn2/W+Cew9kzUMuMHIyY3VKY/8zExX4pHTDAbq+T21MbXDCHVdP3b ind8hIR+zVRVvziGhvACq4hAzzklMBAzZD8+NZtChY/W5nbe4KFMkbMZCpGf16l3gj8ulfryJoj 8hymcKd6sUMshMfTFBx+3tkJSoVh/WFm+OGggLKlD8EF95GQSY9FOtNOaWg3ckj9gVGapNRG3tq rMifeUZ3Q+MWKoUEfa8SWGvOy3NLu27o09x+CGyu2atnpQ5mp8SWlMS81QpFG1JBpnmjT0PaN43 0GD6lHOPAmTQWktO0OU6pCGGRmo0i1Vu8NFx99G65y805pPgBK1El9o18YZgpQ58k1cHbRhu9jy eGztPEJ5NsQ9uT81TjMPggAnALYvlhrDBkjmbTaukJddN9LiiwYIE4+4MOtir64E1N6ebm95RxJ mPBGLa0RL8VGvKw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:06:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609691 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA201145B18; Thu, 28 Mar 2024 22:07:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663660; cv=none; b=vD4gXc7I6eWCSrVSqIRpLokzdg2xxIGPErNxO6bL3tRxWOAj/UEu4wXxnfSHVaacnu6+DhP8aI1ivnvX9+YDkYCi4NrUOJiQv26oig3NlVpEeZerMd5eBSd0abr/Hkdgyw+QEbZfYsFEQcwvN9jZuYoJepfdFonHd6eBmM3dhUU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663660; c=relaxed/simple; bh=LRctIqyTEwThUZvMjgFYFi++ZZSrS7HQe7DXt+mTpok=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EoaPfxF7iEWF2yazRNOPghyCeysyszy5gp8zUU35XwjznRe+nT1hRqjdABrk+7E1VPNtyUtC5K38NAOxGLPNpXL/klLcKO+eUMfNNxZdcrmGQbiZQB36LQqOy0VipGQk0rcnHA0cn8OP7Z4eA9FhnivVnOIHWd8gA+Yo5lsqfA8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8574AC43394; Thu, 28 Mar 2024 22:07:38 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:10 +0100 Subject: [PATCH 32/52] USB: serial: opticon: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-32-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=678; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=LRctIqyTEwThUZvMjgFYFi++ZZSrS7HQe7DXt+mTpok=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenWXp5/Ai8WVgpIFIBVBg1aldnsv3WDqQitD jxQrxlgEPGJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp1gAKCRDBN2bmhouD 10EnEACXys7h6QJLTa65XVerAgW5/0DAsfvBCsFn+ZpPRPExQrFmEoCopnMsKVvqY51MFQlTvHK ljafxKdwwcg7RY4V0yua6T+xcXPpuVCYI9Nj3Lmpvm8adhuUpavMYr9ETp28E/RPlSrrnaur7o/ n0Y9vxk53KH0hxWG24S3DIP8VMGDLXjrV9Jk+hkquxHk94nAevH9tzG39X8dLPPFjmHUR4j8005 1Xrz9TG+6lH2TW833CFUGhbpG3wWN6KStE8EN/JXJ7mT1ij1eiFrgrjiuQXT5g2t6LQNJOGYsOs z7H68wau9EWKTx0XwJ2xrTiLrT/WrKHaqkejAOE2yiKloVhMQdaG2T7k8bOvsd8QS8UT6MHKqXR 8wWkKpV9QOWfo7XM1GSDbzO89nyA9FUcCoqC5/Tnzi5XKXmyAmB7IuEGNroXCKeSMz6efNRsEls TUbgSWfqXlc2SXqQ1oESwoXZE+Lw5+zdYdfzft1CMEAw9gZ1wrdUzKtBmv34MZwKEMk9akLcXoD JAHcSmifRxKiPCX7Q3CGOg54aUP1oT/zF5weKvpK0aWPAGKdKPl8iMxtTDc5QNeh+kC9yK7g/is fwztziaIlcC7WTlxA/oWgI+59bZU0de10/VtQSOJ8WPP3kFGp7obvd6mGewt20nseF34W95L1yJ 4soLUIH238HtN2g== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:06:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609692 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8C771145FE0; Thu, 28 Mar 2024 22:07:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663661; cv=none; b=pUAW1x4SjmBqLg9xrxS0NXU0/z6VMs3macfZZ0+HlvkJ1ZFbrCkKysZj3m6U+tsRWqd+TWUbIMyLOkqFiUA60Z+ayqwjhwuCf2+N4k6ZQB1hK1V5nrN48/LA5VvrIssIQ24LsYJTE9W3cD8RgLKGqblrz9ScDZcjCMN9egFZZKs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663661; c=relaxed/simple; bh=nxoYLEe/N6OE4oKhVnw0IduSefBP5qNPPdhZj4nUgv0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=cyurSyFZpBkWoVSVQe0lIwmUlGZEufkghoMg6T0FAkXGpiRyOcr+E/4ChD4p+Tdnvhlcjr8iza0aB94HSgBkRu8un3cWEJJHjVaWVnB3x/2YCGkEQ+WJyTcFhDMzcmuNJuj55yqvQcVFd7JbrSyIHsCPiwfwu+y36ziqRkNdmDw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5227AC433C7; Thu, 28 Mar 2024 22:07:40 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:11 +0100 Subject: [PATCH 33/52] USB: serial: option: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-33-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=676; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=nxoYLEe/N6OE4oKhVnw0IduSefBP5qNPPdhZj4nUgv0=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenXDnCwk1t7SRk3Pcojjz0st/2G4JcsH322i Xu4NuMLDXiJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp1wAKCRDBN2bmhouD 19nVD/9Id+rT/FIsS2isvGUcHK0fqQ7ShBrwT6dBKQ02Sg46Y/ak5LNcA2wM0FsQwqvqVsyd/IM VW6gn3ClR5Gu2V2bn6+PZaKaf5J7TFHCD45hHPlaQRWPmxptCfcOo6KrxHYbZUNidiNyG2wQjuB /7Uiao71JxZWyH6HgBgbkPASUk9JD+QnYMlf1E5OdSw3Ux/wARuv1I8XFJt/LTSrmYHA+ICahiA Y08Rt/xB+4v3XwuL4OQjA6la69McIcFyQu3+hWapdONQpPg611WnqBwJZXc9vkJJy+ngRveDoXQ H4hgzMF8w8bhL73HGOun1gEqRd2TY1K2fXD8c9MjTuFxScCyrw6to3jdX0VbtYeDBoLTS/urrM/ 6/Rl75OhnZU4qEwTvzV3ad+VdjPmKx90P8noa2yeBLJwBz/6AK9ZHUVsy3bXi+4+/XOst/N+lz8 4MJaoChP9sV7X9uyoPp7gZFekAPKMIX4S7zjV302Qh6gQmZG+n3YlXfucgESPRecrA0O4IVw7z1 zs2/VC0KxJ2JMvylDTvxuY2LmwTAuzkX9BJQFj5qtxUXHgxWbtASumASfaP8tLzNkwLFJN4EAWr 7PX7kYcdjhUd804dLgcRCvxAeNThY7/nxlvU2oIoADP3hYHbnsN7AHHw7C1bLGj9rvcjHe84Mjr g1maMws1ldUZeDA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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)", From patchwork Thu Mar 28 22:06:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609693 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DDC6413C3C5; Thu, 28 Mar 2024 22:07:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663663; cv=none; b=LwpP+QTXgpQjD79EbuV4SeV4c7euZpel3EQ/KfeoybsiuI2u24UjVaZHN6xIbpUzfZkvsMyfZcNQslXFtb0Qs+wvWzD1ZwDfAsqD1RHXn5LQ5LsN4uEngv2iSszzcDOZiB/q8CH6t27Kc1YODvUfwqzUaOMFjDnUuwmtiVCxAyE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663663; c=relaxed/simple; bh=wVkFcZKa/vCi3itCxyB0aMBENCVuNbE92FaBNZD6CZc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ImEc0U5r9+MAHrgHo/W8ySdrgow3Z0naPTSO1PlGvKg1Wjhd5qehKtarRwSihOc1R7QZ/okpog/3oqIsZItnOA3Zl3jYCoWrLWVJXvfjievOOTUsCz6y1DTsX6iyqqv04ejd/73D+cEKPu51P7LpW/QTRzndKr0liTpfecq3Pt8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F06E3C433C7; Thu, 28 Mar 2024 22:07:41 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:12 +0100 Subject: [PATCH 34/52] USB: serial: oti6858: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-34-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=696; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=wVkFcZKa/vCi3itCxyB0aMBENCVuNbE92FaBNZD6CZc=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenYJRmtRyR8DFsv+hy9paBbspCwSmBeGPMsV aVKiND0tP6JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp2AAKCRDBN2bmhouD 1/DID/92OK7Hp6muBrKkOIiMEvU6wqV3K9Xh2lHiE4sUgNOrTelaqzW7gKuX/1vA9cSzeJH1/+O cQ9Aq5m2dyiGOcLx29gptpQAsAFn9YZy3EdmDTjI7joTTQ2vj/jsmmGpCPVieX840nwaSz7jwQg 9ZnsURR2F0jlyzTAJMqq0LesCHNzAFm3AXXeq1+XfBCHIQ94Qf1ZEtYwnb4jHzAZVUmZbzLWO71 sXsGCJNkK8vCrqwRmMaVZuPfDXgHJJakA9UL9Em9XTay8gMf+cEf79kb2P5R1mnvDF7bXLZqEPE WOF1+GaPAVwgxsbPlitbHW5PVvvogDj+f9GuROVea2Z4qxYC1KcKLaLphIrg8+1sCRu4SMkGZ/Q vP+TrBxp5Vbb2ehHPaQNE9dmTV5b9AECGNQHQKmGvI5cNsky3yg3mIM0Akr01UV6xRxhXzG+l+R 8Dg2ibW1H9+ay/aO3SpFrqQoqllNy7kBCVWcLo5c/fcSay5YsBWeqc0W2IbjaAcT3ENuXxWeG4B z7qxUuAir8j4oQRo5IYwl/IIHFEZSApbhYMdARlvUiVDZffb+LvHIAXwEEqzHDSLqce4L0BHSdQ adF4tRahhqkf9qXxvAS7VIzxrThrp9cg5vDW9gnivPyk38CkzNB/aKB4rNpEdZQ6AiKO+EzGAOl c6YfR7UyH2ZNyVA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:06:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609694 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B82FC146596; Thu, 28 Mar 2024 22:07:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663665; cv=none; b=Z1bBFa4Ip+/SylVftjmaS44pwSr+uRE1ZXtGqeXiqT8uwoC0R5qf5DB7nznIsG9uB2bKVNowkv54YnwOjfNw8jV3hOYe71OkU4IxV3wis15IHlYT10A37NXUZ6VrBzftQuyLwCbFnDvXK8GkPJjAeHJiE12BqkyhpU7EVEDCOoA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663665; c=relaxed/simple; bh=PxgWr0PvMMYOn7uOXZ9astW2pxgr8a5gyKCWiDPKDjM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=XkL5c3uweIvIG979ODPNMQoiu/O+aYXGrKIEoDQq4bFd9ZIE9MNerF2ff5sB4p97mSD8Hs4/ckwldXRaE1PHKnYM4JBa/7a/ZFMbbx+8nDIailzAVHjQCDl6PGFYS8X/puXrx5aOgA4Fg+hpmxi6sZkE4uIDyJNBNHQPq778brk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 486EDC433C7; Thu, 28 Mar 2024 22:07:43 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:13 +0100 Subject: [PATCH 35/52] USB: serial: pl2303: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-35-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=664; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=PxgWr0PvMMYOn7uOXZ9astW2pxgr8a5gyKCWiDPKDjM=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenZdd2t6NpugbpdwO5RIUa5Yy3K/rSgoYvDR 7996pXQ3TuJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp2QAKCRDBN2bmhouD 18m3D/0WD9f7+adteNDyAOrLLRfK+0OJQD6zkOsMqehoV3IKZEBCOE0HTvDUmsxP1sVB8jIqfMM 4Nn3mYHbBZ9MFnXZDrxpUZYohuNw1E39FZbyheG5gIhz/g8fCSpDdHfW1n6qVz9IUMqyCzGIB7F lDr75viyU1qEEXkHMEB9sFLLmg1VI5p6ojCqVSlbEzVgfmhfZclmySSXeDTPz21lDh+xmO0S/fj T8CKQH/lk7NR1X5NuCTaQmNsKMQ8yVAC67yrGTadHtXD0AfIDY7m7xFMvC10vpOailqCxybWEFG waPaM7L9GJzwTaMWcxMlNsdA6XdgZmRizax0DEAbeaKKkKNXsE4SZ58hav14uyCn14F8t8jbXlg G/ePFoP5lqN6RkJCJY7+gPt79UbUUUmvuodHEfP2RewoXZf+QyPmEn2ZGIZoqtiuNpUknnMDMIP rbNioAV/TeRJHMefNWWPCT2PRPgRPsCc22G5fLddIvBR9IxOkt6WxZGpCdb/VF5gcUyHf1io15N oyFHKDl2/KtATi9T85QDJWI4qasoOkfO60L4YrVNPH1lhNRg5YlR5Nxc8ISRbNhL/EVPmwRJci9 oUmqjuA1EDRElgnemgXLDWZSR8RDWL+T7V5HaL/TNJiMod11N11DtH14eu+rQQzTbypdjC9ZAk0 m7oHgThGXemmE9A== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:06:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609695 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D616146596; Thu, 28 Mar 2024 22:07:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663668; cv=none; b=asLRAofeavFvsfiQ0lpYBBXZwd4m0OTc37yvuZCxTggkDYVlRpVJAqSmzNmmreeatQbfDla1cjMwbFDw7Uv3d7zw9y3wuNVrWN7FTnV2hXDSaZQs4mXmaZBNQ7E3CpI4YZJQPbc61nJF/kR3qr4YOOOcK84cvojw4h6FKlyL/YY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663668; c=relaxed/simple; bh=0ZIeeo/w7wOjuvwZJyGeFbiEUsgjOPmHLmdo8AlJfRc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ZKhMjTpzXEwVHSr3KPzU9CkqZZ8jVkT6Yytfwn2XzNqSrUBYZfqnSDNFtS9Zg0IFPL89gX7D7ItL0eAfsa7/Hm+23q1rTgSDBQN/S75oCLxJQwiOWHuTI4ISV0V0sjPGTI/z5ryWRPvnZJeD2YQQV4liZoUjp1NCAnst//dJb1w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3754FC43390; Thu, 28 Mar 2024 22:07:46 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:14 +0100 Subject: [PATCH 36/52] USB: serial: qcaux: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-36-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=636; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=0ZIeeo/w7wOjuvwZJyGeFbiEUsgjOPmHLmdo8AlJfRc=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBena0PfgRtQ75629khrdHHNSLd1B3H/2zt1mY ZvvMMyiHUqJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp2gAKCRDBN2bmhouD 17HgD/0boQc63AiuSW02R6NPNqlN4O8HhYLiygIauxJnI9ojluFswRqjSUlRjtyL9nNoW7yFYhe YaF2sDRRvPBslgnWebAZTBieNesGCpkFLxmNyayZXJ8RkowJUjCIhbDMsu42sjgd8hdWTLMFBzc akpSbAU5rNQ5k1PSLb2y33YcdX5IRkSjFS5Znrk3WDQLDK5tjEMgMsXP4akqqjqwi5ZmtMIyhhp xh6WV4G3kAe1zChh9j63YWW+XKPEyBNg3ZU/pI+SLtKnFI8wKZjtNNr+W5jowGtadgJdh+5A18R qsqO7j09xfaeBXuUAA4NGZK19H/eYiowg48ySiNFWlt+hvpDAe4RJlpWvM5gM3Oa5LFf27Zz/mh XbOW8cgTV04/U0RtMn2Qb6Cr5boXMDnnIZ8NVKiVPm5jUm2PCr2m/LAJSbG3GSClea8YzTmYWtW 8mTVGmOlbChXtVXNR0pUx6IyWnpghBoeWDhyG3SM+rM1o9AskMzuQMPAr+sXnmo4WrxCAEo/3b/ bCrSfL3g28jMLjSz/Wr5Jd5ullbSBHbxdr02rNChO13BxKW9uwNdV+5UC7M6Tc6YGEwFtJChGkC avOarTl7pTQ18pLBBPmZHXuWt5m5ig4mhkGmhjH7wXV4cWmpolRTcOWH7AeVBEz9WvYU1MY/vIP 9xCaFbXFJ+rrSBg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:06:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609696 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3435E1465AA; Thu, 28 Mar 2024 22:07:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663670; cv=none; b=d2QgF1bTNW4eFj/eL8AiqX2N+FoNq7JfjhHCdvFbeskt4izr9bUiKrDVJrNwm0eCpXgkYaJoFGjVs2fB4BxREk9U9mh0QXZ6RoRXFMGYuCMLzkwMUIc9/7EVPIRHPyzkDBuBwct/pFzvcSUU7g1qnXvyjKnabp+oehRXB0SJVIk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663670; c=relaxed/simple; bh=ue3GNO2h0HqEC0SdkrGG1DtUtk/JahT/0ntolEG1bW8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FpJbqMuUBf3EtsKhLpsKb4RQNJK2j2Jrt5rSi4ysSzc3+skddkCdaMGgOvP6z9cfJek1WxlorP14eMoQLSsigcgvgVr24/kMl3rLN7TdpYjdzLVuFICGxsqKppaWO98yZkEAwgMJi7e6zF3w2tz/cnzleWGzfSHtzd3evLGvAh0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F3EAC43390; Thu, 28 Mar 2024 22:07:48 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:15 +0100 Subject: [PATCH 37/52] USB: serial: qcserial: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-37-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=696; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=ue3GNO2h0HqEC0SdkrGG1DtUtk/JahT/0ntolEG1bW8=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenbQkzxqSsztrG/GohMYl9ZG6j1XOI6qOuaU aOcYrk7ibWJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp2wAKCRDBN2bmhouD 1yqVD/97OE94Q2vZ1JqwPz3Nj4JTNz6llw6C6RZiHInTkZUZm+YQK0GXlV/B6GGzqHIKiye+Pvy jo8O+RR+ejOsTVd52k3EnxShDu0h+vG7ZW1DDJFvvF8lZtxqzCxgAZDaTbFW0Dy5eXGRh9tZi+R 4D3+D8+/4Sw40AyuhaXnfi1OxKGPNKNn3++6E/JAUXPge5w0hutPhNAh2Ix/ZlPmxB1v7IgpTUj 5MjlWGiYbc+9RS5RIjyNR7MX4CZ8GhUhpoknZql5+Mtn2N15oMba7iOImbRL1ByyfGYDDxiclg5 inM5mMFFcBwYcgfrBh/CUgLcGy8Rq7mbotdwVBzWrf/UVYuaGRl9t7WL+Mhwse6TbgsfWWrIUjt 2ez2H14/hqX3Ewn4VJTk+uXi8hV7HoL03vOOHJos1Z0IvQ1QXzjO0kjzV9e0AALHWy4QodBOo9b TL2ob9ZEcTu7Ne3cG7URdMK/U6vZGDsydZFKHYVXTRn6NMKHNuWSygMbTcSiTTh/PYrTY/26RUu ONuJfYaz04jawpyUGJMaeD+kMM/YA09Wo3fmB7JmWwQobmer2JkMnOIIEok032vTUOLrRGDvhRO R61t6Zk3IidZOUwc2zr953pSaKON0o5BdvVuBGHMP6IacXCrOwOgWfOTdMzMfK76yNrB7I6hxTf pAmBC26/IcCMhcw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:06:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609697 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D56E13C9D4; Thu, 28 Mar 2024 22:07:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663672; cv=none; b=EciTRTvgbT4tKJbEW97aPrQIkEAOfpduStKVGAncaxwaS+1fJ7ccJW5vgzoBUkiNei9y3L6nl9jS2KkjSbh9o2MFIWcF3pek//XTxFfPDqZ4z5jwE5vt48c/t9i7rRzEXJ25KCrv9mUuOS1dQehCf0ABYKLuiT6Iu9FQNq9TRpY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663672; c=relaxed/simple; bh=XcQOZGaL0Yd+aEed1NQNuf3VIPxc2hnk3DbX7QY0i0E=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qoZca5+faSzmf6vmJAfAK8z+sWyqIsV6UKMRgMR5HhIxHSmah2Usa0Esa6PsBDGuCG/wQ/0S7Dlgpo61+COHQGoH1vjGrDCfCmXS6ijp5/zfoZXdtn/1iJAbkP/PA10RwpMB8R0IDRwiXu49LiVaANbhYmE+tN60RNjxPLwOC9E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0FB4C43394; Thu, 28 Mar 2024 22:07:50 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:16 +0100 Subject: [PATCH 38/52] USB: serial: quatech2: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-38-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=678; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=XcQOZGaL0Yd+aEed1NQNuf3VIPxc2hnk3DbX7QY0i0E=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBencfYh42do3AVOKVststvoAZotFMBJxot8bL nsNChLHO5qJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp3AAKCRDBN2bmhouD 14ymEACAAkTB7g3h7OhJshUcW768KDSMPuQQpG9vClH7soNLSZSapMAhqhGIxFLqjr9I4FP34tw jljYaUDu3j24Zccj/Es6r/aavOvXsnSnqIwRmnsVMKm0Vxq/xPrJ95kO8C0gmEEE23lkBtdrzPD VeD/ZCuHkBfKbiuEwsmGEdj+ENggDkXEakeJ0rfogaMW+sqTxGRDsGH3Ub+1OGXnAZdjpbmZA6k +ow4KcBORpZ6x+7rH7vkuaMk/697JCsn9K67Im0TNwhdLUki0gu6+ME4Z5NkyqlxxqSM5AIAcOZ 0SCMHuyrp93BDxW1Ia2mhKPoSNU3d71J4bbRhdiP7UP95flyXaEmneLsokQqmYd65IykszGIzg8 zQp4IVug7xr5klqn24g9C2huiteIKGtZiQxp5rHn+MlmX2+x52vPQ+f6Ux5s5MGhnVIHfjqT1Gg CYfOL/OZGbuopHgtThGEzPOYlwx8MyQEnAZuvyzAxSN0blPi67vBk9NkAewO19JUilo3wkHtrrG c5U/giYLyWA3Np21goPYvW8jcKXAVaEjtkVCkHFYUyThEcscu3lrWuBmTShiWMhPnC4LB2GH3w2 CckJCSA7uffzZtURIXmB/ApZpceo+kHnTeJXbHQo+xC1lEca11tumX7ZNlKHEhOysD0aMpJnXNS CdORpqKdwumIxgQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:06:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609698 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1DC581474A3; Thu, 28 Mar 2024 22:07:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663674; cv=none; b=CtuestAtQfWCmvF+KjQRpISVTtyr+YWRLLJDvNGwDp+kSqtZysehKWWvHY2mAs9ivfq2ZfT8INaDRRrpoON3kNvVTa7a/JLHqZ9cbOC8cat3JaZT1INx2UtRGwIgeEC5APfTBJPOWeKka1vVNNgTGjF+650bNB2tyZS+QUrm0tA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663674; c=relaxed/simple; bh=vB95Z71rbz2bnBKSTkgzRLn0DNcNxFHivSw1pbRujc4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VOtc4b+OIyJfvUqNA9/GtmOlwuEu8uU58VMUAfFvChZMvm09fgXJ52zrFrpuD22vcKRkVQMmFFzrbruho/RSWz3/89CBsB6tBTN2gio+J7mpssOA7Uk4DtNU7frOS5MjL6AJ8B8IxL/k72x3dyXOhj2aiqWuALVtaT0Cn0VolP8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3153C433A6; Thu, 28 Mar 2024 22:07:52 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:17 +0100 Subject: [PATCH 39/52] USB: serial: safe_serial: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-39-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=688; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=vB95Z71rbz2bnBKSTkgzRLn0DNcNxFHivSw1pbRujc4=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBend2/hXK9jv/hwaLDAKGuyJHKZ7+jteRx4IV oWvS5sb3uqJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp3QAKCRDBN2bmhouD 16fiD/4m5maN2BkGeIHT3hkRSRaU2jVGyDidP5N2/QvJ8rKDClOcUnH0Hy8nIz/2R56mI+gGhYd TGR2Cc+GPtRU7IFcui9fRfwWmi9DPAS4wIdC4089ZBywJWqXbF1FPiHTsXb2b3/Ot5Pbem5Pagr l3bkAXkpwUWWLBkoQJ/cwkQHbfFL0guRDPU/bNFmERJRvJGcOb0cTrIgp9dCV50A3VfCgNofmLt ILIMxgdI0KlVxb1Lu1Dif57QV+lVQjBQdTcqIN+9trf8WNr+t1RVY14nekD0lQIsvmwJMeQOKHR uE5504RwdsDXGRwoibRAGWQyymRCHULuvcXq2FsYIApzf2yN5EvjJ3byGNLGrQw83CawOl4BQCG 7ELGIPl4uJcC26BQMynHgpsccv3nLkxrlRTwMzXrmrEIzzSnm9aWqjLSeYaODIRqNB0EyiTPiTv xLg1js6Bh8zt6UaadC+fKPcX7gA4Nt9p9ie71qerWu/xj4cZyJSTr+9DHUmTmKth8SZ2YHfIR5g CDZ9cpbctUlOLEZlkM7W+oCKSG2dkAvTkLrKFO/C7jqk02IOwt846GGPoQ8XugLkcvy5Rtd4TVX pl7zSEw9EeYCbGPNPh57PsTfErgtqAdyOq+Pt8jmyLwOuqLn8bO0Na8ASLtD7sgyW3HQEWinCAT fwQEhNvwevvUPLA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:06:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609699 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DCC52147C62; Thu, 28 Mar 2024 22:07:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663675; cv=none; b=Dgs9Qfdkdfu7o3EExenwQflyEQOqRC2aMABeGZuStGrnbZVMQW9DReDvYdUCM9q4OJc/SXehBidXN+7yDkBv2Y7HrHUk0UjOgfnkMG6TCgdeLfmJdCs2VCcNjLyMREBokxUiNqM8UsYFRjAwRqJEtIT69e0wyM95TX/mBb9HvEs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663675; c=relaxed/simple; bh=knNVVDokeLkUtIiM/RNUHlIV+ElW5WuXfrWQm+3KY74=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dZ0cVKXACW1o5EgT1VdX7qXmrOthuJ1Ykataq9QfbcPh4izy0Q9TJHhgWZ7gc1pHI+hKdJ/eQ3pdoaTPS8/dAVDnRFwB5R7B0wOKqzKSb2QPqvHkVbZFfeIOGj5pkvQXx7lPsfiiCs7NRyWX+0f5D0xEfM6KTEmcY6wne8VoL34= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87E95C43390; Thu, 28 Mar 2024 22:07:54 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:18 +0100 Subject: [PATCH 40/52] USB: serial: sierra: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-40-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=681; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=knNVVDokeLkUtIiM/RNUHlIV+ElW5WuXfrWQm+3KY74=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBendl6kwG8noPA1Nu2yFnAMKge5QtE22o/iRP +gmnPJ21/+JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp3QAKCRDBN2bmhouD 18sJD/0VCdFTPJy6poTy4fHrLeqwK6WB8ZJeBG5Q2/Hzf3vvT5Bu2PltxvfSy53bbP4oK/6XBm2 BDj7VNkeH1jV4GvD1pBnjFIK8/ygQHpXlTXdYTlFhuH3pgawiRnn7CIdQhk3LaOgT4Kjs4mV7iV /noQSy0CMgimIccLhP2TCKa+duEKu5QbF3P8E+lrpznVgVzRF0X+SaBKNHDMS5mfMDcr8DZ/212 bPbrVr40yMZ7V3Q5VLng/1op7jJCW5pX7MLs0hgdqJwLdnMBZtOEi34q913EOMRjdrgTx4R5VGR FMGA0ku/Bv3RnDuN/LtYrSNYlSsWw3GQPQftl/XKCyMkxZDRh+GyVBPploWAzlXAysuoqMBJVv+ OnSWA3BbZrhrm5H45Qk6V4bbLqMTEmS1e/0IvUMWsh1tUI37cQWv1NBqE8v/6JuNGapZlLrgbLZ /dCjXau3Ikyt2IB46Kd8Fr5aHNjfG3F3aWW2maENqRNDTb/Hiq1qAMwux+0tp52K3ep6/HdIoSq 0UTevYVkLd1L9+oo6aXP71aZPDp55Gxo/9pZKOg7ll9p8c7NlmNki9+h/sUtk7Wp2ksxqqGQ3tX cF5svva8ZMig0G/vz+MIssGRyZM5tjTPEmOoxr/LN/WVHNqpe+m84M+N2GkuLvDicyUiG+FTit5 qxy77OuLL1mlcwg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:06:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609700 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7DC4B147C83; Thu, 28 Mar 2024 22:07:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663677; cv=none; b=q/fLlMANXciALPAMWXIGhUNt9xIbXNiYcsPULu63zFxpsoQhsybgmRtq7VaJiviNMPjwngZXRvsQYlUoGWVd+x7eaatUXHsBwwhviqEgrVuWqnTb8zaRtA9E50rU3Fj2swEtJPCcXiTG4YCaNIGsBiSJpc3u17M/NCp2Pn6vyzQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663677; c=relaxed/simple; bh=xu2Wy9u6+XPtbKDjfOOEukgr6N7fj3UPGwQYU1Jk5LY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=bgwmsNpaJPWXRoAaFbsargzGZBpVSeLjb3B66oksnPjRzR0oMFpcGrdrIpWHfU5dZWa1U4Sap8Sn5UyIpEsyxljbTrU8UuNbl6TYog9lNbO5isnty+CFg5HK111NK59zFQa6q9ueaq7SeyFkSFd9Kb4Fks+AEZ9735jmqwqTr/M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4AE12C433C7; Thu, 28 Mar 2024 22:07:56 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:19 +0100 Subject: [PATCH 41/52] USB: serial: spcp8x5: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-41-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=668; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=xu2Wy9u6+XPtbKDjfOOEukgr6N7fj3UPGwQYU1Jk5LY=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenenO6qTe3dR0lbh52YwkxgN6sCuNrrd7mCZ RF+wb4wZjmJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp3gAKCRDBN2bmhouD 14KrD/96vsgN22Zh1nSOoWs6fNkJ/jZ2sHWataPJSKWC6ZAKzfYKQFFtY5/xtUWfhCQ26gXZh8c M2zoKU3aAiV3MqLKSGRQskEhAJ/YEKQSWgKjgl2EW0kxxAS4pkTsLI4hftrhVOUxcggYSZnZLwg q0CSbqPobf3oJWlJBKH7qQt5fOclFr2eANi1++E2Oi/3ncWods3gHGBvUDUBhQGG1i09eT4Gsyd C+RyaeYPHiqOSTt8XnGdgRRn0Zf+br3VY27+P0Iin2ucOX794jDjlgPHlw1Fh3p+3FWhW+8zanh lSiA1qTQ72KvGcaGCgq4cRupduTMK6IXzM0EHMe+1NwHUL0xHCffaNZ0ZJ1HkKcp7Cm0ybN1/fn klvnTjWoLkWS6YhBahUUtXyBq6gRgxINsbzljJi+YnzXYuXnIDMLISmblwqtRFLdCY539vjVk+1 fVv2YNVCT6VfofeGi4BMCfJvm5ZfhOFYHaO80aE8iAEa6QvXJ4RVQqSWUKOsH9NjZpBbnRMH54W eE13HMtT//W1y8WmvQvN6mo1aiNY/AE9nfGrDi70VCW9iMhczcZedWu480tN1EuL14zxpTWJxhQ 2ov2Nm9NddS54beo7haLFMei/r+xYNvFklCrVWUcmCDPWpdBGnNq20VTfE5k5R9O18C/mVK0LtX SDgJNElkm41CpjQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:06:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609701 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 433CE1482F0; Thu, 28 Mar 2024 22:07:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663679; cv=none; b=Zx/tEtsTNPun+l8wrjJUOCJsXcmAtMLDdKaWfhfcsPDpozaQ5Bw/QrpUxYeZv8zUE5v/QFW7w7pqj5EhQ7GACYlG2oL7sPkdytMmHiciqzb7KW+MjIoIQBDIoCY6/sGRQkruEbCGJ3qH3PJQXcs63/SZJtQSm9RvJzT58By/xqY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663679; c=relaxed/simple; bh=3+ZX9LfLbiwnPeWElrByhoSWfYsiCFtxa/TQALfD1m8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=GX4nb8Z3m3Mc0Y7iMYSFCEB81qlKkDjGhR9M3tVJVkV7MkfYw7A2L27GK8aZZhheWBk/Ybz7MTvdIpW9x/gJFU8n6Fj6M2nTtaf6gJbuEet8xj+3O51T9jwOL22+f2Tt2xxK3zGDy6IH8CfcashRsR7SumMTNTKtDWUJYHzFubY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD582C43390; Thu, 28 Mar 2024 22:07:57 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:20 +0100 Subject: [PATCH 42/52] USB: serial: ssu100: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-42-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=671; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=3+ZX9LfLbiwnPeWElrByhoSWfYsiCFtxa/TQALfD1m8=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenft1ZEeK2+ySaf+T6ROALAPMmHMSeMa/AJJ 2wt4Z9pgdWJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp3wAKCRDBN2bmhouD 11X8D/4+zwMtchMG0hDo06jYb1bFEqhGRZJJQtOuvxk2EhfPBTKzZ1lb5EGf8uxd9DVALJlZg0s qap/Qne2N+IexuosDsiVP3QdGRS5V82TUpFQtUnzgm5lp0vz58hHvr8bCPKF+rqpJkXUuIYhBz3 KljtQkilMypDQaKGtLSmLo7o8XguvkkhWyU8k3jwnz0ex/P+pVEaMuguoU3OqLUOZiKXuZ0rtDf cOzX08gLMZFRWynin/H5+DVtuFX8YlCsTNjzrV2Zzubr7ILx3d+oQ/tMsKjCVQ+96ewMKJud/oT XAWIXjGkR4LUxG6KCoA6y0fGfHdzg9+TMvtvLuzeEAPhxwgG8bnGgUna5Ja36UALB27FkshwN/S wR6hUpMQ6XQYQhAZskJZ6lxX7mrN+2t+ZAPNuBEf8Q7sJBNr5flZS+K7c5C3YAiKMZfUoP2paFd 1zCCXeyEM0GN6siqX1n5/a3cqH63BeIPA9AgJ2j9j3Jei6BngAbor54pp2m7Se6q/V2jns6r2MS FhmH99z52uXrqzaK2EXsRxMGaMFm7L2hLTH2Ny7JmSDKHbWinY+aLpe15JcBqwVN8IV3zgNGles joJGQzFVp2j5j+bpG7+gjRQz+r7P31fhC8laqyf6uof9DmGStSLlCVEEg/0UIufxYloqIJ5xkiG 1ogQz2wvFvDwkPw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:06:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609702 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E74A13CC67; Thu, 28 Mar 2024 22:08:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663681; cv=none; b=QkdONg7waTh2jKJgthflPovDJfAxsZySFTAqnyE0IAyvFt6385Ac4CzyHUKjqlSjcr4xIQZdvNk6huXyIhyc1yyGhyoCectrXoFAVyZkvXn1KgAKkxSSEOiio5XdSdeUlR+4xF/4hBW+B19kDEkEPd/EVat4ugM9BbzkvWXDbZE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663681; c=relaxed/simple; bh=fVzVNzGFi/8AlGMtN6vXpGfYvPIj2pfYAycd9VoAtS8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Ith5Iix88qQ9qgx0/X74ezNVESc+cECRDZ/Fix0ZrV+dHvXhpcFMMoRxe/qv2M/FkuH27nzX1rsR9d6vzvIfwCLARqQVsyo8zpW64UWEGgqYYFmSjL8yKw98g793Jv+sR/FEdwHpSiJCRt9g+lnaPbp4y+x/i7ZcLMRRGw4YIEo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93989C433F1; Thu, 28 Mar 2024 22:07:59 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:21 +0100 Subject: [PATCH 43/52] USB: serial: symbol: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-43-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=700; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=fVzVNzGFi/8AlGMtN6vXpGfYvPIj2pfYAycd9VoAtS8=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBengqO9TAzmQCjgfR0o96fBPHzjY16gT/xehy mdUYc4zG6mJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp4AAKCRDBN2bmhouD 1+43D/9zgdlVeKCCuVyW7VGnEdmYUxM6OC9Kv5see9YP7U5DmTfzq9IZf87ocIF7kZptHTwZmHr 4Cyk7WEPk43FWy5qvZF8mrTLxzmhZWZ5FMP8APPj4qb7zW/4ZMDLshuAE8Bhlp3iPzlxvzX+KVQ yCrnuz9v2dNVaJEpJx+2zLSRDV7snQUvuxvzd8QBAjvW/f8tVauPk7QGN/4kQT8L6jMIAw5/Cfs R2Hw+pmtksWossmrR1oMrgIuZs3sbPia9qht5b772XqQHq2o7BRL9aeEI7AKTu3MXPyqqBg1Kpd dYK4Mn2krQUs9ggE9mYptjcyWYR/YbVe7aYco96fSjv2U3n9dsofVcKFy18YCMrVX8pfyGyWuMZ VHsMMdjv6kbv6QSMPq0tIJbZN8rqoZgrAPNXvMDiN1rjHlgo6QnV//rMsmdnk+LSoqjrjwaYZCG 5kglPwgtg5jdE+1KFKg9DFJumM0ev7lvTHrMXYmmLLY6YFyvqhtrlYbrktfXWaHY5neExCbkQBY zlfDiQ5Pb67q6f95Z687SR2UbOEE0ZzKc/XRubm8iS5Xg34LJClN5X9Fxg5+L41Pkccu01Nof+J rv3cyVtrvRmtwyqJPdp6Iph1JUHITeAchFOGXAKA+H4mJhQBwNZLCHRH96n872wU9Q9/73qfY7g Lx0ugDcfA0YttHA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:06:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609703 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 721F613B29F; Thu, 28 Mar 2024 22:08:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663683; cv=none; b=iVHyvNwpDY3BODDtXrPqchRtfKm6ni4UeccqSIjc+b4qyFMUjiJ90q3O9tWU1PkOxZSzodi3noq2ZlwuOreeYFG9EFSKHNJK3Hg/Hl1nc/Mm2tmfLx3PUQ1AARScIFNs+w3QL/RF3geJWAOhDKacjYC7aOO8Yxk/O5aH7LVrxkc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663683; c=relaxed/simple; bh=Z5DlnbUr8G+qcFQBgBzjcHM9HuIpnWv9wjU/Zhwm4zY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iZQvxfb/CtnCX9GZNn4hwWp9AK9j1ryJDVVUhYhzuQWIeAywNrOzZons93I4llZ3q891iDX7xub2g0NPi3Cqn8FOgW/TX/21NhX7GuyUfGIiEzScXRxYXSI1FqJLFN5KKNaSqsH4UQ3epUE2MriUxHA+8svz6NnXVUd4fw9X0Jw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C76BFC43390; Thu, 28 Mar 2024 22:08:01 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:22 +0100 Subject: [PATCH 44/52] USB: serial: ti_usb_3410_5052: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-44-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1022; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=Z5DlnbUr8G+qcFQBgBzjcHM9HuIpnWv9wjU/Zhwm4zY=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenhm6sUOW608c8pQ+qYpyS+UFE41uzt0vA6r b8WrlgX1ZCJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp4QAKCRDBN2bmhouD 1yhND/97zJ5jCi2Nx9vg1BKkssn1OVHz/78HKURATVDVsaIMBoyqFy1aXE8LUckOFyKmrihcczl 43EkJiW1HWfJjU0pwTr2YjmChOOoKQKwC9Vo19Lm9bd7hRfkOLsmRcZl2rvL/grCrCM77wmQbsU hSf4pWo6meIwWTF9H8wX842CveOvv1+Oy33lWPpUp9jp7yEFcQLLsNFT8OxAxXjbKYa/n2Yn6ts poBVF57uuXGvvazLuZruRd025QOKkGeqvr2lTgW8ks50KejywbYT/q4g8WZD024J/o6fpSfVEsB 2NDB/fj25nKLNZqjamYoKY8g0J84zcALSVkcJL0JXGSPjYxA5bPtgorPprnDcKFj3XR6awD14eG UB+5rfN8zqO685CqUIKksKuMGNBnawr/CiRFK10V/RqAuohjfP0i6a7yu1c5JtRwJssniIDprha 6mK8sIDhaumjiahQTTKprSdKQfvGDpPoS+txdQspkGPlnbruYQpsnJfeP7ZDNGZpD9gKVBz9j5a hn1ppDFR9TcfOXcZM/MJB2qT2CSHe/nWCMKF4OFv5vff7DCP0G9IuohyY3tRwvoQiiZiVdeoKoS NOiAWcKHdhw8KHfWA5Cu2YGXO0jcUx10T0SpSgYaDNi5hHBaljM/6yxwhv4wVV+Qj1HF5UcHlpx SQLAHD4Rs4BpCZA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:06:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609704 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A2C4814883D; Thu, 28 Mar 2024 22:08:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663685; cv=none; b=gE33cFY9R9RKMRI6AswpsdlYYjD58MtWZoNLWS5YLLoY/Va19M1tVx4sCaXpfuNv5Q/yxoOqhxaTb6JVMoyOXS+/P3ti9iMS+Xz2TjGsRkEVGbBY97FtI9ZMgsLS6w53b9scpI52DPXfqQ0Yj1zwusnFJ09vPNVZx8dRgAeN/QU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663685; c=relaxed/simple; bh=mF7psN+EswNE0qvj04SULuiCK6HE8Vl10yB9Iadw9rA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ItkWlJCw9FY+AnedP8SLDSPFZSngBt8wL4AXVOjq2uUPiHaO1UQsqYE99dqKhNz7OkEKZDFp8PVF4TJvnDSAFCx5HS0ZPnGoIc9TOy/YfPBqRt0kfZgYRUBKh03notGAbo5nA4EHOkyyJYXY3wGNYnJthDgI0YBXNBMTutVXMwo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10596C433F1; Thu, 28 Mar 2024 22:08:03 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:23 +0100 Subject: [PATCH 45/52] USB: serial: upd78f0730: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-45-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=695; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=mF7psN+EswNE0qvj04SULuiCK6HE8Vl10yB9Iadw9rA=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBeniPbkVBzEDhGSTWjWtMOVWYZFcDsqgly4Gx qeGpTqRdbmJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp4gAKCRDBN2bmhouD 18EyD/9XHLoum6xilFXiFBpqbP2NJgnLk1e1pOBnkleE6YpVp/WYgteNWAw+hR3WMKboYK2Pv4E pjrqmfXU6SKGjGTKcLZAW15+70A7QUBKl2Fsq1DsDduhU0ZrYZRZnv9jH5VWMhVKH7XEd0X66Ur rs0II6QMlryDGBJ+dno2/4pJRrubbBj1BHxHad7EwK0gIiK9YcD95zeNPVfFwlXldfclNAyAD5u qzMneJqOTxtI84afkMXAAfqXVkAMQVAKD8ixrle+AZijSRWmmAmg9nC8zAPZLK8CbhiRbebLLQu f7gXDjv0byurAgd0UAMBxbENrUWONskdYcxTQYmCrWJR7G8pwchPgSM7Eg5cPHx97wtYH7R1HIg PqCTHqb0cltZRnkf/T9g/35crmZYtfveA3nh0PcHS8IMAGSMlNjdrb2R3kn2Iolf6WVjeYDbrfh Rsxrid9uhPyfRxZ5v8fYU+xjDmfM3vvziHhZZDj5haUwYEFPoVS4ZONpifnj55w8Kz0NbYbD0CO QqzrKL0uKon8tA55Ibd2jbozRcGSwP1wf8Nxwfr4Zb6LuNi4T6IRL/cdgQQEin6pBylF7/U0dE9 YRacdLsE7oBbtGo+BYBtO7VfU/lDSoYYXAt24v4XKZWypZGYoO8FD+Ad/PIR7hH0o6c5i4/l7bB wBP0BGvZ6QKSBmg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:06:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609705 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2F6B6148859; Thu, 28 Mar 2024 22:08:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663687; cv=none; b=ZwVv6s5oxZ8+RWOcdT/uqgh2exm9yhJB1tVuJikgxuRJaRMrz6/PHzBlwV0/kxDXz2hp7xR7JQGD3j+rU4mQXGuJpk4e6/8cBjOKIbzvUxtM89QPNME0qHJOxrVJ97bdzKTv5gwuC8UHmtWZ1cAm8cXTjY/R7wJ/JHQwB53uswk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663687; c=relaxed/simple; bh=n3zijUgkOy1RFrWHNpOAx1LckHQYBnfP4zAFe7Dyi/g=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=TKDvWcn4cOkHAXwU8O02qeKcZYORbShmOFGmFq3qZTsVhj+k6uJNLS9QkbuwymTXD1b3xXJdSn0QgptAFr7RcpPsGfAdifnaJMtNXFdfgANmSSuA6midvz11k7rcOiaNweACKXAtYKJPGeMO2ViLvVJGv/ciRQUDd7eCBNp9KK0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D871CC433F1; Thu, 28 Mar 2024 22:08:05 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:24 +0100 Subject: [PATCH 46/52] USB: serial: simple: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-46-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=772; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=n3zijUgkOy1RFrWHNpOAx1LckHQYBnfP4zAFe7Dyi/g=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenjISGCtzYDkaDAVmJFdgxKNzVGNydxZcQSA 4C4qVdE6KWJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp4wAKCRDBN2bmhouD 19XGD/9/6IE3Lg6Hn3ocoUIfgt1hXVDvWL9Gd1kUg88VlLAv+mm/TG2+bDYGeLOP6eTuzSSG2jI KzWNA2lctCnkNX9+2VDLo+o7KE/GRHWqxX2oantRYnbnBItvcpRiyHFQ0wsH7QebZyHm80BS/61 zfyihBvfvW0hdRur1B3zlIFFugeRODPwvuCbjU7CCJxJo+3ReinW3w+4lWkS23YLCHrFYG6Xnbt CHWG/hH/MgF0h6QUMtk3cH2OmuxF3Xvc+ClriM+LDUQ9j/jj1qEBm5FLa5JFKXQdQfXR0BhyHKq keX/CTZGMkMIMtiUNKOcZq7uGY/hOia4Qor2t8UMUtSuRpy4xi9/g2cbNe53lfRFPBy2ofektpY vmCvHBxCLn+HB3LVrrej9kZxp+gkM9OBJQCw77ccQ7xfsPd4YRvrixHjmSCD31xYyIO50CCWbP4 RiDeXjoSC7gnKZB0HV2Bu4UVPsxFx9nEXPbUAXgrHvSOJAGvNSrYcgZq+DUXKB67gxBc65NisoO 3BdeZHHp5rFFlxu8uQzmUzM5Juk70oeQxNKWWkCSSo2jzD2AiLEdSQ1CwchcEmS+7uZdCS1NEDJ YAu79VfJvkMqzVWY5hyn1YV23NRtyMaDg/53gSBQaPk2TMRPMz0SJDmE5DtizxISgLFzXIkclj6 DgXsk6nvwv+DwCQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, \ From patchwork Thu Mar 28 22:06:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609706 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 31835149011; Thu, 28 Mar 2024 22:08:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663689; cv=none; b=DzLzT2Hmw79NPn0TaHLz9Uw3aa1nwGDD0tZg1zOAxx/1L0JWH6XU52daRkUtVYfYxph3VPMnc5osVxLofxSoIqn93D64DATl1xmgW4GOC15sXUR3tspLls1uEhdltl+UYhW7uzy7HFbtnKZZ+6rqJyLS6LybvLcW85ZbskwyH5M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663689; c=relaxed/simple; bh=jCHLS1grwy5B/3f3d7OmLHBejgY18R0io1By2MJbtTQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mDC9PkDLGUwjB9GqBA+cN3QLuyXhVUl+0VaBFfb77xFTx76VxKO7a+i5jsG4Db8Le4e7B8DspJXop523rqiOihIqFCHrWJA1C1KHVV1to2gdBAOIRhwyAbvr38+SsTLKg6/uZQXNvy+zBXfV8PD9CID6N8n5lWCE0akCMfXrHbQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3CF5C43394; Thu, 28 Mar 2024 22:08:07 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:25 +0100 Subject: [PATCH 47/52] USB: serial: debug: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-47-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=900; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=jCHLS1grwy5B/3f3d7OmLHBejgY18R0io1By2MJbtTQ=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenjAHGJTSBsNuKFy/HgWPlQi1nkiT+RpdZQA yoruoCpHfGJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp4wAKCRDBN2bmhouD 1/zuEACMNBVVyIreJn3a4TICTwz9l+fpIjAmn0H2HHQl08VgolNfmJiffMhC/4Seh5fUagf9YzO 7UOt1uVPzj5zp2bq+0D5waDWRqwkAHCVVWW422tdu0u49Nxb6RcVf3/ig4wMu60zq3hLIih9UpW JzLXmWtzD2WhxgVT51VhG0Ip1JOKLFOF/MAO4mCrX5Cb+GyWBApn8AetA5hgnVgW3HFAn5PXUeV EMYJJ4CAwkcgaCuB7ixzb10ZljAWmkABYPjuvOePKy+1uruSSZXf+UdMnsmNrjzD1ndY1cetDDJ 6VJS2utKZF93CZoa8owaKYet8F+7TysXbw/bncXPgxCMQqXonheVCnckbfblRPXCKWW5rvEJDic qr5Bj6h8g6CDFMVzexrT1zoEwKXONMaKMqTW6FiUUNt20UGia79u60u2ImBVz4inMgTNiu8WIRV Bm8NNkq2ktuT559qgfSX7eEBfpbdMwT7x8yk10FT+EuqSX7+tdJTHeWG2sO1/dHg8ZeRT7R3VXS D8Z4TCPDd/0bdIgp2KCvgRFDOqfkweWD+xmcW+L9wdQnP5SjHatsR5iek/9yH8JsGKDZ8jr/ZzH Wdr8uAaR/yrfbcJB2izoAv409M6t93vQr9lVrZmwo+dXV7FXpNkjBII2pz6ycjT1+mb+kxQqvbQ ptZwGn/2KEIEoNg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:06:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609707 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BF6491494BF; Thu, 28 Mar 2024 22:08:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663691; cv=none; b=EfkYQSmHUzCpTE3p6FEYLwFOZSunxRZuhBdEdxhEpD4xtium/l07A2I3x8U9OTYz873yx+c2iAkcmtThTosbqhKYTkAiVBwR7+4zg5t6fE5JI+3UeY3mQyydWZ1b57Ie+R+parDSNjlV8lPqxYY7XzeVCcpw2XRfxERaG2ceAWg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663691; c=relaxed/simple; bh=zQLc857Pt+hekczjRNz9Vs9fdZat2RkxZijifeCJb8g=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=aEJRTqXDu+UI7FvDIWmm7xvk8mT+jXay84T7Iayc9ZTnDyLdN18ruERx12aLnQCzEhRdXsM6+4RKyVGd5ZoZbtcKeJesrO6oueC7rPYNokzZR6L+8YXTzRbLDEGyAbL3pYjsguPjpv2BBJCpC3xMCTeoyjBQieyJWBdZdmqO+fs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E818C43399; Thu, 28 Mar 2024 22:08:09 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:26 +0100 Subject: [PATCH 48/52] USB: serial: visor: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-48-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1302; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=zQLc857Pt+hekczjRNz9Vs9fdZat2RkxZijifeCJb8g=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenk21IqmDHoMADZ3m+/AQJF0e8WzAw67s2ch uvfix7uJEyJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp5AAKCRDBN2bmhouD 193WD/wPoh+zRHQUVE4NlX10e47eVO0VtpkZ+Mq1yfZYZpBoTRmyQI3FJihfdrBccO8TLAq+Ums iGtgoj3Frc5TRQKSLrknglbgWe3tp/nirB6c3c0J1cHqVbb0+frOnwz3QJAn/JLludnzGoYjsvB ZdLMfXVci4kw3MnEk639mugXLc5bAOsxRdUAgY6QOmD/2xWSAI1ZR34JWJRuHj6x9KuM1GbwsvO kBTb5BrxJDAYDlLzfcdQSEKuJi0pIpPIyE6iFjSxDbO6aaOtfFikyDPSMHF6kObzMvu7SjdsF6y aqmoRPTqwckDnahiCnQbYlrhanSicnWygbbZjO6VgmvyBL1cbTm6iofDzp5PnIHTvyh9Ut3D3TV +iQH+XDbeTzSt5203aRf5kdTJppoTQ2kJM1s3IVS/CQRT+IFanVjzXyQHV/69O6zZm6ENaqjhJJ 3jJMnB4sjy/h2bKqTLov1d3Tb5g7LBLbkzqXmnOnPtuJWjYJtTjtJXGaui4SdF/S9Tvc5LAlWCf VSrdPW0MUpGIXhTeq8JwrISfsM/Ap6r3AtEz0qgDBMxs54BLG2iT7E9ILKtRG/tnXfXGL41/lhc GkFjPKvFO7mQtpAeJYMB/LRubL3L9oXjScRG7yLXjzaMLCsuKo5Hr/72mR7i4EQc4bjdYHn3Ml2 Dtfgo/Q70aLqqUQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:06:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609708 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8B86E149C46; Thu, 28 Mar 2024 22:08:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663693; cv=none; b=aSy+sPAZA9DdHpHm5wTUlMxhssxGg2tiQZphIjjYiV1i0QiXYzc+XPLLFJy4cE9Ov0x9xginENNWAXKVSpxB1LUBGVCaQG8bEhSLRb3228SRbDb+wRcv9SQHsw8u4TubTsGRISIxUBsE4YuFASWcJmE0n6ZX2qYzgzOpcrg/NDw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663693; c=relaxed/simple; bh=q48hSjcgCVk3GMV1sSMZLNfkOyG0fmboF3YaOfhGgUM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gp1entdMHTEpSMH2ffYQQPv00BYjK0QrbpKOHpJGdX6IcWgC3H+M4g2HDpPSSZ8IDDZlNqk74Es5TxhIL0WPz5fClvUYr/AxbqiQGlTtMLUEN/0ikgy/fMiUbex9y1dDJCdWFR99gjVS3rXESPSigs7VBDjVNY4Sd/Yp/WgOqa8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 25C3BC433F1; Thu, 28 Mar 2024 22:08:11 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:27 +0100 Subject: [PATCH 49/52] USB: serial: whiteheat: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-49-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1012; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=q48hSjcgCVk3GMV1sSMZLNfkOyG0fmboF3YaOfhGgUM=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenlXqrQCwBqlkKd8A12xHE5HaQcXRQwC0egX c4s+VxQR/CJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp5QAKCRDBN2bmhouD 10YGD/0TFb8d+56rj2w81e9TjiecVpF8DKP5swGq5P5EKU2Rz4BYqenGHwyJrX13jGduynD9nfe 8N2121RX+Ij4uDmv04pnhAyMz8BkKXsY87ZOuXYjSHa2lFG67k19sghfbrx3ETBjN3ewHi97XSW lJQ3AvFo5bU7LjyNxFzZNbDNqrkjC+X50QV5fQtxhPUrGxBixR9v5QvMGpFO0Ku+eXZvqfr1Nuh hWgL6TbCIJXbpsU9lhgr/00qKJHzk36bAD121z0OcqKMCBqxSCuU7lolMKZcyn7au0YSrPtue6p m83YAsW1lm3RJlHlUVJV/qqVfz5UmU5OMAdkJnorx2F3fd3Lrjlo0NJrmGqSPNlKev4UJev7ViC brPFSUhqh/qMlx6Yx8OB6TV64VoJwDfwOUcMBJjq0W4OiL7Qw9pVinugBsPdkHnuZOVYghO0LB3 cUGLSDnHxIJi6Xc+RD7Odcj6XiJDrl6ERIjkAAGqkkiRsdmWiMOgunudAcPbpdmPrPZPgxLCxUv MBB4YjMHKMjuJuPbTqs/JYTkJ1UjkDTANweVySdA3ykQEFMldruge48r3vyZzdx0i9QfmLgyayR kweubFmSbVQwF9rjoElwFeCh2PrMasgr2x5akIAehOlxnEZCTX9cG0jfDcMzmCs+2iKUKOq9KLj 12vo2AkGG6LiW0Q== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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", From patchwork Thu Mar 28 22:06:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609709 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5103B149C6E; Thu, 28 Mar 2024 22:08:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663695; cv=none; b=IOTFnkKoYYU9jR/00k+qcaDGrozzT1HF3wbmghIThKWyD9rlUVqx7neCMnWAshQWTxXRCf7fyIswY9MI8dp9gKt36J/oDsvFQIm91OV8Tk8A2QH3SmNCdhIYghnRCQKXI7yVj0rLYWk+WBYOPPw76rsZDdzyBrj2w5+7+uYW6/4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663695; c=relaxed/simple; bh=Ntu7n1xOjCq/mVBXr3t57SyMIZ0n5JxdlqFdu5/5rF8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=P7QkmYunN3GqRDCIVGoT9sgsX3BoA2Xh9cCE+2Tu0FAp+mUDVVfL2qoGudvTL3Z2FvTV2KwzKJ5atkrRGS7q5eDEd+FqQC9KeepOl4lkNmcxRqz82xCfm/Ejx+VqPTLCvBLfqzzPHBSDD7v9f833PZO4GWNPFW/3kg4je1PWGDE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9A00C43399; Thu, 28 Mar 2024 22:08:13 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:28 +0100 Subject: [PATCH 50/52] USB: serial: wishbone: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-50-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=734; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=Ntu7n1xOjCq/mVBXr3t57SyMIZ0n5JxdlqFdu5/5rF8=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenmb+xIndqymh2LBhPq8PPmr/B9D/XXfhst5 Y8zlTy6qSGJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp5gAKCRDBN2bmhouD 1yAvD/9oB23i5bRDGVDSqQObiWapMvRyPHwl/0v2zUnDhYSw/xA5z09OTa/8DUaH1CYICTPboGy JFqazy4sx3juZqrrsJbtb3taJqnOHKWEB2pPUVO/n5sbJJ3azYq/K1p1vrfwqdJ4R/88bnMBznD F/diOW/Dphd5+GjWAdmtQnOwOWoUm6mt3OIq4XtD6d/YvoxBzONtS3xN67YgraoAsr9ARP5uhKu 6PN0ddNPFy3fwLRibfXZ+Qnp/4PSyV1KDDqrM4LhEYqk+Wv3VAs0w8Y/dBlx0obNi/St/qwzQs0 Dfpy91D1KFOnO7R670p/TY68qWT2akYdDkqO2BiQWqduCJdtlPEpREbsDLCOkq8AyMXhZmEdoUH PDw3fD20ATVp9bHLG7QztEbl8NZCKZRbZP3MS9gnai3CuQKn8wSwD05hoEmbXbZyqshj59mQJr2 0PjYSgPTrlB6CbHeiTLs4nSgFcZLHrMQaliNBBDcluPJ0LdhyLwYkGIMu6IIaBYuJo77tHxCmYJ nYLpIiXArjlfCNJkp3DB6g3iuoNGBTuSN1F0dMNRJkVMDYGYdKxX+gnhmf68f1DdyNeUEOod8F4 PjijreC/y9Aw3tyWYk8U4Y1SOit5CvGB3d2m0qOV7QwkVzqK7O3Gm1gANLLG9PdVI1doCA8z+Cb NmtTE9ZfIOSWIqA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:06:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609710 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6415149DF1; Thu, 28 Mar 2024 22:08:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663696; cv=none; b=A+TWcHRL4DpujPwsWCunMqET33dPEogjPE++I/3Yd7xFUWXWkLNeZv9yqPSbPvtnmenB4FQ1l5ls3mWooVgWtnrHlX46T+fkz+g/vICbda/loDKdxpsUwPMo+5msTEXfNg6aBzX1QY+/0LRX7w5Um2IKdeHwlup9pmRiNdHq3zg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663696; c=relaxed/simple; bh=/xYrha54uJFPxVN5x8QB5L3NGL5ccb8m4VpQnRJW1Rw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Lz+ceadtxFg+KYRy6FAVuH+hPCKHJsH/qX1M3xVxQxyayx/jw9WIMXuYygKg5BAPPrYj+xhESA/y29btgxI6nCXa02j5jks5c30YEtsdBHm1BJLc+tLgynm6tbKDQrfyciP4MpWMNJw98/uvA31xtyoA1RPOvbxWyhtGlici3Sc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC81EC43394; Thu, 28 Mar 2024 22:08:15 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:29 +0100 Subject: [PATCH 51/52] USB: serial: xr: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-51-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=660; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=/xYrha54uJFPxVN5x8QB5L3NGL5ccb8m4VpQnRJW1Rw=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenn5MvC/FywybRVvo4fyIpww0rThcc659VZx FrCK8Q+IZWJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp5wAKCRDBN2bmhouD 1+JOD/9IYKUnRG881nM/y2edWqOi6GQIHckwBhDdYUb/B/p7NXzQCksw2Wazg1HtOvbScPa9Fiu q2Vu04doRoIkBrcIMWFCFyST7eP6+Aflo4kihOzIRRk0Fnrf0cQSzrKO/XGLF0F/2j7Pn97OAkI zs5xx7piUFocYVGbkzFRsvAwAY9+bPLbexYKyDQ7OiwsUcIEUSRj2J1ncA/xVQvy+JZC2PteH45 Zpu8a+/Cqm7iLwj6etkfTUOlKGK6+UmJ/Tay47j15HGEuA15LL0TJVAOLAxYG61RnwKrk20o41L jXv1OpDF8uk0E7nJl8SQAFYs+BZOlZgS7s9TA6aDB7goRD3XONFCUov6bMyi5IZrC96QmqnuZ+8 vBiLE36dtmBUhhqLG4B9emNrVa1PVV5CjIIGF2nWoohdivBZBKe9OkEUJD7OYgPLT4xeBUvgIjU Xyso0mhLekTQcib8M08FyvK5UhKyDhRb/xLsnGZYYnHe7mz4hrazrKjaAWny7ZAc8cZNNy+q8eD L7nED9+PXU4zwc5uFwtybKL/bbPzq2ABGu5GcDQ90/TQvtN0bPBH8sEy1caxTHH0HwXmEzz1Kai Ud7cKPD6eBiNx8JtfGvxVM5RUiCHivgHjY2raVy810zyI2dBxNH//u33K7nA3nTezwvNFM8D92H S0sXT9uEIA5Xx5g== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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, From patchwork Thu Mar 28 22:06:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13609711 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 03C59149DF1; Thu, 28 Mar 2024 22:08:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663699; cv=none; b=DkmjuLbh3wXtw2kitnctp9LtVGjLfqSwzMt0oCSJz0qK7HrTEHKFJ3psf708Of8WBxPKlzzcXZCM9oedGxvgywI6pv6Hlw0GDm0ph3wjnuGON+fOByD8z0hNWt2bcepcIC5q3qYHDo6lbmEnTdc6FlrYlqCfT26R2kjuYDaz8wM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711663699; c=relaxed/simple; bh=LLgiLkEII5evsgK2AeBKp1W4Vw206VrKkeb0L7m1FcA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ElCOk//0r2s0J9rqci5S0HCCzyG90qgoK4QwCYMyF1Pxhe5Q+g5PnHBIweZW99cJ8/5Xf9LdK+gCzBXQ4mdBiH/DhtBiXzuZNaS/vfjAbUwPUQwQFTRX5gt7OPq4sYjEe1blL4HH6kxHioTsXsbiStS4vvoOvQ2R8usxJGqlO2U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B7A9C433C7; Thu, 28 Mar 2024 22:08:17 +0000 (UTC) From: Krzysztof Kozlowski Date: Thu, 28 Mar 2024 23:06:30 +0100 Subject: [PATCH 52/52] USB: serial: xsens_mt: drop driver owner initialization Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240328-module-owner-usb-serial-v1-52-bc46c9ffbf56@linaro.org> References: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> In-Reply-To: <20240328-module-owner-usb-serial-v1-0-bc46c9ffbf56@linaro.org> To: Johan Hovold , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=672; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=LLgiLkEII5evsgK2AeBKp1W4Vw206VrKkeb0L7m1FcA=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmBenomRGUsL6cULpwOBe0G2bVuRPfxmlAfgNA+ 2cWHgqoT3aJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZgXp6AAKCRDBN2bmhouD 1/g2D/9fX5oDeyuAqMHK3i1Su4fUJkok1yK3RHtQTFrpbA1qln3eumD102qFjnVBiHhunYN1mq0 LBOue/jhu7eFeGMiFLUex6gx7kctOD3Tj4V02cIdV5C8OGwQZmhGAGHexnlDxNMGjYIdqZjY5u+ QlSDDigE30r7Ydh/ue+6Dr/9kK9G1hDbA8OserSt0wckd+Lyaa/YRtilgupADpmOZGtQSAeN4xl nQLQBXTT2q1NKbgT4h6/dUOQ4D6HyMLN7yclKdPFEPmM/Zn4eBUWy2SSVrgU8t35jpHCYQ5hvmy Uk4UhTJeQwPIOk09ZC1I9u2q+wcM9M4rRItSJjV6DvW4DDDeljtoe6Xz+9ymq0o088jZnWej3Zl TXlOEI4UzjUPQi2ONSfcBgD9vYKleUVmwZIjTQcP76fgfY60hCuYUzfb6qy8+0FjwWSjMjDPjwe xuxCugPHIQL8bvqsxNC90xFYF/x7h1nBDLIXZQsBqn5xmSKbtXNgvQk3OS+BWHmn4nb2hGs4Y7F L+SyTh0DPfYcv5oeidnTOzDdrF7SG1w+iJ5VQidawuyI3oHprrWic5CdJg/JXGQHd3C+Cp8wilv qj1csNu7CL/o9HDe2pUTgXdNLNCM1GZDRRSPaTJA+z3TqBmQ4vFITzK6hNBgB5f/GK1W5Cz8rhu SI8fYbC8zRfnfIA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Core in usb_serial_register_drivers() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- 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,