diff mbox series

[01/18] ASoC: loongson: i2s/pci: drop driver owner assignment

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

Commit Message

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

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

Patch

diff --git a/sound/soc/loongson/loongson_i2s_pci.c b/sound/soc/loongson/loongson_i2s_pci.c
index fa90361865c6..ec18b122cd79 100644
--- a/sound/soc/loongson/loongson_i2s_pci.c
+++ b/sound/soc/loongson/loongson_i2s_pci.c
@@ -160,7 +160,6 @@  static struct pci_driver loongson_i2s_driver = {
 	.id_table = loongson_i2s_ids,
 	.probe = loongson_i2s_pci_probe,
 	.driver = {
-		.owner = THIS_MODULE,
 		.pm = pm_sleep_ptr(&loongson_i2s_pm),
 	},
 };