Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1462660 > unrolled thread
| Started by | SF Markus Elfring <elfring@users.sourceforge.net> |
|---|---|
| First post | 2016-08-15 11:10 +0200 |
| Last post | 2016-08-15 17:00 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] rtc-pic32: Delete owner assignment SF Markus Elfring <elfring@users.sourceforge.net> - 2016-08-15 11:10 +0200
Re: [PATCH] rtc-pic32: Delete owner assignment Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-08-15 17:00 +0200
| From | SF Markus Elfring <elfring@users.sourceforge.net> |
|---|---|
| Date | 2016-08-15 11:10 +0200 |
| Subject | [PATCH] rtc-pic32: Delete owner assignment |
| Message-ID | <s6m4a-3Ev-25@gated-at.bofh.it> |
From: Markus Elfring <elfring@users.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@users.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
[toc] | [next] | [standalone]
| From | Alexandre Belloni <alexandre.belloni@free-electrons.com> |
|---|---|
| Date | 2016-08-15 17:00 +0200 |
| Message-ID | <s6rwR-6RO-17@gated-at.bofh.it> |
| In reply to | #1462660 |
On 15/08/2016 at 11:00:13 +0200, SF Markus Elfring wrote : > From: Markus Elfring <elfring@users.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@users.sourceforge.net> > --- > drivers/rtc/rtc-pic32.c | 1 - > 1 file changed, 1 deletion(-) > Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web