PM: Introduce core framework for run-time PM of I/O devices (rev. 17)
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 18 Aug 2009 21:38:32 +0000 (23:38 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sat, 22 Aug 2009 22:04:44 +0000 (00:04 +0200)
commit5e928f77a09a07f9dd595bb8a489965d69a83458
treeef53ec90fa3214fd22e36b07c11c06b09e373d8d
parent8400146d0dc03590bba051399e4bb7e1cbf1c010
PM: Introduce core framework for run-time PM of I/O devices (rev. 17)

Introduce a core framework for run-time power management of I/O
devices.  Add device run-time PM fields to 'struct dev_pm_info'
and device run-time PM callbacks to 'struct dev_pm_ops'.  Introduce
a run-time PM workqueue and define some device run-time PM helper
functions at the core level.  Document all these things.

Special thanks to Alan Stern for his help with the design and
multiple detailed reviews of the pereceding versions of this patch
and to Magnus Damm for testing feedback.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Magnus Damm <damm@igel.co.jp>
Documentation/power/runtime_pm.txt [new file with mode: 0644]
drivers/base/dd.c
drivers/base/power/Makefile
drivers/base/power/main.c
drivers/base/power/power.h
drivers/base/power/runtime.c [new file with mode: 0644]
include/linux/pm.h
include/linux/pm_runtime.h [new file with mode: 0644]
kernel/power/Kconfig
kernel/power/main.c