android_kernel_xiaomi_sm8350/drivers/base
Alan Stern f70fa6296c Driver core: Don't ignore error returns from probing
This patch (as797) fixes device_add() in the driver core.  It needs to
pay attention when the driver for a new device reports an error.

At the same time, since bus_remove_device() undoes the effects of both
bus_add_device() and bus_attach_device(), it needs to check whether
the bus_attach_device step failed.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-10-18 12:49:55 -07:00
..
power
attribute_container.c
base.h
bus.c Driver core: Don't ignore error returns from probing 2006-10-18 12:49:55 -07:00
class.c driver core fixes: sysfs_create_link() retval check in class.c 2006-10-18 12:49:54 -07:00
core.c Driver core: Don't ignore error returns from probing 2006-10-18 12:49:55 -07:00
cpu.c
dd.c Driver core: plug device probe memory leak 2006-10-18 12:49:54 -07:00
dmapool.c driver core fixes: device_create_file() retval check in dmapool.c 2006-10-18 12:49:55 -07:00
driver.c
firmware_class.c
firmware.c
hypervisor.c
init.c
isa.c
Kconfig
Makefile
map.c
memory.c
node.c
platform.c
sys.c
topology.c driver core fixes: sysfs_create_group() retval in topology.c 2006-10-18 12:49:55 -07:00
transport_class.c