summaryrefslogtreecommitdiffstats
path: root/lib/kobject.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-11-21 17:29:15 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-24 20:40:36 -0800
commitda231fd5d113ab6da5dab7a2d2c38d0a540f939c (patch)
treefbaa6dfe56d544af0edc3e01633006515c2e582d /lib/kobject.c
parentef2c51746dc89c2326ce522f8fb8a57695780e75 (diff)
downloadop-kernel-dev-da231fd5d113ab6da5dab7a2d2c38d0a540f939c.zip
op-kernel-dev-da231fd5d113ab6da5dab7a2d2c38d0a540f939c.tar.gz
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>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud