From: Kay Sievers Date: Wed, 21 Nov 2007 16:29:15 +0000 (+0100) Subject: Driver core: fix class glue dir cleanup logic X-Git-Tag: v2.6.25-rc1~1243^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da231fd5d113ab6da5dab7a2d2c38d0a540f939c;p=pandora-kernel.git Driver core: fix class glue dir cleanup logic We should remove the glue directory between the class and the bus device _after_ we sent out the 'remove' event for the device, otherwise the parent relationship is no longer valid, and composing the path with deleted sysfs entries will not work. Cc: Alan Stern Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed