mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
V4L/DVB (10698): v4l2-common: remove v4l2_ctrl_query_fill_std
The v4l2_ctrl_query_fill_std() function wasn't one the best idea I ever had. It doesn't add anything valuable that cannot be expressed equally well with v4l2_ctrl_query_fill and only adds overhead. Replace it with v4l2_ctrl_query_fill() everywhere it is used and remove it from v4l2_common.c. Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
1df795370c
commit
10afbef15e
13 changed files with 141 additions and 202 deletions
|
|
@ -102,7 +102,6 @@ int v4l2_ctrl_check(struct v4l2_ext_control *ctrl, struct v4l2_queryctrl *qctrl,
|
|||
const char *v4l2_ctrl_get_name(u32 id);
|
||||
const char **v4l2_ctrl_get_menu(u32 id);
|
||||
int v4l2_ctrl_query_fill(struct v4l2_queryctrl *qctrl, s32 min, s32 max, s32 step, s32 def);
|
||||
int v4l2_ctrl_query_fill_std(struct v4l2_queryctrl *qctrl);
|
||||
int v4l2_ctrl_query_menu(struct v4l2_querymenu *qmenu,
|
||||
struct v4l2_queryctrl *qctrl, const char **menu_items);
|
||||
#define V4L2_CTRL_MENU_IDS_END (0xffffffff)
|
||||
|
|
|
|||
Loading…
Reference in a new issue