mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 07:24:39 +08:00
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>
This commit is contained in:
parent
76e398a627
commit
1cf7d8dda2
@ -1628,7 +1628,6 @@ MODULE_DEVICE_TABLE(of, hns_enet_of_match);
|
|||||||
static struct platform_driver hns_nic_dev_driver = {
|
static struct platform_driver hns_nic_dev_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "hns-nic",
|
.name = "hns-nic",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = hns_enet_of_match,
|
.of_match_table = hns_enet_of_match,
|
||||||
},
|
},
|
||||||
.probe = hns_nic_dev_probe,
|
.probe = hns_nic_dev_probe,
|
||||||
|
Loading…
Reference in New Issue
Block a user