提交 5e0b2516 编写于 作者: W Wolfram Sang

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: NWolfram Sang <wsa@the-dreams.de>
上级 671ebaf7
...@@ -2508,7 +2508,6 @@ static struct platform_driver rhine_driver_platform = { ...@@ -2508,7 +2508,6 @@ static struct platform_driver rhine_driver_platform = {
.remove = rhine_remove_one_platform, .remove = rhine_remove_one_platform,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
.of_match_table = rhine_of_tbl, .of_match_table = rhine_of_tbl,
.pm = RHINE_PM_OPS, .pm = RHINE_PM_OPS,
} }
......
...@@ -3281,7 +3281,6 @@ static struct platform_driver velocity_platform_driver = { ...@@ -3281,7 +3281,6 @@ static struct platform_driver velocity_platform_driver = {
.remove = velocity_platform_remove, .remove = velocity_platform_remove,
.driver = { .driver = {
.name = "via-velocity", .name = "via-velocity",
.owner = THIS_MODULE,
.of_match_table = velocity_of_ids, .of_match_table = velocity_of_ids,
.pm = &velocity_pm_ops, .pm = &velocity_pm_ops,
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册