From: James Simmons Date: Wed, 21 Feb 2007 17:44:51 +0000 (+0000) Subject: Driver core: fix error by cleanup up symlinks properly X-Git-Tag: v2.6.21-rc2~44^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82f0cf9b7c42684c29189ddb6d0bc86eb1137fc4;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed