]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PM / Runtime: Remove device fields related to suspend time, v2
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 29 Apr 2012 20:54:36 +0000 (22:54 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sun, 29 Apr 2012 20:54:36 +0000 (22:54 +0200)
commit50d26207c7d3d2e31806d525aa12366fdf3c9364
tree09dbc5d201eb11254eada864d930c23612176f65
parent69c1bf38e7a64929c5ff0805e1e0038bec7ed329
PM / Runtime: Remove device fields related to suspend time, v2

After the previous changes in default_stop_ok() and
default_power_down_ok() for PM domains, there are two fields in
struct dev_pm_info that aren't necessary any more,  suspend_time
and max_time_suspended_ns.

Remove those fields along with all of the code that accesses them,
which simplifies the runtime PM framework quite a bit.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/power/domain.c
drivers/base/power/runtime.c
include/linux/pm.h
include/linux/pm_runtime.h