Commit ac52841c authored by Wolfram Sang's avatar 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: default avatarWolfram Sang <wsa@the-dreams.de>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment