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-efi.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-efi.c')
-rw-r--r-- | drivers/rtc/rtc-efi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-efi.c b/drivers/rtc/rtc-efi.c index c384fec6d173..3d5b8168268e 100644 --- a/drivers/rtc/rtc-efi.c +++ b/drivers/rtc/rtc-efi.c | |||
@@ -226,7 +226,6 @@ static int __init efi_rtc_probe(struct platform_device *dev) | |||
226 | static struct platform_driver efi_rtc_driver = { | 226 | static struct platform_driver efi_rtc_driver = { |
227 | .driver = { | 227 | .driver = { |
228 | .name = "rtc-efi", | 228 | .name = "rtc-efi", |
229 | .owner = THIS_MODULE, | ||
230 | }, | 229 | }, |
231 | }; | 230 | }; |
232 | 231 | ||