summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-09-15 02:26:10 +0000
committerDavid S. Miller <davem@davemloft.net>2016-09-16 04:25:50 -0400
commit1d7b47a3c78e0b5391a18246f9637752a4565e5b (patch)
tree04130e00f62561945b579cb4f58f9552aaaa4b13
parent7e5eded5c189abaea77556da41af1195af841b0a (diff)
net: emac: remove .owner field for driver
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>
-rw-r--r--drivers/net/ethernet/qualcomm/emac/emac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qualcomm/emac/emac.c b/drivers/net/ethernet/qualcomm/emac/emac.c
index 42d2d233b60f..e47d38701d6c 100644
--- 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,
},