* [pwm:for-4.12/drivers 6/11] drivers/pwm/pwm-mediatek.c:210:3-8: No need to set .owner here. The core will do it.
@ 2017-04-12 20:54 kbuild test robot
2017-04-12 20:54 ` [PATCH] pwm: fix platform_no_drv_owner.cocci warnings kbuild test robot
0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2017-04-12 20:54 UTC (permalink / raw)
To: John Crispin; +Cc: kbuild-all, linux-pwm, Thierry Reding
tree: https://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git for-4.12/drivers
head: de758fcd8e31fa308bfb80e7bfd19f81e0c05967
commit: caf065f8fd583b43a3f95d84c8a0a0d07597963b [6/11] pwm: Add MediaTek PWM support
coccinelle warnings: (new ones prefixed by >>)
>> drivers/pwm/pwm-mediatek.c:210:3-8: No need to set .owner here. The core will do it.
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] pwm: fix platform_no_drv_owner.cocci warnings
2017-04-12 20:54 [pwm:for-4.12/drivers 6/11] drivers/pwm/pwm-mediatek.c:210:3-8: No need to set .owner here. The core will do it kbuild test robot
@ 2017-04-12 20:54 ` kbuild test robot
2017-04-13 15:28 ` Thierry Reding
0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2017-04-12 20:54 UTC (permalink / raw)
To: John Crispin; +Cc: kbuild-all, linux-pwm, Thierry Reding, linux-kernel
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,
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] pwm: fix platform_no_drv_owner.cocci warnings
2017-04-12 20:54 ` [PATCH] pwm: fix platform_no_drv_owner.cocci warnings kbuild test robot
@ 2017-04-13 15:28 ` Thierry Reding
0 siblings, 0 replies; 3+ messages in thread
From: Thierry Reding @ 2017-04-13 15:28 UTC (permalink / raw)
To: kbuild test robot; +Cc: John Crispin, kbuild-all, linux-pwm, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 539 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-04-13 15:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-12 20:54 [pwm:for-4.12/drivers 6/11] drivers/pwm/pwm-mediatek.c:210:3-8: No need to set .owner here. The core will do it kbuild test robot
2017-04-12 20:54 ` [PATCH] pwm: fix platform_no_drv_owner.cocci warnings kbuild test robot
2017-04-13 15:28 ` Thierry Reding
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.