media: v4l2-ctrls: Add helper to register properties
authorJacopo Mondi <jacopo@jmondi.org>
Sat, 9 May 2020 09:04:52 +0000 (11:04 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 18 May 2020 13:36:20 +0000 (15:36 +0200)
commite0a360630debdf12355d9ec9f1417172c3fa6756
tree12e20904044d29576070e9d25a25ac0ec5d7d868
parente0837a6c08e127d8a7b765decc16abbed26589e1
media: v4l2-ctrls: Add helper to register properties

Add an helper function to v4l2-ctrls to register controls associated
with a device property.

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/v4l2-core/v4l2-ctrls.c
include/media/v4l2-ctrls.h