diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-08-15 04:52:47 -0400 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-08-31 12:21:35 -0400 |
commit | e545b984f0225244505b5e0605070bfc6099f475 (patch) | |
tree | 74f69f4c091454e268d78a28dd388d11302ba407 | |
parent | 421a5ba24b3ef23b8972a6c238bd300abef532da (diff) |
rtc: pic32: Delete owner assignment
The field "owner" is set by core. Thus delete an extra initialisation.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
-rw-r--r-- | drivers/rtc/rtc-pic32.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-pic32.c b/drivers/rtc/rtc-pic32.c index 64e1e4578492..5cfb6df5c430 100644 --- a/drivers/rtc/rtc-pic32.c +++ b/drivers/rtc/rtc-pic32.c | |||
@@ -400,7 +400,6 @@ static struct platform_driver pic32_rtc_driver = { | |||
400 | .remove = pic32_rtc_remove, | 400 | .remove = pic32_rtc_remove, |
401 | .driver = { | 401 | .driver = { |
402 | .name = "pic32-rtc", | 402 | .name = "pic32-rtc", |
403 | .owner = THIS_MODULE, | ||
404 | .of_match_table = of_match_ptr(pic32_rtc_dt_ids), | 403 | .of_match_table = of_match_ptr(pic32_rtc_dt_ids), |
405 | }, | 404 | }, |
406 | }; | 405 | }; |