diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 02:39:51 -0400 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-09-05 07:19:06 -0400 |
commit | 045c6fdd37a01d950c0f5ca64733b53b184fe91b (patch) | |
tree | dfdbccf7c1908c2b879632fa10dd7307687948d3 /drivers/rtc | |
parent | b28845433eb9c205c381ed69b09167d6ae5aac1c (diff) |
rtc: Drop owner assignment from platform_driver
platform_driver does not need to set an owner because
platform_driver_register() will set it.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-opal.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-opal.c b/drivers/rtc/rtc-opal.c index 7061dcae2b09..417d7b4a5cd8 100644 --- a/drivers/rtc/rtc-opal.c +++ b/drivers/rtc/rtc-opal.c | |||
@@ -236,7 +236,6 @@ static struct platform_driver opal_rtc_driver = { | |||
236 | .id_table = opal_rtc_driver_ids, | 236 | .id_table = opal_rtc_driver_ids, |
237 | .driver = { | 237 | .driver = { |
238 | .name = DRVNAME, | 238 | .name = DRVNAME, |
239 | .owner = THIS_MODULE, | ||
240 | .of_match_table = opal_rtc_match, | 239 | .of_match_table = opal_rtc_match, |
241 | }, | 240 | }, |
242 | }; | 241 | }; |