[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <30a955d4-f43c-1b18-2987-f442a55751fc@users.sourceforge.net>
Date: Mon, 15 Aug 2016 11:00:13 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: rtc-linux@...glegroups.com,
Alessandro Zummo <a.zummo@...ertech.it>,
Alexandre Belloni <alexandre.belloni@...e-electrons.com>,
Joshua Henderson <joshua.henderson@...rochip.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Julia Lawall <julia.lawall@...6.fr>
Subject: [PATCH] rtc-pic32: Delete owner assignment
From: Markus Elfring <elfring@...rs.sourceforge.net>
Date: Mon, 15 Aug 2016 10:52:47 +0200
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@...rs.sourceforge.net>
---
drivers/rtc/rtc-pic32.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/rtc/rtc-pic32.c b/drivers/rtc/rtc-pic32.c
index 64e1e45..5cfb6df 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),
},
};
--
2.9.2
Powered by blists - more mailing lists