OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ab10bb
)
net: ipa: fix platform_no_drv_owner.cocci warnings
author
YueHaibing
<yuehaibing@huawei.com>
Thu, 19 Mar 2020 12:11:27 +0000
(12:11 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 20 Mar 2020 04:01:20 +0000
(21:01 -0700)
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ipa/ipa_main.c
b/drivers/net/ipa/ipa_main.c
index
d6e7f25
..
28998dc
100644
(file)
--- a/
drivers/net/ipa/ipa_main.c
+++ b/
drivers/net/ipa/ipa_main.c
@@
-942,7
+942,6
@@
static struct platform_driver ipa_driver = {
.remove = ipa_remove,
.driver = {
.name = "ipa",
- .owner = THIS_MODULE,
.pm = &ipa_pm_ops,
.of_match_table = ipa_match,
},