summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mediatek
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2016-07-06 13:30:13 +0000
committerDavid S. Miller <davem@davemloft.net>2016-07-06 22:31:36 -0700
commitfcf752ae19c1a79e90b8613ffb51c845594e3692 (patch)
tree44749e45e7bd4609956b7c89c29bcf7906b9b382 /drivers/net/ethernet/mediatek
parent30d0844bdcea9fb8b0b3c8abfa5547bc3bcf8baa (diff)
downloadlwn-fcf752ae19c1a79e90b8613ffb51c845594e3692.tar.gz
lwn-fcf752ae19c1a79e90b8613ffb51c845594e3692.zip
net: mediatek: remove .owner field for driver
Remove .owner field since calls to module_platform_driver() will set it automatically. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mediatek')
-rw-r--r--drivers/net/ethernet/mediatek/mtk_eth_soc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
index 682797ea5e11..760f3d71eda3 100644
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
@@ -1910,7 +1910,6 @@ static struct platform_driver mtk_driver = {
.remove = mtk_remove,
.driver = {
.name = "mtk_soc_eth",
- .owner = THIS_MODULE,
.of_match_table = of_mtk_match,
},
};