提交 0dd11538 编写于 作者: W Wolfram Sang

net: dsa: 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>
上级 75c43e04
...@@ -744,7 +744,6 @@ static struct platform_driver dsa_driver = { ...@@ -744,7 +744,6 @@ static struct platform_driver dsa_driver = {
.shutdown = dsa_shutdown, .shutdown = dsa_shutdown,
.driver = { .driver = {
.name = "dsa", .name = "dsa",
.owner = THIS_MODULE,
.of_match_table = dsa_of_match_table, .of_match_table = dsa_of_match_table,
.pm = &dsa_pm_ops, .pm = &dsa_pm_ops,
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册