]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (10226): zoran: Get rid of extra module ref count
authorTrent Piepho <xyzzy@speakeasy.org>
Mon, 12 Jan 2009 16:09:46 +0000 (13:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 29 Jan 2009 10:35:38 +0000 (08:35 -0200)
commitfc96ab730268b8b652ae2494088e8bd4572f58aa
tree5b177aae0894b5fb738c263b624c4dd16f5ae010
parent5e098b668977c85838af09005bd96c2e987654f0
V4L/DVB (10226): zoran: Get rid of extra module ref count

The zoran driver does a module_get/put of THIS_MODULE on device open/close.
This isn't necessary as the kernel does this automatically.

Clean up the failure path of zoran_open() somewhat.

Make the dprintk()s on open/close a higher debug level and make the user
count printed take the current open/close into account.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/zoran/zoran_driver.c