diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-08-29 22:31:35 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2008-08-29 22:31:35 +0200 |
commit | 937ba8f2a0dc3b8cdb98de9a48c256ad24427ac9 (patch) | |
tree | 46ad5e82925449b3469d0aec284b0285c4f87979 /linux/drivers/media/video/au0828/au0828-i2c.c | |
parent | 6f9aa9413aac5a24f2e03dc48b2ff3db0ccafc92 (diff) | |
download | mediapointer-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