From patchwork Wed Mar 27 17:48: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: 13607178 X-Patchwork-Delegate: kuba@kernel.org 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 62D5914F10A; Wed, 27 Mar 2024 17:48:19 +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=1711561699; cv=none; b=uTLB5Qeuz4Hr9z9Y6iXBPsXB6Q47/qfuwYzK5cNElYQ7HqnaMJCB8qhwnh2bt33n4nINFio7nxWkSjc7NCl7x++nmOTKqTJSRgrNO2VNnZkpST4R3MhWFzVBIomy1QQJeqoSwYHCWmvUan9Eu/gbUDT6iOz4jm0Y+obqaOLlK04= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711561699; c=relaxed/simple; bh=a/I//LM8NJtsGdqwIUi4zC1d+cVUdEefVho6N/5BZvg=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=RKCq4RvKjWXOx+6n99Ei1Bkl8zG8c0RfDNLmZXQZT3Bem3dnsS0fOSgpqWpqdlz0gSk61kK9ROIUxZyWD3NUiyPXBtpsuPAETf10WV/FHTTcIh+tBFtBOAGg9uzlIV9uLFriHmI/+zOyGoSf0Il32arQrSZRJv4LSgOqABV35mY= 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 B851CC433C7; Wed, 27 Mar 2024 17:48:15 +0000 (UTC) From: Krzysztof Kozlowski To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Loic Poulain , Sergey Ryazanov , Johannes Berg , Krzysztof Kozlowski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 1/4] net: microchip: encx24j600: drop driver owner assignment Date: Wed, 27 Mar 2024 18:48:07 +0100 Message-Id: <20240327174810.519676-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org Core in spi_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- drivers/net/ethernet/microchip/encx24j600.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/microchip/encx24j600.c b/drivers/net/ethernet/microchip/encx24j600.c index d7c8aa77ec75..cdc2872ace1b 100644 --- a/drivers/net/ethernet/microchip/encx24j600.c +++ b/drivers/net/ethernet/microchip/encx24j600.c @@ -1112,7 +1112,6 @@ MODULE_DEVICE_TABLE(spi, encx24j600_spi_id_table); static struct spi_driver encx24j600_spi_net_driver = { .driver = { .name = DRV_NAME, - .owner = THIS_MODULE, .bus = &spi_bus_type, }, .probe = encx24j600_spi_probe, From patchwork Wed Mar 27 17:48: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: 13607179 X-Patchwork-Delegate: kuba@kernel.org 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 BFA7614F10A; Wed, 27 Mar 2024 17:48: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=1711561702; cv=none; b=W/73GdOSg5k/YgQH6LVKiI/CRGvz55gmmI44qymRI+doogChqfQD8cMbhF2ehw873YkKicqsf/OTJ7bGox5L6OiktPsU01l7umAzY82jOcIehnE2QB3nbw3iCGYF/z/MfUnk2J7nGHYQoJDQrO8MnJOOhotz7FCz3CKA/zVsJvE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711561702; c=relaxed/simple; bh=rm13xFUqa0pa+J1GB/zpMNsrp2zZsiEdLV5ecYAW7uA=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=O57/aWjqOCUoktHahbSWrNlisUzory1jRc508d+3b8rle5zihWNtVzFuFfUtLEbxUH7T/mQ6K0/FEefH+AWZQ2AfTC1t9WG2APsMPGcA7VBLOEVQaTr9/OCvZQ1W5yC5f3Efq09+UI8oyP5wVH0NqEno6dMn27VEwZGpGNjJVdA= 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 9C495C433F1; Wed, 27 Mar 2024 17:48:19 +0000 (UTC) From: Krzysztof Kozlowski To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Loic Poulain , Sergey Ryazanov , Johannes Berg , Krzysztof Kozlowski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 2/4] net: wwan: mhi: drop driver owner assignment Date: Wed, 27 Mar 2024 18:48:08 +0100 Message-Id: <20240327174810.519676-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240327174810.519676-1-krzysztof.kozlowski@linaro.org> References: <20240327174810.519676-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org Core in mhi_driver_register() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski Acked-by: Sergey Ryazanov --- drivers/net/wwan/mhi_wwan_mbim.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wwan/mhi_wwan_mbim.c b/drivers/net/wwan/mhi_wwan_mbim.c index 3f72ae943b29..f2aef84fc08d 100644 --- a/drivers/net/wwan/mhi_wwan_mbim.c +++ b/drivers/net/wwan/mhi_wwan_mbim.c @@ -648,7 +648,6 @@ static struct mhi_driver mhi_mbim_driver = { .id_table = mhi_mbim_id_table, .driver = { .name = "mhi_wwan_mbim", - .owner = THIS_MODULE, }, }; From patchwork Wed Mar 27 17:48: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: 13607180 X-Patchwork-Delegate: kuba@kernel.org 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 497D614F105; Wed, 27 Mar 2024 17:48: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=1711561707; cv=none; b=RzZZuzM55bxfZ8x26UNH8azE5PraZ6Z6jmdCFRDF5bMzRW3sHxz4mOZjC9Y9YW0rHSKjqWevvWBdGfexSXOQdvV+kzqCZ7umF8zgEdRIOU5+H6pXz+fgfFSHvvUiwImHumFiGy0KlqWE+KE3lGIZxJqqVG0siSYKCWwfzeNa7MM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711561707; c=relaxed/simple; bh=hSedw07vWJALRZnkhNHXpxs7dAVflXhYDSmfvk7WWFM=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=tpAk87rh4wCfU0AiqFNydeeifMhdyrogM1AGKUKfWCyIc4iY/ZNfLa+NJjx0jBMt8+m1Blc2FYYc/YGi6++hQ8xkBtNxvPvyzuSk6uEgZpXDE0yU7CrukDEBlC1tWTpMRS2eFagHhW7hzgdyeJ5uGfpcX+AMwDmi4j8lFE/HDks= 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 6A002C433C7; Wed, 27 Mar 2024 17:48:23 +0000 (UTC) From: Krzysztof Kozlowski To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Loic Poulain , Sergey Ryazanov , Johannes Berg , Krzysztof Kozlowski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 3/4] nfc: mrvl: spi: drop driver owner assignment Date: Wed, 27 Mar 2024 18:48:09 +0100 Message-Id: <20240327174810.519676-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240327174810.519676-1-krzysztof.kozlowski@linaro.org> References: <20240327174810.519676-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org Core in spi_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- drivers/nfc/nfcmrvl/spi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/nfc/nfcmrvl/spi.c b/drivers/nfc/nfcmrvl/spi.c index ad3359a4942c..9c8cde1250fb 100644 --- a/drivers/nfc/nfcmrvl/spi.c +++ b/drivers/nfc/nfcmrvl/spi.c @@ -199,7 +199,6 @@ static struct spi_driver nfcmrvl_spi_driver = { .id_table = nfcmrvl_spi_id_table, .driver = { .name = "nfcmrvl_spi", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(of_nfcmrvl_spi_match), }, }; From patchwork Wed Mar 27 17:48: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: 13607181 X-Patchwork-Delegate: kuba@kernel.org 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 5144514F114; Wed, 27 Mar 2024 17:48:30 +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=1711561712; cv=none; b=RJuuvN0GBfNDR2R51IApVKNLh+t0A9PnsUcSltrDf2UIzHH8AqIeGtZtSIQZxP6RVDYJsXe9DKWb9xLaOXx4WCWKzUcUnTuo7i5/H7k58uu+sDYbVZS1xP/hf1K1s7FsjB4OvEAghGkGpNAsVeV6tXhJlQaBAjX+GzGXUVo1uS0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711561712; c=relaxed/simple; bh=GlXTJYgV3U0VaavTKzUi652h6ZbWONW0X+LAIesw5uY=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=UVYaDVWLWCedAsRuXZGf0pxZ1JK3ciKhcBm8GUsIKxJ3U3Ywb3Y8lAp5ZPa1zMo9Clbg6qDTehB0aFl30gCEaYGCzo2PcqPYgBWg14g9wBs5XeX88HlUcSYYoPNgE64WKPX4rmpe+dGQXl/UTwdc/4m8eaCJduv0vBTPW8vHoVY= 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 9A55EC433F1; Wed, 27 Mar 2024 17:48:27 +0000 (UTC) From: Krzysztof Kozlowski To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Loic Poulain , Sergey Ryazanov , Johannes Berg , Krzysztof Kozlowski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 4/4] nfc: st95hf: drop driver owner assignment Date: Wed, 27 Mar 2024 18:48:10 +0100 Message-Id: <20240327174810.519676-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240327174810.519676-1-krzysztof.kozlowski@linaro.org> References: <20240327174810.519676-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org Core in spi_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- drivers/nfc/st95hf/core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/nfc/st95hf/core.c b/drivers/nfc/st95hf/core.c index ed704bb77226..ddefe470f4e9 100644 --- a/drivers/nfc/st95hf/core.c +++ b/drivers/nfc/st95hf/core.c @@ -1242,7 +1242,6 @@ static void st95hf_remove(struct spi_device *nfc_spi_dev) static struct spi_driver st95hf_driver = { .driver = { .name = "st95hf", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(st95hf_spi_of_match), }, .id_table = st95hf_id,