Skip to content

Commit

Permalink
[media] adv7180: remove {query/g_/s_}ctrl
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Federico Vaga authored and Mauro Carvalho Chehab committed Feb 6, 2013
1 parent 8dc97ea commit 9f3b935
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/media/i2c/adv7180.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 9f3b935

Please sign in to comment.