summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-ds1685.c
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2015-04-16 22:45:21 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-17 16:04:00 +0300
commit269812de8b1c28cd477a3f9cc9793047f0de530e (patch)
treef052ae60af61bc62e89b2455c63fe89e608e33a6 /drivers/rtc/rtc-ds1685.c
parentac2a2726661a8f8f74af0d499cb16b3adf90d764 (diff)
downloadlinux-269812de8b1c28cd477a3f9cc9793047f0de530e.tar.xz
drivers/rtc/rtc-ds1685.c: remove .owner assignment from platform_driver
The rtc driver core now sets the platform_driver 'owner' property, so remove the assignment from the DS1685 driver. Fixes: aaaf5fbf56f1: "rtc: add driver for DS1685 family of real time clocks" Signed-off-by: Joshua Kinard <kumba@gentoo.org> Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-ds1685.c')
-rw-r--r--drivers/rtc/rtc-ds1685.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ds1685.c b/drivers/rtc/rtc-ds1685.c
index 803869c7d7c2..7a7c8de7c92c 100644
--- a/drivers/rtc/rtc-ds1685.c
+++ b/drivers/rtc/rtc-ds1685.c
@@ -2139,7 +2139,6 @@ ds1685_rtc_remove(struct platform_device *pdev)
static struct platform_driver ds1685_rtc_driver = {
.driver = {
.name = "rtc-ds1685",
- .owner = THIS_MODULE,
},
.probe = ds1685_rtc_probe,
.remove = ds1685_rtc_remove,