media: video-i2c: hwmon: constify vb2_ops structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Tue, 30 Oct 2018 15:31:22 +0000 (11:31 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 23 Nov 2018 09:34:13 +0000 (04:34 -0500)
commitc7f7da2a603a62dfcfe272ed027c6493170fc057
treedf0801c5fefd1e3a754563bc7876812efa7e7d12
parent8ea0f2ba0fa3f91ea1b8d823a54b042026ada6b3
media: video-i2c: hwmon: constify vb2_ops structure

The vb2_ops structure can be const as it is only stored in the ops
field of a vb2_queue structure and this field is const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/video-i2c.c