summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-mv.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:31 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:31 +0200
commit0929ae376ef32591a5f13870a703efc2901bfab9 (patch)
treefc369b0d241729638e63371b957fa17ee79d8fc9 /drivers/rtc/rtc-mv.c
parentd373860d70c6d32f52ea1cb8e6633478dfb2180d (diff)
downloadop-kernel-dev-0929ae376ef32591a5f13870a703efc2901bfab9.zip
op-kernel-dev-0929ae376ef32591a5f13870a703efc2901bfab9.tar.gz
rtc: 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/rtc/rtc-mv.c')
-rw-r--r--drivers/rtc/rtc-mv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-mv.c b/drivers/rtc/rtc-mv.c
index 6aaec2f..4237622 100644
--- a/drivers/rtc/rtc-mv.c
+++ b/drivers/rtc/rtc-mv.c
@@ -329,7 +329,6 @@ static struct platform_driver mv_rtc_driver = {
.remove = __exit_p(mv_rtc_remove),
.driver = {
.name = "rtc-mv",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(rtc_mv_of_match_table),
},
};
OpenPOWER on IntegriCloud