diff options
author | Ricardo Ribalda Delgado <ribalda@kernel.org> | 2019-10-07 17:06:35 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-10-10 16:38:21 +0200 |
commit | 2e8db63e1f64b6085cc84a03484213af565c81fb (patch) | |
tree | 96dbf0e15217df4122325f5c738468255c44857e /drivers/media/i2c/imx214.c | |
parent | media: Documentation: media: Describe V4L2_CID_UNIT_CELL_SIZE (diff) | |
download | linux-2e8db63e1f64b6085cc84a03484213af565c81fb.tar.xz linux-2e8db63e1f64b6085cc84a03484213af565c81fb.zip |
media: v4l2-ctrl: Add new helper v4l2_ctrl_ptr_create
This helper function simplifies the code by not needing a union
v4l2_ctrl_ptr and an assignment every time we need to use
a ctrl_ptr.
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+samsung@kernel.org>
Diffstat (limited to 'drivers/media/i2c/imx214.c')
0 files changed, 0 insertions, 0 deletions