drivers/rtc/rtc-ds1685.c: remove .owner assignment from platform_driver
authorJoshua Kinard <[email protected]>
Thu, 16 Apr 2015 19:45:21 +0000 (12:45 -0700)
committerLinus Torvalds <[email protected]>
Fri, 17 Apr 2015 13:04:00 +0000 (09:04 -0400)
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 <[email protected]>
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rtc/rtc-ds1685.c

index 803869c7d7c206f6dbff5cc7427ea3faf8e1bf2b..7a7c8de7c92c362a0384256e7628d876f7cd31df 100644 (file)
@@ -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,