V4L/DVB (8782): v4l2-dev: add video_device_release_empty
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 23 Aug 2008 08:47:41 +0000 (05:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:36:54 +0000 (09:36 -0200)
commitf9e86b5e9d068854a2cf40f8003ef639e80cca6c
tree03b3ba79c4e099a6dcefd490e29d6310cc1d881a
parentcb353588e1946ab709be57dd8545598793acf912
V4L/DVB (8782): v4l2-dev: add video_device_release_empty

Add a second release function: video_device_release_empty
It can be used by drivers that have statically allocated
video_device structs.

Its use usually, but not always, indicates laziness on the
part of the driver programmer.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-dev.c
include/media/v4l2-dev.h