From: Brandon Philips Date: Wed, 25 Jun 2008 01:58:25 +0000 (-0300) Subject: V4L/DVB (8389): videodev: simplify get_index() X-Git-Tag: v2.6.27-rc1~966^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8373a3e512c8ea8e93981d42b0d1efb252be17fa;p=pandora-kernel.git V4L/DVB (8389): videodev: simplify get_index() Use Hans Verkuil's suggested method of implementing get_index which doesn't depend on class_for_each_device and instead uses the video_device array. This simplifies the code and reduces its memory footprint. Signed-off-by: Brandon Philips Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed