media: atomisp: gc0310: Drop gc0310_g_skip_frames()

The g_skip_frames sensor-op is obsolete, drop it.

Signed-off-by: Hans de Goede <hansg@kernel.org>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/r/20250517114106.43494-23-hansg@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
Hans de Goede
2025-05-17 13:41:05 +02:00
committed by Mauro Carvalho Chehab
parent 3c30c8948d
commit 4ea35dbdaf

View File

@@ -526,16 +526,6 @@ static int gc0310_enum_frame_size(struct v4l2_subdev *sd,
return 0;
}
static int gc0310_g_skip_frames(struct v4l2_subdev *sd, u32 *frames)
{
*frames = GC0310_SKIP_FRAMES;
return 0;
}
static const struct v4l2_subdev_sensor_ops gc0310_sensor_ops = {
.g_skip_frames = gc0310_g_skip_frames,
};
static const struct v4l2_subdev_video_ops gc0310_video_ops = {
.s_stream = v4l2_subdev_s_stream_helper,
};
@@ -554,7 +544,6 @@ static const struct v4l2_subdev_pad_ops gc0310_pad_ops = {
static const struct v4l2_subdev_ops gc0310_ops = {
.video = &gc0310_video_ops,
.pad = &gc0310_pad_ops,
.sensor = &gc0310_sensor_ops,
};
static int gc0310_init_state(struct v4l2_subdev *sd,