summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-max77802.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-max77802.c
parentd373860d70c6d32f52ea1cb8e6633478dfb2180d (diff)
downloadtalos-op-linux-0929ae376ef32591a5f13870a703efc2901bfab9.tar.gz
talos-op-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-max77802.c')
-rw-r--r--drivers/rtc/rtc-max77802.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-max77802.c b/drivers/rtc/rtc-max77802.c
index 566471335b33..7f8adf8d6feb 100644
--- a/drivers/rtc/rtc-max77802.c
+++ b/drivers/rtc/rtc-max77802.c
@@ -488,7 +488,6 @@ static const struct platform_device_id rtc_id[] = {
static struct platform_driver max77802_rtc_driver = {
.driver = {
.name = "max77802-rtc",
- .owner = THIS_MODULE,
.pm = &max77802_rtc_pm_ops,
},
.probe = max77802_rtc_probe,
OpenPOWER on IntegriCloud