From patchwork Sun Mar 31 09:17:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13612180 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 8D6A92566; Sun, 31 Mar 2024 09:17:47 +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=1711876667; cv=none; b=fyHBNmAe3ac56n/5CqqelHnfget8vQZGeY7yAov0v4B/T1Ju5kAI7TuECct0uNuDcw5lSkcrT0BHBYxyjkt0SRD2HFrPoH2hrYfTWGOHgun3t1hPbZogqKDilPBU9b913QR5jV86rC0Gmp9CaatqhGbC937/Hcj56z3Iqn1YXIc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711876667; c=relaxed/simple; bh=VzdFzXRE2VaRW7jFZgwq93tJA5xuLG9fPdxBzjiMqvM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=YmNANHbA5BUEVFjZCnVs7h60yVzrgbTjLmYXRko0xijwQE0pxKoYCJ5KbhnJGlgccU9qHMaKXw3U9X9hNS578bwOousxHFfDzphyznK4vPjNNoAaZCbiabvheVut1IDtnaE0eVA1fwb9GHziYCyDUbljCAVsQmS1nT4MbgivYdc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TmZ0Zyl0; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TmZ0Zyl0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E617C433F1; Sun, 31 Mar 2024 09:17:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711876667; bh=VzdFzXRE2VaRW7jFZgwq93tJA5xuLG9fPdxBzjiMqvM=; h=From:To:Cc:Subject:Date:From; b=TmZ0Zyl0dHghbpysYElex7UbdbqFMjqVZ9jfc4of38vp92x2Ggicmbza02ifRZyNe 1TQOiRfyYJy90FHAWMK6pQxIo4xQBQomixhiDa82oWD7APSNNNfuIVaDHX+yN9Ds2A hqnywqXPFnnoubHSKvEAj+w5VFPm/MR7IPQ5fqL22XyHGWtPMLooJXOETsJq/sD6Ex lTHuYjdGOvWTbWcERl+3lJPyTmBXVvrjy7EQDPW82+o2K8JCIXW3Y95nmH2txcoA5g IfXDZg2EoKH9SLDB70edXR9gwvhGRWUFHaDKCR02wzl6XPPFkHZX9TH3ztnlKcB4Ig ukevB8jk8ZHyw== From: Krzysztof Kozlowski To: Ran Wang , Greg Kroah-Hartman , Heikki Krogerus , linux-usb@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 1/3] usb: phy: fsl-usb: drop driver owner assignment Date: Sun, 31 Mar 2024 11:17:35 +0200 Message-Id: <20240331091737.19836-1-krzk@kernel.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Core in platform_driver_register() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- Changes in v2: 1. None --- drivers/usb/phy/phy-fsl-usb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/phy/phy-fsl-usb.c b/drivers/usb/phy/phy-fsl-usb.c index 79617bb0a70e..1ebbf189a535 100644 --- a/drivers/usb/phy/phy-fsl-usb.c +++ b/drivers/usb/phy/phy-fsl-usb.c @@ -1005,7 +1005,6 @@ struct platform_driver fsl_otg_driver = { .remove_new = fsl_otg_remove, .driver = { .name = driver_name, - .owner = THIS_MODULE, }, }; From patchwork Sun Mar 31 09:17:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13612181 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 CBF157603F; Sun, 31 Mar 2024 09:17:49 +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=1711876669; cv=none; b=HNHfJ04sFe1VZxBK7x42KbxDz7L7YFbKW0/RQY/n6EF7R02Dv0yWJnQv/W8S5yTlQNXYLD26gP9SX0r6mHtv0cKBO28EIxyU5zZHjllpzFHVM6SmNkBh/U17jNXqYt5OZ/z4DT5E1785S7Q0CbS/C3Zh7r9UdZoq7A6JWXvf/AQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711876669; c=relaxed/simple; bh=b5bp6YpDxDNAhHm2eA09MHiyRDWjIhYQ/8XegN7bvrU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Krgi7KnHp3PRxSsstLx8wzUDwwVsSZ95p1900DqQoOJXvIa3uPndrbwLm/mX8mizlCWxXdIPYD7Lx/oYyACUO7gL0u6OcCwxTYuJGfR/L14iXgZSFcAWgmk9Qfg8cGjlBSMbJMoHG83qaL2CqC6bVTi2OO5ovRl6TrKeNnlHOZg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=A0jbTc0m; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="A0jbTc0m" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81E48C43394; Sun, 31 Mar 2024 09:17:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711876669; bh=b5bp6YpDxDNAhHm2eA09MHiyRDWjIhYQ/8XegN7bvrU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A0jbTc0mAulFmBNoTtt//EDp/0g+p4YpKduEYSB4vomzDvZQbvdeBeJViLQZS+E4P tuv2na/t+5gpAGnMUfgkpnyU8jW1slfli7lSIVFIHZvfNRUo/ejGaLAw3tZQeC7UJ8 j/C6WdlKYNf2NntBp1VrB0akoqpsn3h7Sx4IQZzqAp6S+j5ow5fulOs90Wx7pa5ZQv E8IadavguuF70IR6otgk4V5nEHI/5DHiM9ztMaJwNp8Ug7DIm5DotQjZzNWhnKUimb 2idSeatseygg1Kw4Q4JTKSF3d/xe3D3WJv6fwB8okT3Py5RRLl3T9zEt38O1zCSOmz VnsAIR0ZlbX8g== From: Krzysztof Kozlowski To: Ran Wang , Greg Kroah-Hartman , Heikki Krogerus , linux-usb@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 2/3] usb: typec: nvidia: drop driver owner assignment Date: Sun, 31 Mar 2024 11:17:36 +0200 Message-Id: <20240331091737.19836-2-krzk@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240331091737.19836-1-krzk@kernel.org> References: <20240331091737.19836-1-krzk@kernel.org> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Core in typec_altmode_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Heikki Krogerus --- Changes in v2: 1. None --- drivers/usb/typec/altmodes/nvidia.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/typec/altmodes/nvidia.c b/drivers/usb/typec/altmodes/nvidia.c index c36769736405..fe70b36f078f 100644 --- a/drivers/usb/typec/altmodes/nvidia.c +++ b/drivers/usb/typec/altmodes/nvidia.c @@ -35,7 +35,6 @@ static struct typec_altmode_driver nvidia_altmode_driver = { .remove = nvidia_altmode_remove, .driver = { .name = "typec_nvidia", - .owner = THIS_MODULE, }, }; module_typec_altmode_driver(nvidia_altmode_driver); From patchwork Sun Mar 31 09:17:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13612182 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 279E377F2F; Sun, 31 Mar 2024 09:17:51 +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=1711876672; cv=none; b=UKWHf/PufJyRS56SA5QJzE95Qm6bTlpfa3ov/aWNi1jKvghVHwA6+ImySzMOP4ioNhucWLHIXPrm+TBwubjDLet37rWwh49KpsELPtMj3Ij4UodjsIZH+xOKXDtbW22EJ7d1ESSdq3MJsUDiqQvoj6ITG4Uzp1ejdtSUtLZGzHU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711876672; c=relaxed/simple; bh=ZvMc1elPVJhE6Ny4UYVuUqULOUmKNl8y6zwFM7uGIh0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=WiCHBUXinBNUvNFhpLvpEOk4DOQpqxwq4qaqUURGm/WDRERp3PyMoM3zYZz53779gyPuLmdT4/IjElKfJHeWJu8Z0vmAiC/9sT4plQLGhhzNVN4+G07yCEUH9AFOh8vUQ84OoWEodzKCVHmM6KA5mcC6CUu7QUEV1jHFHPdt3js= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KQkVLCGO; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KQkVLCGO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE181C433F1; Sun, 31 Mar 2024 09:17:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711876671; bh=ZvMc1elPVJhE6Ny4UYVuUqULOUmKNl8y6zwFM7uGIh0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KQkVLCGOR+WxOkbH46DMO6r6z5ar9wO2q1mTyCjAVRjUUH3IpKiL4Lc4RF3kMDTM3 horj/O3zCC8wl442itIeiUgeHhDXDJGaOwZ45aB/2DsPZTAhGcTOK4K88TtC9Dvk82 aint35VjVXD1MKD3mCSTrZGRQzaug7otAAHHjWDt6awFgQbyUttuZGFCfUF+7Kmtwf TFjHYnnUfE4DcTR0oHMAvQHUH4ePtBwzBD7Q3ov6uKNcfkLTwCwPIM+i18Ku8CuTGV S18hiZYYbYemuMJw+vWK1dYdtBR0v6VPCGlT9V3j4sIi6gqwpcxdXvmECdAt5JIYXs 8IYYAsz55DVwg== From: Krzysztof Kozlowski To: Ran Wang , Greg Kroah-Hartman , Heikki Krogerus , linux-usb@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 3/3] usb: typec: displayport: drop driver owner assignment Date: Sun, 31 Mar 2024 11:17:37 +0200 Message-Id: <20240331091737.19836-3-krzk@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240331091737.19836-1-krzk@kernel.org> References: <20240331091737.19836-1-krzk@kernel.org> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Core in typec_altmode_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Heikki Krogerus --- Changes in v2: 1. New patch --- drivers/usb/typec/altmodes/displayport.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/typec/altmodes/displayport.c b/drivers/usb/typec/altmodes/displayport.c index 038dc51f429d..596cd4806018 100644 --- a/drivers/usb/typec/altmodes/displayport.c +++ b/drivers/usb/typec/altmodes/displayport.c @@ -802,7 +802,6 @@ static struct typec_altmode_driver dp_altmode_driver = { .remove = dp_altmode_remove, .driver = { .name = "typec_displayport", - .owner = THIS_MODULE, .dev_groups = displayport_groups, }, };