projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfb353c
)
ath10k: snoc: Remove owner assignment from platform_driver
author
Fabio Estevam
<fabio.estevam@nxp.com>
Sat, 5 May 2018 03:04:08 +0000
(
00:04
-0300)
committer
Kalle Valo
<kvalo@codeaurora.org>
Sat, 12 May 2018 09:02:11 +0000
(12:02 +0300)
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>
drivers/net/wireless/ath/ath10k/snoc.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath10k/snoc.c
b/drivers/net/wireless/ath/ath10k/snoc.c
index 47a4d2a5bd4cb330832bb7b5c42d1d36dcddd6ed..a3a7042fe13ab79a701be77cb93ac0476a785175 100644
(file)
--- 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,
},
};