android_kernel_xiaomi_sm8350/drivers/base
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
..
power
attribute_container.c
base.h devres: device resource management 2007-02-09 17:39:36 -05:00
bus.c Driver core: device_add_attrs() cleanup 2007-02-16 15:19:18 -08:00
class.c Driver core: remove class_device_rename 2007-02-23 14:52:08 -08:00
core.c Driver core: fix error by cleanup up symlinks properly 2007-02-23 14:52:09 -08:00
cpu.c Replace remaining references to "driverfs" with "sysfs". 2007-02-17 19:13:42 +01:00
dd.c devres: device resource management 2007-02-09 17:39:36 -05:00
devres.c devres: device resource management 2007-02-09 17:39:36 -05:00
dma-mapping.c devres: device resource management 2007-02-09 17:39:36 -05:00
dmapool.c devres: device resource management 2007-02-09 17:39:36 -05:00
driver.c
firmware_class.c Driver Core: Increase the default timeout value of the firmware subsystem 2007-02-07 10:37:14 -08:00
firmware.c
hypervisor.c
init.c
isa.c
Kconfig devres: device resource management 2007-02-09 17:39:36 -05:00
Makefile devres: device resource management 2007-02-09 17:39:36 -05:00
map.c
memory.c [PATCH] driver/base/memory.c: handle errors properly 2006-12-07 08:39:36 -08:00
node.c Replace remaining references to "driverfs" with "sysfs". 2007-02-17 19:13:42 +01:00
platform.c driver core fixes: device_register() retval check in platform.c 2007-02-07 10:37:12 -08:00
sys.c
topology.c [PATCH] hotplug CPU: clean up hotcpu_notifier() use 2006-12-07 08:39:39 -08:00
transport_class.c