From: Trent Piepho Date: Mon, 12 Jan 2009 16:09:46 +0000 (-0300) Subject: V4L/DVB (10226): zoran: Get rid of extra module ref count X-Git-Tag: v2.6.29-rc4~69^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc96ab730268b8b652ae2494088e8bd4572f58aa;p=pandora-kernel.git 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 Acked-by: Jean Delvare Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed