summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFederico Vaga <federico.vaga@gmail.com>2013-01-23 14:07:07 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-02-06 17:17:57 +0100
commit9f3b935bfdf0e92b07a6ce0baf0eaa40b98866dc (patch)
tree78ba03678318f5676b753017825a41729b27fa8a
parent[media] sta2x11_vip: convert to videobuf2, control framework, file handler (diff)
downloadlinux-9f3b935bfdf0e92b07a6ce0baf0eaa40b98866dc.tar.xz
linux-9f3b935bfdf0e92b07a6ce0baf0eaa40b98866dc.zip
[media] adv7180: remove {query/g_/s_}ctrl
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>
-rw-r--r--drivers/media/i2c/adv7180.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c
index 64d71fb87a96..34f39d3b3e3e 100644
--- a/drivers/media/i2c/adv7180.c
+++ b/drivers/media/i2c/adv7180.c
@@ -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 = {