From patchwork Wed Mar 27 17:46: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: 784453 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 D22C9153561; Wed, 27 Mar 2024 17:46: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=1711561576; cv=none; b=IUiIGna+zHw7LUC7ob+/N3cTMOFG+4JHU2m5l8zCz2b1NL9Z31R/bGUg2dKAoiT2SIresIj1m8eDjOQyiuJ9f1eoFsAD5vkV8y7pn3eqsFptEH1EjwglB5ruHHIWcgxJv5WcpHJ7lBt0JAvilHeaaxemgD4p6lC8S9+RBk1XQfo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711561576; c=relaxed/simple; bh=yAreWuZEIL/zNEHUrOiCbHPbgbxn2PKGNY7bWws5WmQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=PY+ZwoPLlcGz/fibnnox6Z+hkM0vWK42icD7pR47AINGnOEQ55z5M5yAQhty1VOOB+1gN9nrqOq/p5HQe4fElLxfrcw25k/DdhDfLaJI9jVJ+KY7lPhuP3Tvwl48Xou1BLpgexya/QmLwDzd2N9TBC+/0GCCNJdLaZ9ivM0dbHE= 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 1E231C433F1; Wed, 27 Mar 2024 17:46:13 +0000 (UTC) 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 1/2] usb: phy: fsl-usb: drop driver owner assignment Date: Wed, 27 Mar 2024 18:46:08 +0100 Message-Id: <20240327174609.519252-1-krzysztof.kozlowski@linaro.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 Reviewed-by: Heikki Krogerus --- 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 Wed Mar 27 17:46: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: 783543 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 4955014F9C7; Wed, 27 Mar 2024 17:46: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=1711561580; cv=none; b=e58ZGukCHlldKBYAAoXZzZThEdH0SCvwSi33NSqQ+s0R4VxaFtqTKpxMI1vkZPqZJab3lVdQTLI2gtAH33q+0iXdEQR2H0aCHuv5FS+goKlUY1uuZ8dCaUrbV65nbPihg0gbMq1oYHDqcUpr6ODUsp+4VzAFo+Ea2Ut6XZsiG/c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711561580; c=relaxed/simple; bh=D3KX5SKybNupDTnb5hR1KIxN9EWoGvyKMl8t3n9oZU8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=WEw0HRGet+GYsotbmyD+UjY32+MKhF/jlAaHVAQ8pB0ve7zrN8iFYCAUyhCp8O8C9XQyxuKTOCdSwDq1hjnw94yVjF+lRJLGnzV3slPae1BgQe+csw9AXdU6Qy8ntkvcZXk0mBbp4AjUjwbXVekITutmTM345H/71l1BeDWW3dc= 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 53164C43399; Wed, 27 Mar 2024 17:46:16 +0000 (UTC) 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 2/2] usb: typec: nvidia: drop driver owner assignment Date: Wed, 27 Mar 2024 18:46:09 +0100 Message-Id: <20240327174609.519252-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240327174609.519252-1-krzysztof.kozlowski@linaro.org> References: <20240327174609.519252-1-krzysztof.kozlowski@linaro.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 --- 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);