diff options
author | Brandon Philips <brandon@ifup.org> | 2008-06-24 15:58:25 -0700 |
---|---|---|
committer | Brandon Philips <brandon@ifup.org> | 2008-06-24 15:58:25 -0700 |
commit | cdb4e5f01f68efa6fa2f585413b35c2b7726fb06 (patch) | |
tree | 082bbf38cc5febf049afd1766dfdf8ad1a6bf361 /linux/drivers/media/video/cpia2/cpia2_usb.c | |
parent | 7916505c8d60e3616b033889debffd5fb280780f (diff) | |
download | mediapointer-dvb-s2-cdb4e5f01f68efa6fa2f585413b35c2b7726fb06.tar.gz mediapointer-dvb-s2-cdb4e5f01f68efa6fa2f585413b35c2b7726fb06.tar.bz2 |
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 <bphilips@suse.de>
Diffstat (limited to 'linux/drivers/media/video/cpia2/cpia2_usb.c')
0 files changed, 0 insertions, 0 deletions