diff options
author | Joshua Kinard <kumba@gentoo.org> | 2015-04-16 15:45:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-17 09:04:00 -0400 |
commit | 269812de8b1c28cd477a3f9cc9793047f0de530e (patch) | |
tree | f052ae60af61bc62e89b2455c63fe89e608e33a6 /drivers/rtc | |
parent | ac2a2726661a8f8f74af0d499cb16b3adf90d764 (diff) |
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.c | 1 |
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) | |||
2139 | static struct platform_driver ds1685_rtc_driver = { | 2139 | static struct platform_driver ds1685_rtc_driver = { |
2140 | .driver = { | 2140 | .driver = { |
2141 | .name = "rtc-ds1685", | 2141 | .name = "rtc-ds1685", |
2142 | .owner = THIS_MODULE, | ||
2143 | }, | 2142 | }, |
2144 | .probe = ds1685_rtc_probe, | 2143 | .probe = ds1685_rtc_probe, |
2145 | .remove = ds1685_rtc_remove, | 2144 | .remove = ds1685_rtc_remove, |