]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: radio-wl1273: Rename wl1273_fm_vidioc_s_ctrl
authorRicardo Ribalda <ribalda@chromium.org>
Sun, 23 Feb 2025 18:58:15 +0000 (18:58 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 5 Mar 2025 09:43:27 +0000 (10:43 +0100)
Now that vidioc_s_ctrl is gone we want to remove that string from all
the codebase.

Besides, it isn't the correct name of this function anyway. It's clearly a
left-over from the past.

Suggested-by: Hans Verkuil <hverkuil@xs4all.nl>
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/media/radio/radio-wl1273.c

index 511a8ede05ecdcf369befaedc5f4e4e7aa56eb7a..f55217ccf2b8b9d9976b9879e13eb359acef8fc2 100644 (file)
@@ -1407,7 +1407,7 @@ static inline struct wl1273_device *to_radio(struct v4l2_ctrl *ctrl)
        return container_of(ctrl->handler, struct wl1273_device, ctrl_handler);
 }
 
-static int wl1273_fm_vidioc_s_ctrl(struct v4l2_ctrl *ctrl)
+static int wl1273_fm_s_ctrl(struct v4l2_ctrl *ctrl)
 {
        struct wl1273_device *radio = to_radio(ctrl);
        struct wl1273_core *core = radio->core;
@@ -1945,7 +1945,7 @@ static void wl1273_vdev_release(struct video_device *dev)
 }
 
 static const struct v4l2_ctrl_ops wl1273_ctrl_ops = {
-       .s_ctrl = wl1273_fm_vidioc_s_ctrl,
+       .s_ctrl = wl1273_fm_s_ctrl,
        .g_volatile_ctrl = wl1273_fm_g_volatile_ctrl,
 };