From: Joshua Kinard Date: Thu, 16 Apr 2015 19:45:21 +0000 (-0700) Subject: drivers/rtc/rtc-ds1685.c: remove .owner assignment from platform_driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=269812de8b1c28cd477a3f9cc9793047f0de530e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Reported-by: kbuild test robot Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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,