mirror of https://gitee.com/openkylin/linux.git
net: ethernet: broadcom: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
69ddb8a2c8
commit
3a2f66b544
|
@ -1954,7 +1954,6 @@ static struct platform_driver bcm_sysport_driver = {
|
|||
.remove = bcm_sysport_remove,
|
||||
.driver = {
|
||||
.name = "brcm-systemport",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = bcm_sysport_of_match,
|
||||
.pm = &bcm_sysport_pm_ops,
|
||||
},
|
||||
|
|
|
@ -2664,7 +2664,6 @@ static struct platform_driver sbmac_driver = {
|
|||
.remove = __exit_p(sbmac_remove),
|
||||
.driver = {
|
||||
.name = sbmac_string,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue