media: ov7740: constify structures stored in fields of v4l2_subdev_ops structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 27 Oct 2018 12:49:04 +0000 (08:49 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 6 Nov 2018 12:17:02 +0000 (07:17 -0500)
commitfbe57dde7126d1b2712ab5ea93fb9d15f89de708
tree4609de9c1623c1cd0ba00010933fee694fae0b0b
parentd148b85e8b0779b910f3120a1b72e3e105ad2c47
media: ov7740: constify structures stored in fields of v4l2_subdev_ops structure

The fields of a v4l2_subdev_ops structure are all const, so the
structures that are stored there and are not used elsewhere can be
const as well.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/ov7740.c