media: v4l2-ctrl: Use p_const when possible
authorRicardo Ribalda Delgado <ribalda@kernel.org>
Mon, 4 Nov 2019 13:09:23 +0000 (14:09 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 8 Nov 2019 06:43:48 +0000 (07:43 +0100)
commit57d024f8db65ca3188d23487ca6980150356b7a3
tree17168308aa435dcddb461aba0abf8275cba67890
parent8508a2d519ed190a77061c5159b000f1035b3522
media: v4l2-ctrl: Use p_const when possible

After adding a const pointer to ctrl_ptr, lets use it where it make
sense.

Suggested-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Ricardo Ribalda Delgado <ribalda@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/v4l2-core/v4l2-ctrls.c