summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@mleia.com>2015-11-03 21:50:23 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-02-10 09:34:00 -0200
commit8ddc2dd0832e062bbb36e965e5a202a7d0b584a0 (patch)
treee552e39955c756da53c2316873ac482162a2278e /include/media
parentdf0e57754e29493bf9c53333ece7df172dd18a10 (diff)
downloadop-kernel-dev-8ddc2dd0832e062bbb36e965e5a202a7d0b584a0.zip
op-kernel-dev-8ddc2dd0832e062bbb36e965e5a202a7d0b584a0.tar.gz
[media] v4l2-ctrls: remove unclaimed v4l2_ctrl_add_ctrl() interface
v4l2_ctrl_add_ctrl() interface has no users since its introduction in commit 0996517cf8ea ("V4L/DVB: v4l2: Add new control handling framework") and its functionality is covered by v4l2_ctrl_new() and derivative interfaces, so it is safe to remove the interface from the kernel. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/v4l2-ctrls.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h
index da6fe98..0bc9b35 100644
--- a/include/media/v4l2-ctrls.h
+++ b/include/media/v4l2-ctrls.h
@@ -535,18 +535,6 @@ struct v4l2_ctrl *v4l2_ctrl_new_int_menu(struct v4l2_ctrl_handler *hdl,
u32 id, u8 max, u8 def, const s64 *qmenu_int);
/**
- * v4l2_ctrl_add_ctrl() - Add a control from another handler to this handler.
- * @hdl: The control handler.
- * @ctrl: The control to add.
- *
- * It will return NULL if it was unable to add the control reference.
- * If the control already belonged to the handler, then it will do
- * nothing and just return @ctrl.
- */
-struct v4l2_ctrl *v4l2_ctrl_add_ctrl(struct v4l2_ctrl_handler *hdl,
- struct v4l2_ctrl *ctrl);
-
-/**
* v4l2_ctrl_add_handler() - Add all controls from handler @add to
* handler @hdl.
* @hdl: The control handler.
OpenPOWER on IntegriCloud