Commit 569d5e91 authored by Wolfram Sang's avatar Wolfram Sang

reset: 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 51aa31b4
...@@ -135,7 +135,6 @@ static struct platform_driver socfpga_reset_driver = { ...@@ -135,7 +135,6 @@ static struct platform_driver socfpga_reset_driver = {
.remove = socfpga_reset_remove, .remove = socfpga_reset_remove,
.driver = { .driver = {
.name = "socfpga-reset", .name = "socfpga-reset",
.owner = THIS_MODULE,
.of_match_table = socfpga_reset_dt_ids, .of_match_table = socfpga_reset_dt_ids,
}, },
}; };
......
...@@ -179,7 +179,6 @@ static struct platform_driver sunxi_reset_driver = { ...@@ -179,7 +179,6 @@ static struct platform_driver sunxi_reset_driver = {
.remove = sunxi_reset_remove, .remove = sunxi_reset_remove,
.driver = { .driver = {
.name = "sunxi-reset", .name = "sunxi-reset",
.owner = THIS_MODULE,
.of_match_table = sunxi_reset_dt_ids, .of_match_table = sunxi_reset_dt_ids,
}, },
}; };
......
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