diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:31 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:31 +0200 |
commit | 0929ae376ef32591a5f13870a703efc2901bfab9 (patch) | |
tree | fc369b0d241729638e63371b957fa17ee79d8fc9 /drivers/rtc/rtc-bfin.c | |
parent | d373860d70c6d32f52ea1cb8e6633478dfb2180d (diff) | |
download | op-kernel-dev-0929ae376ef32591a5f13870a703efc2901bfab9.zip op-kernel-dev-0929ae376ef32591a5f13870a703efc2901bfab9.tar.gz |
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-bfin.c')
-rw-r--r-- | drivers/rtc/rtc-bfin.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-bfin.c b/drivers/rtc/rtc-bfin.c index fe4bdb0..3d44b11 100644 --- a/drivers/rtc/rtc-bfin.c +++ b/drivers/rtc/rtc-bfin.c @@ -434,7 +434,6 @@ static SIMPLE_DEV_PM_OPS(bfin_rtc_pm_ops, bfin_rtc_suspend, bfin_rtc_resume); static struct platform_driver bfin_rtc_driver = { .driver = { .name = "rtc-bfin", - .owner = THIS_MODULE, .pm = &bfin_rtc_pm_ops, }, .probe = bfin_rtc_probe, |