Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e553000a authored by Sylwester Nawrocki's avatar Sylwester Nawrocki Committed by Mauro Carvalho Chehab
Browse files

[media] sr030pc30: Remove empty s_stream op



s_stream does nothing in current form so remove it.

Signed-off-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: default avatarKyungmin Park <kyungin.park@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 6f43dbfd
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -714,11 +714,6 @@ static int sr030pc30_base_config(struct v4l2_subdev *sd)
	return ret;
	return ret;
}
}


static int sr030pc30_s_stream(struct v4l2_subdev *sd, int enable)
{
	return 0;
}

static int sr030pc30_s_power(struct v4l2_subdev *sd, int on)
static int sr030pc30_s_power(struct v4l2_subdev *sd, int on)
{
{
	struct i2c_client *client = v4l2_get_subdevdata(sd);
	struct i2c_client *client = v4l2_get_subdevdata(sd);
@@ -764,7 +759,6 @@ static const struct v4l2_subdev_core_ops sr030pc30_core_ops = {
};
};


static const struct v4l2_subdev_video_ops sr030pc30_video_ops = {
static const struct v4l2_subdev_video_ops sr030pc30_video_ops = {
	.s_stream	= sr030pc30_s_stream,
	.g_mbus_fmt	= sr030pc30_g_fmt,
	.g_mbus_fmt	= sr030pc30_g_fmt,
	.s_mbus_fmt	= sr030pc30_s_fmt,
	.s_mbus_fmt	= sr030pc30_s_fmt,
	.try_mbus_fmt	= sr030pc30_try_fmt,
	.try_mbus_fmt	= sr030pc30_try_fmt,