]> 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>
Tue, 1 May 2012 19:28:38 +0000 (21:28 +0200)
commit76e267d822f2913893ad210ba431607aa8e2af94
treece3a821135a398748063f29cb064147d27b40a47
parentdd8683e97f12609fb3f8c4318628f0d246542f89
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