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)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 23 Jul 2012 08:34:57 +0000 (13:34 +0530)
commitf95fec3050858e2240273016757a4d341fdb79cd
tree361ef959fb5f6288569fb81b44b11f54d82f07eb
parentdf7073c741b638201b3ad78e3a4d3b10b684a8cd
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