aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-twl.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-twl.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-twl.c')
-rw-r--r--drivers/rtc/rtc-twl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-twl.c b/drivers/rtc/rtc-twl.c
index 1915464e4cd6..5baea3f54926 100644
--- a/drivers/rtc/rtc-twl.c
+++ b/drivers/rtc/rtc-twl.c
@@ -608,7 +608,6 @@ static struct platform_driver twl4030rtc_driver = {
608 .remove = twl_rtc_remove, 608 .remove = twl_rtc_remove,
609 .shutdown = twl_rtc_shutdown, 609 .shutdown = twl_rtc_shutdown,
610 .driver = { 610 .driver = {
611 .owner = THIS_MODULE,
612 .name = "twl_rtc", 611 .name = "twl_rtc",
613 .pm = &twl_rtc_pm_ops, 612 .pm = &twl_rtc_pm_ops,
614 .of_match_table = of_match_ptr(twl_rtc_of_match), 613 .of_match_table = of_match_ptr(twl_rtc_of_match),