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>
diff --git a/drivers/reset/reset-socfpga.c b/drivers/reset/reset-socfpga.c
index 79c32ca..9181bea 100644
--- a/drivers/reset/reset-socfpga.c
+++ b/drivers/reset/reset-socfpga.c
@@ -135,7 +135,6 @@
.remove = socfpga_reset_remove,
.driver = {
.name = "socfpga-reset",
- .owner = THIS_MODULE,
.of_match_table = socfpga_reset_dt_ids,
},
};
diff --git a/drivers/reset/reset-sunxi.c b/drivers/reset/reset-sunxi.c
index a94e7a7..eebc52c 100644
--- a/drivers/reset/reset-sunxi.c
+++ b/drivers/reset/reset-sunxi.c
@@ -179,7 +179,6 @@
.remove = sunxi_reset_remove,
.driver = {
.name = "sunxi-reset",
- .owner = THIS_MODULE,
.of_match_table = sunxi_reset_dt_ids,
},
};