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

Commit 0934d94a authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

[media] soc_camera: remove the now obsolete struct soc_camera_ops



Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
[g.liakhovetski@gmx.de: mt9m001 hunk moved to an earlier patch]
Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 41efcd7a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -437,7 +437,6 @@ static int imx074_probe(struct i2c_client *client,

	v4l2_i2c_subdev_init(&priv->subdev, client, &imx074_subdev_ops);

	icd->ops	= NULL;
	priv->fmt	= &imx074_colour_fmts[0];

	ret = imx074_video_probe(icd, client);
+0 −2
Original line number Diff line number Diff line
@@ -1095,8 +1095,6 @@ static int mt9t112_probe(struct i2c_client *client,

	v4l2_i2c_subdev_init(&priv->subdev, client, &mt9t112_subdev_ops);

	icd->ops = NULL;

	ret = mt9t112_camera_probe(icd, client);
	if (ret)
		kfree(priv);
+0 −1
Original line number Diff line number Diff line
@@ -942,7 +942,6 @@ static int ov5642_probe(struct i2c_client *client,

	v4l2_i2c_subdev_init(&priv->subdev, client, &ov5642_subdev_ops);

	icd->ops	= NULL;
	priv->fmt	= &ov5642_colour_fmts[0];

	ret = ov5642_video_probe(icd, client);
+0 −2
Original line number Diff line number Diff line
@@ -150,8 +150,6 @@ static int soc_camera_platform_probe(struct platform_device *pdev)
	/* Set the control device reference */
	icd->control = &pdev->dev;

	icd->ops = NULL;

	ici = to_soc_camera_host(icd->parent);

	v4l2_subdev_init(&priv->subdev, &platform_subdev_ops);
+0 −1
Original line number Diff line number Diff line
@@ -921,7 +921,6 @@ static int tw9910_probe(struct i2c_client *client,

	v4l2_i2c_subdev_init(&priv->subdev, client, &tw9910_subdev_ops);

	icd->ops     = NULL;
	icd->iface   = icl->bus_id;

	ret = tw9910_video_probe(icd, client);
Loading