summaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2015-04-16 21:45:21 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-17 15:04:00 +0200
commit269812de8b1c28cd477a3f9cc9793047f0de530e (patch)
treef052ae60af61bc62e89b2455c63fe89e608e33a6 /drivers/rtc
parentdrivers/rtc/rtc-ab-b5ze-s3.c: constify struct regmap_config (diff)
downloadlinux-269812de8b1c28cd477a3f9cc9793047f0de530e.tar.xz
linux-269812de8b1c28cd477a3f9cc9793047f0de530e.zip
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')
-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,