From: Mark Fasheh Date: Tue, 29 Jan 2008 22:35:18 +0000 (-0800) Subject: sysfs: Allow removal of symlinks in the sysfs root X-Git-Tag: v2.6.26-rc1~1143^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a839c5afcdc345aecb35b0d3bcd0e09b571329c3;p=pandora-kernel.git sysfs: Allow removal of symlinks in the sysfs root Allow callers of sysfs_remove_link() to pass a NULL kobj, in which case sysfs_root will be used as the parent directory. This allows us to tear down top level symlinks created via sysfs_create_link(), which already has similar handling of a NULL parent object. Signed-off-by: Mark Fasheh Acked-by: Greg Kroah-Hartman --- Reading git-diff-tree failed