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-m48t59.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-m48t59.c')
| -rw-r--r-- | drivers/rtc/rtc-m48t59.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-m48t59.c b/drivers/rtc/rtc-m48t59.c index 11880c1e9dac..90abb5bd589c 100644 --- a/drivers/rtc/rtc-m48t59.c +++ b/drivers/rtc/rtc-m48t59.c | |||
| @@ -504,7 +504,6 @@ MODULE_ALIAS("platform:rtc-m48t59"); | |||
| 504 | static struct platform_driver m48t59_rtc_driver = { | 504 | static struct platform_driver m48t59_rtc_driver = { |
| 505 | .driver = { | 505 | .driver = { |
| 506 | .name = "rtc-m48t59", | 506 | .name = "rtc-m48t59", |
| 507 | .owner = THIS_MODULE, | ||
| 508 | }, | 507 | }, |
| 509 | .probe = m48t59_rtc_probe, | 508 | .probe = m48t59_rtc_probe, |
| 510 | .remove = m48t59_rtc_remove, | 509 | .remove = m48t59_rtc_remove, |
