From: YueHaibing Date: Thu, 21 Mar 2019 01:45:32 +0000 (-0400) Subject: media: si2165: fix platform_no_drv_owner.cocci warnings X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1e98a8400ae8712f2b2d52ed6c1c6231607ed854;p=openwrt%2Fstaging%2Fblogic.git media: si2165: fix platform_no_drv_owner.cocci warnings 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 Signed-off-by: Sean Young Signed-off-by: Mauro Carvalho Chehab --- 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,