Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1622550 > unrolled thread
| Started by | kbuild test robot <fengguang.wu@intel.com> |
|---|---|
| First post | 2017-04-12 23:00 +0200 |
| Last post | 2017-04-13 17:30 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH] pwm: fix platform_no_drv_owner.cocci warnings kbuild test robot <fengguang.wu@intel.com> - 2017-04-12 23:00 +0200
Re: [PATCH] pwm: fix platform_no_drv_owner.cocci warnings Thierry Reding <thierry.reding@gmail.com> - 2017-04-13 17:30 +0200
| From | kbuild test robot <fengguang.wu@intel.com> |
|---|---|
| Date | 2017-04-12 23:00 +0200 |
| Subject | [PATCH] pwm: fix platform_no_drv_owner.cocci warnings |
| Message-ID | <tvxwS-15r-3@gated-at.bofh.it> |
drivers/pwm/pwm-mediatek.c:210:3-8: No need to set .owner here. The core will do it.
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
CC: John Crispin <john@phrozen.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
pwm-mediatek.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/pwm/pwm-mediatek.c
+++ b/drivers/pwm/pwm-mediatek.c
@@ -207,7 +207,6 @@ MODULE_DEVICE_TABLE(of, mtk_pwm_of_match
static struct platform_driver mtk_pwm_driver = {
.driver = {
.name = "mtk-pwm",
- .owner = THIS_MODULE,
.of_match_table = mtk_pwm_of_match,
},
.probe = mtk_pwm_probe,
[toc] | [next] | [standalone]
| From | Thierry Reding <thierry.reding@gmail.com> |
|---|---|
| Date | 2017-04-13 17:30 +0200 |
| Message-ID | <tvOR4-4Ou-3@gated-at.bofh.it> |
| In reply to | #1622550 |
[Multipart message — attachments visible in raw view] — view raw
On Thu, Apr 13, 2017 at 04:54:42AM +0800, kbuild test robot wrote: > drivers/pwm/pwm-mediatek.c:210:3-8: No need to set .owner here. The core will do it. > > Remove .owner field if calls are used which set it automatically > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > > CC: John Crispin <john@phrozen.org> > Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> > --- > > pwm-mediatek.c | 1 - > 1 file changed, 1 deletion(-) Applied, with a slightly modified subject. Thanks, Thierry
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web