linux_old1/drivers/base/power
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
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
main.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
power.h [PATCH] Driver Core: remove driver model detach_state 2005-05-17 14:54:55 -07:00
resume.c [PATCH] Driver Core: pm diagnostics update, check for errors 2005-05-17 14:54:54 -07:00
runtime.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
shutdown.c [PATCH] Driver Core: remove driver model detach_state 2005-05-17 14:54:55 -07:00
suspend.c [PATCH] Driver Core: pm diagnostics update, check for errors 2005-05-17 14:54:54 -07:00
sysfs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00