summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/au0828/au0828-i2c.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-08-29 22:31:35 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-08-29 22:31:35 +0200
commit937ba8f2a0dc3b8cdb98de9a48c256ad24427ac9 (patch)
tree46ad5e82925449b3469d0aec284b0285c4f87979 /linux/drivers/media/video/au0828/au0828-i2c.c
parent6f9aa9413aac5a24f2e03dc48b2ff3db0ccafc92 (diff)
downloadmediapointer-dvb-s2-937ba8f2a0dc3b8cdb98de9a48c256ad24427ac9.tar.gz
mediapointer-dvb-s2-937ba8f2a0dc3b8cdb98de9a48c256ad24427ac9.tar.bz2
v4l2: use register_chrdev_region instead of register_chrdev
From: Hans Verkuil <hverkuil@xs4all.nl> Replace the old register_chrdev with the more flexible register_chrdev_region. Ensure that the release() is called when the very last chardev usage was released, and not when the sysfs devices were removed. This should simplify hotpluggable drivers considerably. Tested-by: Mike Isely <isely@isely.net> Tested-by: Laurent Pinchart <laurent.pinchart@skynet.be> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Acked-by: David Ellingsworth <david@identd.dyndns.org> Reviewed-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Diffstat (limited to 'linux/drivers/media/video/au0828/au0828-i2c.c')
0 files changed, 0 insertions, 0 deletions