summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorhuangdaode <huangdaode@hisilicon.com>2015-10-30 10:50:54 +0800
committerDavid S. Miller <davem@davemloft.net>2015-11-01 16:03:41 -0500
commit1cf7d8dda2bd1704ca8552c93d5475af444a986b (patch)
tree03f6e72e3ba97844ef90f8f92051a55df4bb70f9 /drivers/net/ethernet
parent76e398a6271285c1f361d66445a55cdcee5c1b4b (diff)
downloadlinux-1cf7d8dda2bd1704ca8552c93d5475af444a986b.tar.bz2
net: hisilicon: Remove .owner assignment from platform_driver
platform_driver doesn't need to set .owner, because platform_driver_register() will set it. Signed-off-by: huangdaode <huangdaode@hisilicon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r--drivers/net/ethernet/hisilicon/hns/hns_enet.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns/hns_enet.c b/drivers/net/ethernet/hisilicon/hns/hns_enet.c
index 302d3ae8e9e5..08cef0dfb5db 100644
--- a/drivers/net/ethernet/hisilicon/hns/hns_enet.c
+++ b/drivers/net/ethernet/hisilicon/hns/hns_enet.c
@@ -1628,7 +1628,6 @@ MODULE_DEVICE_TABLE(of, hns_enet_of_match);
static struct platform_driver hns_nic_dev_driver = {
.driver = {
.name = "hns-nic",
- .owner = THIS_MODULE,
.of_match_table = hns_enet_of_match,
},
.probe = hns_nic_dev_probe,