diff mbox series

[02/18] ASoC: tlv320aic32x4-spi: drop driver owner assignment

Message ID 20240327-module-owner-var-v1-2-86d5002ba6dc@linaro.org (mailing list archive)
State Accepted
Commit 8a4836231c98bde3fa49ad657c09342d2d7e27a7
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/tlv320aic32x4-spi.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/sound/soc/codecs/tlv320aic32x4-spi.c b/sound/soc/codecs/tlv320aic32x4-spi.c
index d5976c91766e..92246243ff94 100644
--- a/sound/soc/codecs/tlv320aic32x4-spi.c
+++ b/sound/soc/codecs/tlv320aic32x4-spi.c
@@ -56,7 +56,6 @@  MODULE_DEVICE_TABLE(of, aic32x4_of_id);
 static struct spi_driver aic32x4_spi_driver = {
 	.driver = {
 		.name = "tlv320aic32x4",
-		.owner = THIS_MODULE,
 		.of_match_table = aic32x4_of_id,
 	},
 	.probe =    aic32x4_spi_probe,