Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] ov7670: remove legacy ctrl callbacks

via-camera and mcam-core were the only bridge drivers that used ov7670.
Since now they have been moved to use the ctrl framework, the old
legacy callbacks in the ov7670 can be removed.

Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by

Javier Martin and committed by
Mauro Carvalho Chehab
de03277d dbf8f4e5

-7
-7
drivers/media/i2c/ov7670.c
··· 1504 1504 1505 1505 static const struct v4l2_subdev_core_ops ov7670_core_ops = { 1506 1506 .g_chip_ident = ov7670_g_chip_ident, 1507 - .g_ext_ctrls = v4l2_subdev_g_ext_ctrls, 1508 - .try_ext_ctrls = v4l2_subdev_try_ext_ctrls, 1509 - .s_ext_ctrls = v4l2_subdev_s_ext_ctrls, 1510 - .g_ctrl = v4l2_subdev_g_ctrl, 1511 - .s_ctrl = v4l2_subdev_s_ctrl, 1512 - .queryctrl = v4l2_subdev_queryctrl, 1513 - .querymenu = v4l2_subdev_querymenu, 1514 1507 .reset = ov7670_reset, 1515 1508 .init = ov7670_init, 1516 1509 #ifdef CONFIG_VIDEO_ADV_DEBUG