James Simmons 82f0cf9b7c 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>
2007-02-23 14:52:09 -08:00
..
2007-02-09 17:39:36 -05:00
2007-02-16 15:19:18 -08:00
2007-02-09 17:39:36 -05:00
2007-02-09 17:39:36 -05:00
2007-02-09 17:39:36 -05:00
2006-09-20 15:58:44 +02:00
2006-06-21 12:40:49 -07:00
2007-02-09 17:39:36 -05:00
2007-02-09 17:39:36 -05:00