summaryrefslogtreecommitdiffstats
path: root/drivers/reset/sti
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:30 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:30 +0200
commitd373860d70c6d32f52ea1cb8e6633478dfb2180d (patch)
tree441fc4cb19cf54e935a6f3975b4fcdb0637a972a /drivers/reset/sti
parent569d5e911b36102ed3398537d90a4e0cf11b852f (diff)
downloadtalos-obmc-linux-d373860d70c6d32f52ea1cb8e6633478dfb2180d.tar.gz
talos-obmc-linux-d373860d70c6d32f52ea1cb8e6633478dfb2180d.zip
reset: sti: 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/sti')
-rw-r--r--drivers/reset/sti/reset-stih415.c1
-rw-r--r--drivers/reset/sti/reset-stih416.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/reset/sti/reset-stih415.c b/drivers/reset/sti/reset-stih415.c
index c93fd260447e..8dad603d863c 100644
--- a/drivers/reset/sti/reset-stih415.c
+++ b/drivers/reset/sti/reset-stih415.c
@@ -101,7 +101,6 @@ static struct platform_driver stih415_reset_driver = {
.probe = syscfg_reset_probe,
.driver = {
.name = "reset-stih415",
- .owner = THIS_MODULE,
.of_match_table = stih415_reset_match,
},
};
diff --git a/drivers/reset/sti/reset-stih416.c b/drivers/reset/sti/reset-stih416.c
index 5fc987076a90..79aed70a26c0 100644
--- a/drivers/reset/sti/reset-stih416.c
+++ b/drivers/reset/sti/reset-stih416.c
@@ -132,7 +132,6 @@ static struct platform_driver stih416_reset_driver = {
.probe = syscfg_reset_probe,
.driver = {
.name = "reset-stih416",
- .owner = THIS_MODULE,
.of_match_table = stih416_reset_match,
},
};
OpenPOWER on IntegriCloud