summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-pic32.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-08-15 11:52:47 +0300
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-08-31 19:21:35 +0300
commite545b984f0225244505b5e0605070bfc6099f475 (patch)
tree74f69f4c091454e268d78a28dd388d11302ba407 /drivers/rtc/rtc-pic32.c
parent421a5ba24b3ef23b8972a6c238bd300abef532da (diff)
downloadlinux-e545b984f0225244505b5e0605070bfc6099f475.tar.xz
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>
Diffstat (limited to 'drivers/rtc/rtc-pic32.c')
-rw-r--r--drivers/rtc/rtc-pic32.c1
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 = {
.remove = pic32_rtc_remove,
.driver = {
.name = "pic32-rtc",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(pic32_rtc_dt_ids),
},
};