diff mbox

noon010p30: Remove unneeded v4l2 control compatibility ops

Message ID 1358631493-12822-1-git-send-email-sylvester.nawrocki@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Sylwester Nawrocki Jan. 19, 2013, 9:38 p.m. UTC
All host drivers using this subdev driver are already converted
to use the control framework so the compatibility ops can be dropped.

Signed-off-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
---
 drivers/media/i2c/noon010pc30.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

Comments

Hans Verkuil Jan. 21, 2013, 9:40 a.m. UTC | #1
On Sat January 19 2013 22:38:13 Sylwester Nawrocki wrote:
> All host drivers using this subdev driver are already converted
> to use the control framework so the compatibility ops can be dropped.
> 
> Signed-off-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>

Regards,

	Hans

> ---
>  drivers/media/i2c/noon010pc30.c |    7 -------
>  1 files changed, 0 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/media/i2c/noon010pc30.c b/drivers/media/i2c/noon010pc30.c
> index 440c129..8554b47 100644
> --- a/drivers/media/i2c/noon010pc30.c
> +++ b/drivers/media/i2c/noon010pc30.c
> @@ -660,13 +660,6 @@ static const struct v4l2_ctrl_ops noon010_ctrl_ops = {
>  
>  static const struct v4l2_subdev_core_ops noon010_core_ops = {
>  	.s_power	= noon010_s_power,
> -	.g_ctrl		= v4l2_subdev_g_ctrl,
> -	.s_ctrl		= v4l2_subdev_s_ctrl,
> -	.queryctrl	= v4l2_subdev_queryctrl,
> -	.querymenu	= v4l2_subdev_querymenu,
> -	.g_ext_ctrls	= v4l2_subdev_g_ext_ctrls,
> -	.try_ext_ctrls	= v4l2_subdev_try_ext_ctrls,
> -	.s_ext_ctrls	= v4l2_subdev_s_ext_ctrls,
>  	.log_status	= noon010_log_status,
>  };
>  
> 
--
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/noon010pc30.c b/drivers/media/i2c/noon010pc30.c
index 440c129..8554b47 100644
--- a/drivers/media/i2c/noon010pc30.c
+++ b/drivers/media/i2c/noon010pc30.c
@@ -660,13 +660,6 @@  static const struct v4l2_ctrl_ops noon010_ctrl_ops = {
 
 static const struct v4l2_subdev_core_ops noon010_core_ops = {
 	.s_power	= noon010_s_power,
-	.g_ctrl		= v4l2_subdev_g_ctrl,
-	.s_ctrl		= v4l2_subdev_s_ctrl,
-	.queryctrl	= v4l2_subdev_queryctrl,
-	.querymenu	= v4l2_subdev_querymenu,
-	.g_ext_ctrls	= v4l2_subdev_g_ext_ctrls,
-	.try_ext_ctrls	= v4l2_subdev_try_ext_ctrls,
-	.s_ext_ctrls	= v4l2_subdev_s_ext_ctrls,
 	.log_status	= noon010_log_status,
 };