summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-max77686.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-max77686.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-max77686.c')
-rw-r--r--drivers/rtc/rtc-max77686.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-max77686.c b/drivers/rtc/rtc-max77686.c
index cf73e969c8cc..9d71328e59b9 100644
--- a/drivers/rtc/rtc-max77686.c
+++ b/drivers/rtc/rtc-max77686.c
@@ -513,7 +513,6 @@ static const struct platform_device_id rtc_id[] = {
513static struct platform_driver max77686_rtc_driver = { 513static struct platform_driver max77686_rtc_driver = {
514 .driver = { 514 .driver = {
515 .name = "max77686-rtc", 515 .name = "max77686-rtc",
516 .owner = THIS_MODULE,
517 .pm = &max77686_rtc_pm_ops, 516 .pm = &max77686_rtc_pm_ops,
518 }, 517 },
519 .probe = max77686_rtc_probe, 518 .probe = max77686_rtc_probe,