Skip to contentSkip to conversation

: rtc: ds1685: Remove .owner assignment from platform_driver

PATCH New Joshua Kinard 1 participant 1 message Mar 1, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : rtc: ds1685: Remove .owner assignment from platform_driver

From: Joshua Kinard <[email protected]>

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"
---
 drivers/rtc/rtc-ds1685.c |    1 -
 1 file changed, 1 deletion(-)
drivers/rtc/rtc-ds1685.c +0 -1
index 803869c..7a7c8de 100644
@@ -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,