diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:30 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:30 -0400 |
commit | 569d5e911b36102ed3398537d90a4e0cf11b852f (patch) | |
tree | 8dc172c6425741af77b29f7514232784abccdd1c /drivers/reset | |
parent | 51aa31b49fa0be1062c44eb74f242dfc4ae7c496 (diff) |
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>
Diffstat (limited to 'drivers/reset')
-rw-r--r-- | drivers/reset/reset-socfpga.c | 1 | ||||
-rw-r--r-- | drivers/reset/reset-sunxi.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/reset/reset-socfpga.c b/drivers/reset/reset-socfpga.c index 79c32ca84ef1..9181bea64d7a 100644 --- a/drivers/reset/reset-socfpga.c +++ b/drivers/reset/reset-socfpga.c | |||
@@ -135,7 +135,6 @@ static struct platform_driver socfpga_reset_driver = { | |||
135 | .remove = socfpga_reset_remove, | 135 | .remove = socfpga_reset_remove, |
136 | .driver = { | 136 | .driver = { |
137 | .name = "socfpga-reset", | 137 | .name = "socfpga-reset", |
138 | .owner = THIS_MODULE, | ||
139 | .of_match_table = socfpga_reset_dt_ids, | 138 | .of_match_table = socfpga_reset_dt_ids, |
140 | }, | 139 | }, |
141 | }; | 140 | }; |
diff --git a/drivers/reset/reset-sunxi.c b/drivers/reset/reset-sunxi.c index a94e7a7820b4..eebc52cb6984 100644 --- a/drivers/reset/reset-sunxi.c +++ b/drivers/reset/reset-sunxi.c | |||
@@ -179,7 +179,6 @@ static struct platform_driver sunxi_reset_driver = { | |||
179 | .remove = sunxi_reset_remove, | 179 | .remove = sunxi_reset_remove, |
180 | .driver = { | 180 | .driver = { |
181 | .name = "sunxi-reset", | 181 | .name = "sunxi-reset", |
182 | .owner = THIS_MODULE, | ||
183 | .of_match_table = sunxi_reset_dt_ids, | 182 | .of_match_table = sunxi_reset_dt_ids, |
184 | }, | 183 | }, |
185 | }; | 184 | }; |