Skip to content

Commit 021f88a

Browse files
ribaldamchehab
authored andcommitted
media: radio-wl1273: Rename wl1273_fm_vidioc_s_ctrl
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>
1 parent 6494d35 commit 021f88a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/media/radio/radio-wl1273.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,7 +1407,7 @@ static inline struct wl1273_device *to_radio(struct v4l2_ctrl *ctrl)
14071407
return container_of(ctrl->handler, struct wl1273_device, ctrl_handler);
14081408
}
14091409

1410-
static int wl1273_fm_vidioc_s_ctrl(struct v4l2_ctrl *ctrl)
1410+
static int wl1273_fm_s_ctrl(struct v4l2_ctrl *ctrl)
14111411
{
14121412
struct wl1273_device *radio = to_radio(ctrl);
14131413
struct wl1273_core *core = radio->core;
@@ -1945,7 +1945,7 @@ static void wl1273_vdev_release(struct video_device *dev)
19451945
}
19461946

19471947
static const struct v4l2_ctrl_ops wl1273_ctrl_ops = {
1948-
.s_ctrl = wl1273_fm_vidioc_s_ctrl,
1948+
.s_ctrl = wl1273_fm_s_ctrl,
19491949
.g_volatile_ctrl = wl1273_fm_g_volatile_ctrl,
19501950
};
19511951

0 commit comments

Comments
 (0)