2024-03-27 17:54:56

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH net-next 1/4] net: microchip: encx24j600: drop driver owner assignment

Core in spi_register_driver() already sets the .owner, so driver
does not need to.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
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,
--
2.34.1



2024-03-27 17:55:13

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH net-next 2/4] net: wwan: mhi: drop driver owner assignment

Core in mhi_driver_register() already sets the .owner, so driver
does not need to.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
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,
},
};

--
2.34.1


2024-03-27 17:55:31

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH net-next 3/4] nfc: mrvl: spi: drop driver owner assignment

Core in spi_register_driver() already sets the .owner, so driver
does not need to.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
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),
},
};
--
2.34.1


2024-03-27 17:55:49

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH net-next 4/4] nfc: st95hf: drop driver owner assignment

Core in spi_register_driver() already sets the .owner, so driver
does not need to.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
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,
--
2.34.1


2024-03-27 21:03:41

by Sergey Ryazanov

[permalink] [raw]
Subject: Re: [PATCH net-next 2/4] net: wwan: mhi: drop driver owner assignment

On 27.03.2024 19:48, Krzysztof Kozlowski wrote:
> Core in mhi_driver_register() already sets the .owner, so driver
> does not need to.
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>

Acked-by: Sergey Ryazanov <[email protected]>

2024-03-29 19:41:21

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH net-next 1/4] net: microchip: encx24j600: drop driver owner assignment

Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <[email protected]>:

On Wed, 27 Mar 2024 18:48:07 +0100 you wrote:
> Core in spi_register_driver() already sets the .owner, so driver
> does not need to.
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> ---
> drivers/net/ethernet/microchip/encx24j600.c | 1 -
> 1 file changed, 1 deletion(-)

Here is the summary with links:
- [net-next,1/4] net: microchip: encx24j600: drop driver owner assignment
https://git.kernel.org/netdev/net-next/c/648bb2bf444f
- [net-next,2/4] net: wwan: mhi: drop driver owner assignment
https://git.kernel.org/netdev/net-next/c/343941206138
- [net-next,3/4] nfc: mrvl: spi: drop driver owner assignment
https://git.kernel.org/netdev/net-next/c/e3c95d56190c
- [net-next,4/4] nfc: st95hf: drop driver owner assignment
https://git.kernel.org/netdev/net-next/c/e93af7228605

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html