android_kernel_xiaomi_sm8350/fs/sysfs
Mark Fasheh a839c5afcd 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 <mfasheh@suse.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-04-18 08:56:10 -07:00
..
bin.c
dir.c sysfs: Fix a copy-n-paste typo in comment 2008-01-24 20:40:04 -08:00
file.c driver core: debug for bad dev_attr_show() return value. 2008-03-24 22:33:49 -07:00
group.c sysfs: remove BUG_ON() from sysfs_remove_group() 2008-02-07 11:31:46 -08:00
inode.c
Makefile
mount.c
symlink.c sysfs: Allow removal of symlinks in the sysfs root 2008-04-18 08:56:10 -07:00
sysfs.h