Files
kernel_arpi/include/linux
Rafael J. Wysocki dbf374142d PM / Domains: Move syscore flag from subsys data to struct device
The syscore device PM flag is used to mark the devices (belonging to
a PM domain) that should never be turned off, except for the system
core (syscore) suspend/hibernation and resume stages.  That flag is
stored in the device's struct pm_subsys_data object whose address is
available from struct device.  However, in some situations it may be
convenient to set that flag before the device is added to a PM
domain, so it is better to move it directly to the "power" member of
struct device.  Then, it can be checked by the routines in
drivers/base/power/runtime.c and drivers/base/power/main.c, which is
more straightforward.

This also reduces the number of dev_gpd_data() invocations in the
generic PM domains framework, so the overhead related to the syscore
flag is slightly smaller.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Magnus Damm <damm@opensource.se>
2012-09-04 01:36:04 +02:00
..
2012-08-02 13:51:46 -04:00
2012-07-30 18:16:01 -07:00
2012-07-30 18:15:23 -07:00
2012-07-30 17:25:21 -07:00
2012-08-07 10:10:57 +02:00
2012-07-31 18:42:43 -07:00
2012-07-30 17:25:11 -07:00
2012-07-22 23:57:58 +04:00
2012-08-04 01:24:44 +04:00
2012-08-06 13:33:21 -07:00
2012-07-19 10:38:32 -04:00
2012-07-31 08:16:42 -05:00
2012-08-22 10:24:41 -04:00
2012-07-29 21:24:13 +04:00
2012-07-09 16:42:24 -04:00
2012-07-30 19:06:52 -04:00
2012-07-30 19:06:52 -04:00
2012-07-10 10:32:06 -05:00
2012-07-31 18:42:43 -07:00
2012-07-12 07:54:46 -07:00
2012-07-19 10:38:32 -04:00
2012-07-30 17:25:20 -07:00
2012-07-16 22:31:34 -07:00
2012-07-23 00:58:46 -07:00
2012-07-22 23:57:55 +04:00
2012-07-31 08:16:24 -06:00
2012-07-31 18:42:50 -07:00
2012-08-04 12:15:37 +04:00