* [PATCH] ath10k: snoc: Remove owner assignment from platform_driver
@ 2018-05-05 3:04 Fabio Estevam
2018-05-12 9:02 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2018-05-05 3:04 UTC (permalink / raw)
To: kvalo; +Cc: ath10k, linux-wireless, Fabio Estevam
From: Fabio Estevam <fabio.estevam@nxp.com>
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.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
drivers/net/wireless/ath/ath10k/snoc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath10k/snoc.c b/drivers/net/wireless/ath/ath10k/snoc.c
index 47a4d2a..a3a7042 100644
--- a/drivers/net/wireless/ath/ath10k/snoc.c
+++ b/drivers/net/wireless/ath/ath10k/snoc.c
@@ -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,
},
};
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: ath10k: snoc: Remove owner assignment from platform_driver
2018-05-05 3:04 [PATCH] ath10k: snoc: Remove owner assignment from platform_driver Fabio Estevam
@ 2018-05-12 9:02 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2018-05-12 9:02 UTC (permalink / raw)
To: Fabio Estevam; +Cc: kvalo, ath10k, linux-wireless, Fabio Estevam
Fabio Estevam <festevam@gmail.com> wrote:
> 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.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
469bd5eab622 ath10k: snoc: Remove owner assignment from platform_driver
--
https://patchwork.kernel.org/patch/10381959/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-12 9:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-05 3:04 [PATCH] ath10k: snoc: Remove owner assignment from platform_driver Fabio Estevam
2018-05-12 9:02 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).