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: aaaf5fbf56
: "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>
This commit is contained in:
parent
ac2a272666
commit
269812de8b
1 changed files with 0 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue