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)
commitca07561ac70b00b5c2b5af727b3d0b6a4f91bee2
tree0f5237cb2574e1b268cbbdbc1ce47d0639b94dec
parent8bcfd7af902eaa7c0029082247fe0682ce0c1a5b
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