* [PATCH -next] i2c: mt7621: Fix platform_no_drv_owner.cocci warnings
@ 2019-06-29 2:44 YueHaibing
2019-07-05 18:28 ` Wolfram Sang
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: YueHaibing @ 2019-06-29 2:44 UTC (permalink / raw)
To: Stefan Roese, Matthias Brugger
Cc: linux-mediatek, kernel-janitors, YueHaibing, linux-i2c, linux-arm-kernel
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
drivers/i2c/busses/i2c-mt7621.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-mt7621.c b/drivers/i2c/busses/i2c-mt7621.c
index 2a1cb414766d..62df8379bc89 100644
--- a/drivers/i2c/busses/i2c-mt7621.c
+++ b/drivers/i2c/busses/i2c-mt7621.c
@@ -343,7 +343,6 @@ static struct platform_driver mtk_i2c_driver = {
.probe = mtk_i2c_probe,
.remove = mtk_i2c_remove,
.driver = {
- .owner = THIS_MODULE,
.name = "i2c-mt7621",
.of_match_table = i2c_mtk_dt_ids,
},
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH -next] i2c: mt7621: Fix platform_no_drv_owner.cocci warnings
2019-06-29 2:44 [PATCH -next] i2c: mt7621: Fix platform_no_drv_owner.cocci warnings YueHaibing
@ 2019-07-05 18:28 ` Wolfram Sang
2019-07-06 5:18 ` Stefan Roese
2019-07-06 15:04 ` Wolfram Sang
2 siblings, 0 replies; 4+ messages in thread
From: Wolfram Sang @ 2019-07-05 18:28 UTC (permalink / raw)
To: YueHaibing
Cc: kernel-janitors, linux-mediatek, linux-i2c, Matthias Brugger,
Stefan Roese, linux-arm-kernel
[-- Attachment #1: Type: text/plain, Size: 267 bytes --]
On Sat, Jun 29, 2019 at 02:44:21AM +0000, YueHaibing wrote:
> Remove .owner field if calls are used which set it automatically
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Stefan?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH -next] i2c: mt7621: Fix platform_no_drv_owner.cocci warnings
2019-06-29 2:44 [PATCH -next] i2c: mt7621: Fix platform_no_drv_owner.cocci warnings YueHaibing
2019-07-05 18:28 ` Wolfram Sang
@ 2019-07-06 5:18 ` Stefan Roese
2019-07-06 15:04 ` Wolfram Sang
2 siblings, 0 replies; 4+ messages in thread
From: Stefan Roese @ 2019-07-06 5:18 UTC (permalink / raw)
To: YueHaibing, Matthias Brugger
Cc: kernel-janitors, linux-mediatek, linux-i2c, linux-arm-kernel
On 29.06.19 04:44, YueHaibing wrote:
> Remove .owner field if calls are used which set it automatically
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> drivers/i2c/busses/i2c-mt7621.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/i2c/busses/i2c-mt7621.c b/drivers/i2c/busses/i2c-mt7621.c
> index 2a1cb414766d..62df8379bc89 100644
> --- a/drivers/i2c/busses/i2c-mt7621.c
> +++ b/drivers/i2c/busses/i2c-mt7621.c
> @@ -343,7 +343,6 @@ static struct platform_driver mtk_i2c_driver = {
> .probe = mtk_i2c_probe,
> .remove = mtk_i2c_remove,
> .driver = {
> - .owner = THIS_MODULE,
> .name = "i2c-mt7621",
> .of_match_table = i2c_mtk_dt_ids,
> },
Reviewed-by: Stefan Roese <sr@denx.de>
Thanks,
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH -next] i2c: mt7621: Fix platform_no_drv_owner.cocci warnings
2019-06-29 2:44 [PATCH -next] i2c: mt7621: Fix platform_no_drv_owner.cocci warnings YueHaibing
2019-07-05 18:28 ` Wolfram Sang
2019-07-06 5:18 ` Stefan Roese
@ 2019-07-06 15:04 ` Wolfram Sang
2 siblings, 0 replies; 4+ messages in thread
From: Wolfram Sang @ 2019-07-06 15:04 UTC (permalink / raw)
To: YueHaibing
Cc: kernel-janitors, linux-mediatek, linux-i2c, Matthias Brugger,
Stefan Roese, linux-arm-kernel
[-- Attachment #1: Type: text/plain, Size: 288 bytes --]
On Sat, Jun 29, 2019 at 02:44:21AM +0000, YueHaibing wrote:
> Remove .owner field if calls are used which set it automatically
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Applied to for-next, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-07-06 15:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-29 2:44 [PATCH -next] i2c: mt7621: Fix platform_no_drv_owner.cocci warnings YueHaibing
2019-07-05 18:28 ` Wolfram Sang
2019-07-06 5:18 ` Stefan Roese
2019-07-06 15:04 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).