linux-kernel-test/drivers/base
Alan Stern 81107bf531 Driver core: Remove unneeded routines from driver core
This patch (as783) simplifies the driver core slightly by removing four
unnecessary _get and _put methods.

It is vital that when a driver is removed from its bus's klist of
registered drivers, or when a device is removed from a driver's klist
of bound devices, that the klist updates complete synchronously.
Otherwise the kernel might try binding an unregistered driver to a
newly-registered device, or adding a device to the klist for a new
driver before it has been removed from the old driver's klist.

Since the removals must be synchronous, they don't need to update any
reference counts.  Hence the _get and _put methods can be dispensed
with.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-09-25 21:08:40 -07:00
..
power Driver core: fix comments in drivers/base/power/resume.c 2006-09-25 21:08:39 -07:00
attribute_container.c [PATCH] Driver Core: remove unused exports 2006-06-21 12:40:48 -07:00
base.h drivers/base: check errors 2006-09-25 21:08:39 -07:00
bus.c Driver core: Remove unneeded routines from driver core 2006-09-25 21:08:40 -07:00
class.c Class: add support for class interfaces for devices 2006-09-25 21:08:38 -07:00
core.c drivers/base: Platform notify needs to occur before drivers attach to the device 2006-09-25 21:08:39 -07:00
cpu.c [PATCH] sched: mc/smt power savings sched policy 2006-06-27 17:32:45 -07:00
dd.c Driver core: Fix potential deadlock in driver core 2006-09-25 21:08:40 -07:00
dmapool.c [PATCH] add poison.h and patch primary users 2006-06-27 17:32:38 -07:00
driver.c Driver core: Remove unneeded routines from driver core 2006-09-25 21:08:40 -07:00
firmware_class.c [PATCH] firmware_class: s/semaphores/mutexes 2006-06-21 12:40:49 -07:00
firmware.c [PATCH] drivers/base - fix sparse warnings 2005-10-28 09:52:55 -07:00
hypervisor.c [S390] hypfs comment cleanup. 2006-09-20 15:58:44 +02:00
init.c [PATCH] Driver Core: Add /sys/hypervisor when needed 2006-06-21 12:40:48 -07:00
isa.c [PATCH] Driver model: add ISA bus 2006-06-21 12:40:49 -07:00
Kconfig [PATCH] don't select CONFIG_HOTPLUG 2006-07-10 13:24:12 -07:00
Makefile [PATCH] Driver model: add ISA bus 2006-06-21 12:40:49 -07:00
map.c [PATCH] kobj_map semaphore to mutex conversion 2006-03-20 13:42:58 -08:00
memory.c [PATCH] pgdat allocation for new node add (specify node id) 2006-06-27 17:32:35 -07:00
node.c [PATCH] /proc/meminfo: don't put spaces in names 2006-08-27 11:01:33 -07:00
platform.c PM: platform_bus and late_suspend/early_resume 2006-09-25 21:08:38 -07:00
sys.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
topology.c [PATCH] cpu hotplug: use hotplug version of registration in late inits 2006-07-31 13:28:39 -07:00
transport_class.c [SCSI] fix transport class corner case after rework 2005-08-28 11:14:06 -05:00