V4L/DVB (11044): v4l2-device: add v4l2_device_disconnect
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 14 Mar 2009 11:28:45 +0000 (08:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:22 +0000 (12:43 -0300)
Call v4l2_device_disconnect when the parent of a hotpluggable device
disconnects. This ensures that you do not have a pointer to a device that
is no longer present.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found