From: huangdaode Date: Fri, 30 Oct 2015 02:50:54 +0000 (+0800) Subject: net: hisilicon: Remove .owner assignment from platform_driver X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1cf7d8dda2bd1704ca8552c93d5475af444a986b;p=linux-beck.git 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 Signed-off-by: David S. Miller --- 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,