From: Fengguang Wu Date: Fri, 21 Aug 2015 20:12:20 +0000 (-0300) Subject: [media] i2c: fix platform_no_drv_owner.cocci warnings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cfd34ed8deede7cbb0ba46d61870f075ac9694e3;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [media] i2c: fix platform_no_drv_owner.cocci warnings drivers/media/i2c/tc358743.c:1960: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: Geert Uytterhoeven Signed-off-by: Fengguang Wu Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/i2c/tc358743.c b/drivers/media/i2c/tc358743.c index 526d30745a19..9ef5baaf8646 100644 --- a/drivers/media/i2c/tc358743.c +++ b/drivers/media/i2c/tc358743.c @@ -1969,7 +1969,6 @@ MODULE_DEVICE_TABLE(i2c, tc358743_id); static struct i2c_driver tc358743_driver = { .driver = { - .owner = THIS_MODULE, .name = "tc358743", }, .probe = tc358743_probe,