]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: atomisp: Remove vidioc_g/s callback
authorRicardo Ribalda <ribalda@chromium.org>
Sun, 23 Feb 2025 18:58:09 +0000 (18:58 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 5 Mar 2025 09:43:25 +0000 (10:43 +0100)
The v4l2 ioctl framework can implement vidioc_g/s_ctrl with
vidioc_g/s_ext_ctrl() and we provide those.

These are the last references of vidioc_s/g_ctrl in the codebase. We can
attempt to remove them now.

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_ioctl.c

index 6b84bd8e6cf3a9bfe43ef0b4fbb6530e1d848d78..1fb2ba819de3ad7a50991368d5ff05e02d305caa 100644 (file)
@@ -1565,8 +1565,6 @@ const struct v4l2_ioctl_ops atomisp_ioctl_ops = {
        .vidioc_g_input = atomisp_g_input,
        .vidioc_s_input = atomisp_s_input,
        .vidioc_query_ext_ctrl = atomisp_query_ext_ctrl,
-       .vidioc_s_ctrl = atomisp_s_ctrl,
-       .vidioc_g_ctrl = atomisp_g_ctrl,
        .vidioc_s_ext_ctrls = atomisp_s_ext_ctrls,
        .vidioc_g_ext_ctrls = atomisp_g_ext_ctrls,
        .vidioc_enum_framesizes   = atomisp_enum_framesizes,