Message ID | 20190321014532.11794-1-yuehaibing@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [-next] media: si2165: fix platform_no_drv_owner.cocci warnings | expand |
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
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,
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(-)