From: Mike Isely Date: Sat, 3 Nov 2007 03:06:42 +0000 (-0300) Subject: V4L/DVB (6548): pvrusb2: Fix oops on module removal X-Git-Tag: v2.6.24-rc2~30^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f663bdc65307e38401aa3b787a7a7569f28b920;p=pandora-kernel.git V4L/DVB (6548): pvrusb2: Fix oops on module removal The pvrusb2 driver is tearing down its sysfs related pieces in the incorrect order. This leaves dangling pointers which causes the kernel device core to oops. The problem has been present virtually forever but became malignant with the changeover to the way of handling /sys/class. Fix is just to make sure we don't tear down the class structure until AFTER the driver instances are deregistered. Signed-off-by: Mike Isely Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed