diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:31 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:31 -0400 |
commit | 0929ae376ef32591a5f13870a703efc2901bfab9 (patch) | |
tree | fc369b0d241729638e63371b957fa17ee79d8fc9 /drivers/rtc/rtc-ds1742.c | |
parent | d373860d70c6d32f52ea1cb8e6633478dfb2180d (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-ds1742.c')
-rw-r--r-- | drivers/rtc/rtc-ds1742.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ds1742.c b/drivers/rtc/rtc-ds1742.c index 9822715db8ba..0f8d8ace1515 100644 --- a/drivers/rtc/rtc-ds1742.c +++ b/drivers/rtc/rtc-ds1742.c | |||
@@ -230,7 +230,6 @@ static struct platform_driver ds1742_rtc_driver = { | |||
230 | .remove = ds1742_rtc_remove, | 230 | .remove = ds1742_rtc_remove, |
231 | .driver = { | 231 | .driver = { |
232 | .name = "rtc-ds1742", | 232 | .name = "rtc-ds1742", |
233 | .owner = THIS_MODULE, | ||
234 | .of_match_table = of_match_ptr(ds1742_rtc_of_match), | 233 | .of_match_table = of_match_ptr(ds1742_rtc_of_match), |
235 | }, | 234 | }, |
236 | }; | 235 | }; |