mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
net: ethernet: via: 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
671ebaf725
commit
5e0b251657
@ -2508,7 +2508,6 @@ static struct platform_driver rhine_driver_platform = {
|
||||
.remove = rhine_remove_one_platform,
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = rhine_of_tbl,
|
||||
.pm = RHINE_PM_OPS,
|
||||
}
|
||||
|
@ -3281,7 +3281,6 @@ static struct platform_driver velocity_platform_driver = {
|
||||
.remove = velocity_platform_remove,
|
||||
.driver = {
|
||||
.name = "via-velocity",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = velocity_of_ids,
|
||||
.pm = &velocity_pm_ops,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user