media: uvcvideo: Remove s_ctrl and g_ctrl
authorRicardo Ribalda <ribalda@chromium.org>
Fri, 18 Jun 2021 12:29:07 +0000 (14:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:39:35 +0000 (09:39 +0100)
commitd9eacd945f1661dfcc3e8b42500cd56b8383b0fc
tree9d804c8c3f1cd1db1e784cb0823dcd6ff1904939
parent07ab366a9aaf35e48d51584bf64996002f90627f
media: uvcvideo: Remove s_ctrl and g_ctrl

[ Upstream commit 0c6bcbdfefa83b8a1e9659b3c127758dce0fe7ac ]

If we do not implement these callbacks the framework will call the
ext_ctrl callbaks instead, which are a superset of this functions.

Suggested-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Stable-dep-of: 9f582f0418ed ("media: uvcvideo: Check for INACTIVE in uvc_ctrl_is_accessible()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/usb/uvc/uvc_v4l2.c