diff mbox

[08/12] media/i2c/tvp514x: Remove compat control ops

Message ID 1434126678-7978-9-git-send-email-ricardo.ribalda@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ricardo Ribalda Delgado June 12, 2015, 4:31 p.m. UTC
They are no longer used in old non-control-framework
bridge drivers.

Reported-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
---
 drivers/media/i2c/tvp514x.c | 11 -----------
 1 file changed, 11 deletions(-)

Comments

Lad, Prabhakar June 15, 2015, 12:51 p.m. UTC | #1
On Fri, Jun 12, 2015 at 5:31 PM, Ricardo Ribalda Delgado
<ricardo.ribalda@gmail.com> wrote:
> They are no longer used in old non-control-framework
> bridge drivers.
>
> Reported-by: Hans Verkuil <hans.verkuil@cisco.com>
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>

Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>

Cheers,
--Prabhakar Lad

> ---
>  drivers/media/i2c/tvp514x.c | 11 -----------
>  1 file changed, 11 deletions(-)
>
> diff --git a/drivers/media/i2c/tvp514x.c b/drivers/media/i2c/tvp514x.c
> index 24e47279e30c..a93985a9b070 100644
> --- a/drivers/media/i2c/tvp514x.c
> +++ b/drivers/media/i2c/tvp514x.c
> @@ -957,16 +957,6 @@ static int tvp514x_set_pad_format(struct v4l2_subdev *sd,
>         return 0;
>  }
>
> -static const struct v4l2_subdev_core_ops tvp514x_core_ops = {
> -       .g_ext_ctrls = v4l2_subdev_g_ext_ctrls,
> -       .try_ext_ctrls = v4l2_subdev_try_ext_ctrls,
> -       .s_ext_ctrls = v4l2_subdev_s_ext_ctrls,
> -       .g_ctrl = v4l2_subdev_g_ctrl,
> -       .s_ctrl = v4l2_subdev_s_ctrl,
> -       .queryctrl = v4l2_subdev_queryctrl,
> -       .querymenu = v4l2_subdev_querymenu,
> -};
> -
>  static const struct v4l2_subdev_video_ops tvp514x_video_ops = {
>         .s_std = tvp514x_s_std,
>         .s_routing = tvp514x_s_routing,
> @@ -983,7 +973,6 @@ static const struct v4l2_subdev_pad_ops tvp514x_pad_ops = {
>  };
>
>  static const struct v4l2_subdev_ops tvp514x_ops = {
> -       .core = &tvp514x_core_ops,
>         .video = &tvp514x_video_ops,
>         .pad = &tvp514x_pad_ops,
>  };
> --
> 2.1.4
>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/media/i2c/tvp514x.c b/drivers/media/i2c/tvp514x.c
index 24e47279e30c..a93985a9b070 100644
--- a/drivers/media/i2c/tvp514x.c
+++ b/drivers/media/i2c/tvp514x.c
@@ -957,16 +957,6 @@  static int tvp514x_set_pad_format(struct v4l2_subdev *sd,
 	return 0;
 }
 
-static const struct v4l2_subdev_core_ops tvp514x_core_ops = {
-	.g_ext_ctrls = v4l2_subdev_g_ext_ctrls,
-	.try_ext_ctrls = v4l2_subdev_try_ext_ctrls,
-	.s_ext_ctrls = v4l2_subdev_s_ext_ctrls,
-	.g_ctrl = v4l2_subdev_g_ctrl,
-	.s_ctrl = v4l2_subdev_s_ctrl,
-	.queryctrl = v4l2_subdev_queryctrl,
-	.querymenu = v4l2_subdev_querymenu,
-};
-
 static const struct v4l2_subdev_video_ops tvp514x_video_ops = {
 	.s_std = tvp514x_s_std,
 	.s_routing = tvp514x_s_routing,
@@ -983,7 +973,6 @@  static const struct v4l2_subdev_pad_ops tvp514x_pad_ops = {
 };
 
 static const struct v4l2_subdev_ops tvp514x_ops = {
-	.core = &tvp514x_core_ops,
 	.video = &tvp514x_video_ops,
 	.pad = &tvp514x_pad_ops,
 };