diff mbox series

[06/18] ASoC: rt1308-sdw: drop driver owner assignment

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

Patch

diff --git a/sound/soc/codecs/rt1308-sdw.c b/sound/soc/codecs/rt1308-sdw.c
index 63d4abf964d4..563df483a466 100644
--- a/sound/soc/codecs/rt1308-sdw.c
+++ b/sound/soc/codecs/rt1308-sdw.c
@@ -804,7 +804,6 @@  static const struct dev_pm_ops rt1308_pm = {
 static struct sdw_driver rt1308_sdw_driver = {
 	.driver = {
 		.name = "rt1308",
-		.owner = THIS_MODULE,
 		.pm = &rt1308_pm,
 	},
 	.probe = rt1308_sdw_probe,