Skip to content

Commit

Permalink
reset: drop owner assignment from platform_drivers
Browse files Browse the repository at this point in the history
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <[email protected]>
  • Loading branch information
Wolfram Sang committed Oct 20, 2014
1 parent 51aa31b commit 569d5e9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/reset/reset-socfpga.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};
Expand Down
1 change: 0 additions & 1 deletion drivers/reset/reset-sunxi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};
Expand Down

0 comments on commit 569d5e9

Please sign in to comment.