]> git.baikalelectronics.ru Git - kernel.git/commit
[media] i2c: fix platform_no_drv_owner.cocci warnings
authorFengguang Wu <fengguang.wu@intel.com>
Fri, 21 Aug 2015 20:12:20 +0000 (17:12 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 3 Sep 2015 16:56:14 +0000 (13:56 -0300)
commitfc8b18fd768cca0770b52e7b65df9a3d8b80acb3
tree781fa02ce7781a4f9e4f751368155164b63c2698
parent52b0e655346d18060d449a1aa348adae5f9e31ba
[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 <geert@linux-m68k.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/tc358743.c