]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Driver core: fix class glue dir cleanup logic
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 21 Nov 2007 16:29:15 +0000 (17:29 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:36 +0000 (20:40 -0800)
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 <stern@rowland.harvard.edu>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found