From: Markus Elfring Date: Mon, 15 Aug 2016 08:52:47 +0000 (+0200) Subject: rtc: pic32: Delete owner assignment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e545b984f0225244505b5e0605070bfc6099f475;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Alexandre Belloni --- 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), }, };