diff mbox series

[13/18] ASoC: rt712-sdca-dmic: drop driver owner assignment

Message ID 20240327-module-owner-var-v1-13-86d5002ba6dc@linaro.org (mailing list archive)
State Accepted
Commit e50d2fbb6371f4d8482f5e4e112155278db6fc34
Headers show
Series ASoC: drop driver owner assignment | expand

Commit Message

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

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

Patch

diff --git a/sound/soc/codecs/rt712-sdca-dmic.c b/sound/soc/codecs/rt712-sdca-dmic.c
index 0926b26619bd..0e4d7cbdc951 100644
--- a/sound/soc/codecs/rt712-sdca-dmic.c
+++ b/sound/soc/codecs/rt712-sdca-dmic.c
@@ -976,7 +976,6 @@  static int rt712_sdca_dmic_sdw_remove(struct sdw_slave *slave)
 static struct sdw_driver rt712_sdca_dmic_sdw_driver = {
 	.driver = {
 		.name = "rt712-sdca-dmic",
-		.owner = THIS_MODULE,
 		.pm = &rt712_sdca_dmic_pm,
 	},
 	.probe = rt712_sdca_dmic_sdw_probe,