diff options
author | 2008-06-24 22:58:25 -0300 | |
---|---|---|
committer | 2008-07-20 07:28:39 -0300 | |
commit | 8373a3e512c8ea8e93981d42b0d1efb252be17fa (patch) | |
tree | bef7482f3f00d40b675072a33f5728e03e07aa42 /mm/mm_init.c | |
parent | V4L/DVB (8387): Some cosmetic changes (diff) | |
download | wireguard-linux-8373a3e512c8ea8e93981d42b0d1efb252be17fa.tar.xz wireguard-linux-8373a3e512c8ea8e93981d42b0d1efb252be17fa.zip |
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 <bphilips@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions