summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-max8907.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:31 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:21:31 +0400
commit0929ae376ef32591a5f13870a703efc2901bfab9 (patch)
treefc369b0d241729638e63371b957fa17ee79d8fc9 /drivers/rtc/rtc-max8907.c
parentd373860d70c6d32f52ea1cb8e6633478dfb2180d (diff)
downloadlinux-0929ae376ef32591a5f13870a703efc2901bfab9.tar.xz
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-max8907.c')
-rw-r--r--drivers/rtc/rtc-max8907.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-max8907.c b/drivers/rtc/rtc-max8907.c
index 3032178bd9e6..19c29b72598d 100644
--- a/drivers/rtc/rtc-max8907.c
+++ b/drivers/rtc/rtc-max8907.c
@@ -215,7 +215,6 @@ static int max8907_rtc_probe(struct platform_device *pdev)
static struct platform_driver max8907_rtc_driver = {
.driver = {
.name = "max8907-rtc",
- .owner = THIS_MODULE,
},
.probe = max8907_rtc_probe,
};