summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-max8997.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:31 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:31 -0400
commit0929ae376ef32591a5f13870a703efc2901bfab9 (patch)
treefc369b0d241729638e63371b957fa17ee79d8fc9 /drivers/rtc/rtc-max8997.c
parentd373860d70c6d32f52ea1cb8e6633478dfb2180d (diff)
rtc: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/rtc/rtc-max8997.c')
-rw-r--r--drivers/rtc/rtc-max8997.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-max8997.c b/drivers/rtc/rtc-max8997.c
index 0777c01b58e0..67fbe559d535 100644
--- a/drivers/rtc/rtc-max8997.c
+++ b/drivers/rtc/rtc-max8997.c
@@ -523,7 +523,6 @@ static const struct platform_device_id rtc_id[] = {
523static struct platform_driver max8997_rtc_driver = { 523static struct platform_driver max8997_rtc_driver = {
524 .driver = { 524 .driver = {
525 .name = "max8997-rtc", 525 .name = "max8997-rtc",
526 .owner = THIS_MODULE,
527 }, 526 },
528 .probe = max8997_rtc_probe, 527 .probe = max8997_rtc_probe,
529 .shutdown = max8997_rtc_shutdown, 528 .shutdown = max8997_rtc_shutdown,