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: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
Wolfram Sang 2014-10-20 16:21:30 +02:00
parent 51aa31b49f
commit 569d5e911b
2 changed files with 0 additions and 2 deletions

View File

@ -135,7 +135,6 @@ static struct platform_driver socfpga_reset_driver = {
.remove = socfpga_reset_remove,
.driver = {
.name = "socfpga-reset",
.owner = THIS_MODULE,
.of_match_table = socfpga_reset_dt_ids,
},
};

View File

@ -179,7 +179,6 @@ static struct platform_driver sunxi_reset_driver = {
.remove = sunxi_reset_remove,
.driver = {
.name = "sunxi-reset",
.owner = THIS_MODULE,
.of_match_table = sunxi_reset_dt_ids,
},
};