[media] adv7180: remove {query/g_/s_}ctrl
authorFederico Vaga <federico.vaga@gmail.com>
Wed, 23 Jan 2013 13:07:07 +0000 (10:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 6 Feb 2013 16:17:57 +0000 (14:17 -0200)
All drivers which use this subdevice use also the control framework.
The v4l2_subdev_core_ops operations {query/g_/s_}ctrl are useless because
device drivers will inherit controls from this subdevice.

Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/adv7180.c

index 64d71fb87a96acc7dcda6eddc9069f8561842fbc..34f39d3b3e3ee4e4bb75c445f273e74aff12ffd0 100644 (file)
@@ -402,9 +402,6 @@ static const struct v4l2_subdev_video_ops adv7180_video_ops = {
 static const struct v4l2_subdev_core_ops adv7180_core_ops = {
        .g_chip_ident = adv7180_g_chip_ident,
        .s_std = adv7180_s_std,
-       .queryctrl = v4l2_subdev_queryctrl,
-       .g_ctrl = v4l2_subdev_g_ctrl,
-       .s_ctrl = v4l2_subdev_s_ctrl,
 };
 
 static const struct v4l2_subdev_ops adv7180_ops = {