diff mbox series

[03/18] ASoC: tlv320aic3x-spi: drop driver owner assignment

Message ID 20240327-module-owner-var-v1-3-86d5002ba6dc@linaro.org
State Accepted
Commit 54b8a522e67a8dfe135867c00f9fa297f0841c92
Headers show
Series ASoC: drop driver owner assignment | expand

Commit Message

Krzysztof Kozlowski March 27, 2024, 5:44 p.m. UTC
Core in spi_register_driver() already sets the .owner, so driver
does not need to.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 sound/soc/codecs/tlv320aic3x-spi.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/sound/soc/codecs/tlv320aic3x-spi.c b/sound/soc/codecs/tlv320aic3x-spi.c
index deed6ec7e081..f8c1c16eaa0e 100644
--- a/sound/soc/codecs/tlv320aic3x-spi.c
+++ b/sound/soc/codecs/tlv320aic3x-spi.c
@@ -63,7 +63,6 @@  MODULE_DEVICE_TABLE(of, aic3x_of_id);
 static struct spi_driver aic3x_spi_driver = {
 	.driver = {
 		.name = "tlv320aic3x",
-		.owner = THIS_MODULE,
 		.of_match_table = aic3x_of_id,
 	},
 	.probe = aic3x_spi_probe,