diff options
author | 2014-10-20 16:21:31 +0200 | |
---|---|---|
committer | 2014-10-20 16:21:31 +0200 | |
commit | 0929ae376ef32591a5f13870a703efc2901bfab9 (patch) | |
tree | fc369b0d241729638e63371b957fa17ee79d8fc9 /drivers/rtc/rtc-stmp3xxx.c | |
parent | reset: sti: drop owner assignment from platform_drivers (diff) | |
download | linux-0929ae376ef32591a5f13870a703efc2901bfab9.tar.gz linux-0929ae376ef32591a5f13870a703efc2901bfab9.tar.bz2 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-stmp3xxx.c')
-rw-r--r-- | drivers/rtc/rtc-stmp3xxx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-stmp3xxx.c b/drivers/rtc/rtc-stmp3xxx.c index ea96492357b0..2939cdcb2688 100644 --- a/drivers/rtc/rtc-stmp3xxx.c +++ b/drivers/rtc/rtc-stmp3xxx.c @@ -341,7 +341,6 @@ static struct platform_driver stmp3xxx_rtcdrv = { .remove = stmp3xxx_rtc_remove, .driver = { .name = "stmp3xxx-rtc", - .owner = THIS_MODULE, .pm = &stmp3xxx_rtc_pm_ops, .of_match_table = rtc_dt_ids, }, |