Message ID | 20240329-module-owner-sdio-v1-7-e4010b11ccaa@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | [1/7] mmc: sdio: store owner from modules with sdio_register_driver() | expand |
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> writes: > Core in sdio_register_driver() already sets the .owner, so driver does > not need to. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Also here the preferred title format is: wifi: wfx: drop driver owner initialization Feel free to take this via sdio tree: Acked-by: Kalle Valo <kvalo@kernel.org>
diff --git a/drivers/net/wireless/silabs/wfx/bus_sdio.c b/drivers/net/wireless/silabs/wfx/bus_sdio.c index 909d5f346a01..f290eecde773 100644 --- a/drivers/net/wireless/silabs/wfx/bus_sdio.c +++ b/drivers/net/wireless/silabs/wfx/bus_sdio.c @@ -267,7 +267,6 @@ struct sdio_driver wfx_sdio_driver = { .probe = wfx_sdio_probe, .remove = wfx_sdio_remove, .drv = { - .owner = THIS_MODULE, .of_match_table = wfx_sdio_of_match, } };
Core in sdio_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- Depends on the first patch. --- drivers/net/wireless/silabs/wfx/bus_sdio.c | 1 - 1 file changed, 1 deletion(-)