Message ID | 20240327174810.519676-1-krzysztof.kozlowski@linaro.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 648bb2bf444fd557192d6647945d6d8c8f7062e1 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next,1/4] net: microchip: encx24j600: drop driver owner assignment | expand |
Hello: This series was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: 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 <krzysztof.kozlowski@linaro.org> > --- > 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!
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,
Core in spi_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- drivers/net/ethernet/microchip/encx24j600.c | 1 - 1 file changed, 1 deletion(-)