[PATCH] Driver Core: remove driver model detach_state
authorDavid Brownell <david-b@pacbell.net>
Thu, 12 May 2005 19:06:27 +0000 (12:06 -0700)
committerGreg KH <gregkh@suse.de>
Tue, 17 May 2005 21:54:55 +0000 (14:54 -0700)
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>

No differences found