Skip to content

Commit

Permalink
rtc: pic32: Delete owner assignment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
elfring authored and alexandrebelloni committed Aug 31, 2016
1 parent 421a5ba commit e545b98
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/rtc/rtc-pic32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
};
Expand Down

0 comments on commit e545b98

Please sign in to comment.