From: Mike Isely Date: Sat, 9 Feb 2008 18:44:30 +0000 (-0300) Subject: V4L/DVB (7689): pvrusb2-dvb: Rework module tear-down X-Git-Tag: v2.6.26-rc1~1084^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=891d99efc5be16d2762bdbb9d0486f7250990eee;p=pandora-kernel.git V4L/DVB (7689): pvrusb2-dvb: Rework module tear-down Rather than making an explicit call to tear down the pvrusb2-dvb module, use the callback in the pvr2_channel structure. This has the advantage that now tear-down only happens when it makes sense. The previous implementation had scenarios where it was possible for the tear-down call to happen without a prior initialization. Signed-off-by: Mike Isely Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed