commit | da231fd5d113ab6da5dab7a2d2c38d0a540f939c | [log] [tgz] |
---|---|---|
author | Kay Sievers <kay.sievers@vrfy.org> | Wed Nov 21 17:29:15 2007 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Jan 24 20:40:36 2008 -0800 |
tree | fbaa6dfe56d544af0edc3e01633006515c2e582d | |
parent | ef2c51746dc89c2326ce522f8fb8a57695780e75 [diff] |
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 <stern@rowland.harvard.edu> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>