提交 ac52841c 编写于 作者: W Wolfram Sang

net: can: sja1000: 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>
上级 0a6e54be
...@@ -259,7 +259,6 @@ static struct platform_driver sja1000_isa_driver = { ...@@ -259,7 +259,6 @@ static struct platform_driver sja1000_isa_driver = {
.remove = sja1000_isa_remove, .remove = sja1000_isa_remove,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -253,7 +253,6 @@ static struct platform_driver sp_driver = { ...@@ -253,7 +253,6 @@ static struct platform_driver sp_driver = {
.remove = sp_remove, .remove = sp_remove,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
.of_match_table = sp_of_table, .of_match_table = sp_of_table,
}, },
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册