Skip to contentSkip to conversation

ath10k: snoc: Remove owner assignment from platform_driver

PATCH In review Fabio Estevam 2 participants 3 messages May 5, 2018 – May 12, 2018 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath10k: snoc: Remove owner assignment from platform_driver

From: Fabio Estevam <[email protected]>

Structure platform_driver does not need to set the owner field, as this will be populated by the driver core.

Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci.

---
 drivers/net/wireless/ath/ath10k/snoc.c | 1 -
 1 file changed, 1 deletion(-)
drivers/net/wireless/ath/ath10k/snoc.c +0 -1
index 47a4d2a..a3a7042 100644
@@ -1385,7 +1385,6 @@ static struct platform_driver ath10k_snoc_driver = {
 		.remove = ath10k_snoc_remove,
 		.driver = {
 			.name   = "ath10k_snoc",
-			.owner = THIS_MODULE,
 			.of_match_table = ath10k_snoc_dt_match,
 		},
 };
Signature · 1 line
2.7.4
#1 lore raw
Quoted 7 lines · Fabio Estevam

Structure platform_driver does not need to set the owner field, as this will be populated by the driver core.

Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci.

Patch applied to ath-next branch of ath.git, thanks.

469bd5eab622 ath10k: snoc: Remove owner assignment from platform_driver

Signature · 3 lines
https://patchwork.kernel.org/patch/10381959/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
#2 lore raw
In reply to Fabio Estevam
Quoted 7 lines · Fabio Estevam

Structure platform_driver does not need to set the owner field, as this will be populated by the driver core.

Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci.

Patch applied to ath-next branch of ath.git, thanks.

469bd5eab622 ath10k: snoc: Remove owner assignment from platform_driver

Signature · 9 lines
https://patchwork.kernel.org/patch/10381959/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k