WSL2-Linux-Kernel/drivers/base
David Brownell 0b405a0f7e [PATCH] Driver Core: remove driver model detach_state
The driver model has a "detach_state" mechanism that:

 - Has never been used by any in-kernel drive;
 - Is superfluous, since driver remove() methods can do the same thing;
 - Became buggy when the suspend() parameter changed semantics and type;
 - Could self-deadlock when called from certain suspend contexts;
 - Is effectively wasted documentation, object code, and headspace.

This removes that "detach_state" mechanism; net code shrink, as well
as a per-device saving in the driver model and sysfs.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-05-17 14:54:55 -07:00
..
power [PATCH] Driver Core: remove driver model detach_state 2005-05-17 14:54:55 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] Driver Core: remove driver model detach_state 2005-05-17 14:54:55 -07:00
attribute_container.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
base.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bus.c [PATCH] Driver Core: remove driver model detach_state 2005-05-17 14:54:55 -07:00
class.c [PATCH] kobject/hotplug split - class core 2005-04-18 21:57:35 -07:00
class_simple.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
core.c [PATCH] Driver Core: remove driver model detach_state 2005-05-17 14:54:55 -07:00
cpu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dmapool.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
driver.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
firmware.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
firmware_class.c [PATCH] add TIMEOUT to firmware_class hotplug event 2005-04-18 21:57:31 -07:00
init.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
map.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
node.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
platform.c [PATCH] DocBook: fix some descriptions 2005-05-01 08:59:26 -07:00
sys.c [PATCH] pm_message_t: more fixes in common and i386 2005-04-16 15:25:24 -07:00
transport_class.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00