commit | 82f0cf9b7c42684c29189ddb6d0bc86eb1137fc4 | [log] [tgz] |
---|---|---|
author | James Simmons <jsimmons@infradead.org> | Wed Feb 21 17:44:51 2007 +0000 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Feb 23 14:52:09 2007 -0800 |
tree | 3052eb95a5e6070cbee8a1262952abc48f2eedbe | |
parent | 4541ac94d0ea0b00776edd5904ac91dd6d6330f7 [diff] |
Driver core: fix error by cleanup up symlinks properly When a device fails to register the class symlinks where not cleaned up. This left a symlink in the /sys/class/"device"/ directory that pointed to no where. This caused the sysfs_follow_link Oops I reported earlier. This patch cleanups up the symlink. Please apply. Thank you. Signed-Off: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>