commit | fdc56c073270af2f4d223c96a5fff3048352fc03 | [log] [tgz] |
---|---|---|
author | Ulf Hansson <ulf.hansson@linaro.org> | Tue Mar 05 13:55:26 2019 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu Mar 07 11:23:17 2019 +0100 |
tree | 255e77fb9ad72b3112e447b72b64c7b71b999fd0 | |
parent | ef8006846a3a97d9d8bf49e63dba948d0d2dbbf0 [diff] |
PM-runtime: Consolidate code to get active/suspended time In a step to consolidate the code for fetching the PM-runtime active/suspended time for a device, add a common function for that and make the existing pm_runtime_suspended_time() call it. Also add a corresponding pm_runtime_active_time() calling the new common function. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> [ rjw: Changelog, function rename ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>