]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (11116): ov7670: cleanup and remove legacy code.
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 18 Mar 2009 16:23:13 +0000 (13:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:30 +0000 (12:43 -0300)
commitb59407aed8ec1f6326e20fc0d1b4e44499866b4d
tree0f5237cb2574e1b268cbbdbc1ce47d0639b94dec
parent0d90f0f4cc7ccae824ba62e125e09c75518d12d8
V4L/DVB (11116): ov7670: cleanup and remove legacy code.

v4l2-i2c-drv-legacy.h and ov7670_command are no longer needed after the
cafe driver is converted to use v4l2_subdev.

Rather than using a large ov7670_control array, just call the handlers
via a simple switch and use v4l2_ctrl_query_fill() to handle queryctrl.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/ov7670.c