mirror of https://gitee.com/openkylin/linux.git
0b405a0f7e
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> |
||
---|---|---|
.. | ||
power | ||
Kconfig | ||
Makefile | ||
attribute_container.c | ||
base.h | ||
bus.c | ||
class.c | ||
class_simple.c | ||
core.c | ||
cpu.c | ||
dmapool.c | ||
driver.c | ||
firmware.c | ||
firmware_class.c | ||
init.c | ||
map.c | ||
node.c | ||
platform.c | ||
sys.c | ||
transport_class.c |