aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/rtc/rtc-tps80031.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:31 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:31 +0200
commit0929ae376ef32591a5f13870a703efc2901bfab9 (patch)
treefc369b0d241729638e63371b957fa17ee79d8fc9 /drivers/rtc/rtc-tps80031.c
parentreset: sti: drop owner assignment from platform_drivers (diff)
downloadwireguard-linux-0929ae376ef32591a5f13870a703efc2901bfab9.tar.xz
wireguard-linux-0929ae376ef32591a5f13870a703efc2901bfab9.zip
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-tps80031.c')
-rw-r--r--drivers/rtc/rtc-tps80031.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-tps80031.c b/drivers/rtc/rtc-tps80031.c
index 3e400dce2d06..27e254cde715 100644
--- a/drivers/rtc/rtc-tps80031.c
+++ b/drivers/rtc/rtc-tps80031.c
@@ -324,7 +324,6 @@ static SIMPLE_DEV_PM_OPS(tps80031_pm_ops, tps80031_rtc_suspend,
static struct platform_driver tps80031_rtc_driver = {
.driver = {
.name = "tps80031-rtc",
- .owner = THIS_MODULE,
.pm = &tps80031_pm_ops,
},
.probe = tps80031_rtc_probe,