* [PATCH -next] media: si2165: fix platform_no_drv_owner.cocci warnings
@ 2019-03-21 1:45 YueHaibing
2019-03-26 20:02 ` Matthias Schwarzott
0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2019-03-21 1:45 UTC (permalink / raw)
To: Matthias Schwarzott, Mauro Carvalho Chehab
Cc: YueHaibing, linux-media, kernel-janitors
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/media/dvb-frontends/si2165.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/media/dvb-frontends/si2165.c b/drivers/media/dvb-frontends/si2165.c
index d55d8f169dca..c9bcd2e95417 100644
--- a/drivers/media/dvb-frontends/si2165.c
+++ b/drivers/media/dvb-frontends/si2165.c
@@ -1301,7 +1301,6 @@ MODULE_DEVICE_TABLE(i2c, si2165_id_table);
static struct i2c_driver si2165_driver = {
.driver = {
- .owner = THIS_MODULE,
.name = "si2165",
},
.probe = si2165_probe,
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] media: si2165: fix platform_no_drv_owner.cocci warnings
2019-03-21 1:45 [PATCH -next] media: si2165: fix platform_no_drv_owner.cocci warnings YueHaibing
@ 2019-03-26 20:02 ` Matthias Schwarzott
0 siblings, 0 replies; 2+ messages in thread
From: Matthias Schwarzott @ 2019-03-26 20:02 UTC (permalink / raw)
To: YueHaibing, Mauro Carvalho Chehab; +Cc: linux-media, kernel-janitors
Am 21.03.19 um 02:45 schrieb YueHaibing:
> 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/media/dvb-frontends/si2165.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/media/dvb-frontends/si2165.c b/drivers/media/dvb-frontends/si2165.c
> index d55d8f169dca..c9bcd2e95417 100644
> --- a/drivers/media/dvb-frontends/si2165.c
> +++ b/drivers/media/dvb-frontends/si2165.c
> @@ -1301,7 +1301,6 @@ MODULE_DEVICE_TABLE(i2c, si2165_id_table);
>
> static struct i2c_driver si2165_driver = {
> .driver = {
> - .owner = THIS_MODULE,
> .name = "si2165",
> },
> .probe = si2165_probe,
>
>
Hi Mauro,
I remember exactly the same patch a year ago. I thought it was merged
back then.
It can be found in patchwork:
https://patchwork.linuxtv.org/patch/48920/
Regards
Matthias
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-26 20:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-21 1:45 [PATCH -next] media: si2165: fix platform_no_drv_owner.cocci warnings YueHaibing
2019-03-26 20:02 ` Matthias Schwarzott
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).