projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e5eded
)
net: emac: remove .owner field for driver
author
Wei Yongjun
<weiyongjun1@huawei.com>
Thu, 15 Sep 2016 02:26:10 +0000
(
02:26
+0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 16 Sep 2016 08:25:50 +0000
(
04:25
-0400)
Remove .owner field if calls are used which set it automatically.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/emac.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/qualcomm/emac/emac.c
b/drivers/net/ethernet/qualcomm/emac/emac.c
index 42d2d233b60fbdb6d4a7608635508e27d83a8578..e47d38701d6c995a8d0d20edb0a73cbe1d286f9a 100644
(file)
--- a/
drivers/net/ethernet/qualcomm/emac/emac.c
+++ b/
drivers/net/ethernet/qualcomm/emac/emac.c
@@
-730,7
+730,6
@@
static struct platform_driver emac_platform_driver = {
.probe = emac_probe,
.remove = emac_remove,
.driver = {
- .owner = THIS_MODULE,
.name = "qcom-emac",
.of_match_table = emac_dt_match,
},