aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pm.h
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2019-03-05 13:55:26 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-03-07 11:23:17 +0100
commitfdc56c073270af2f4d223c96a5fff3048352fc03 (patch)
tree255e77fb9ad72b3112e447b72b64c7b71b999fd0 /include/linux/pm.h
parentMerge tag 'pm-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm (diff)
downloadlinux-dev-fdc56c073270af2f4d223c96a5fff3048352fc03.tar.xz
linux-dev-fdc56c073270af2f4d223c96a5fff3048352fc03.zip
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>
Diffstat (limited to 'include/linux/pm.h')
0 files changed, 0 insertions, 0 deletions