Re: [PATCH 1/2] PM / Runtime: Consolidate code to get active/suspended time

2019-03-12 Thread Ulf Hansson
On Mon, 11 Mar 2019 at 13:03, Rafael J. Wysocki wrote: > > On Tuesday, March 5, 2019 1:55:26 PM CET Ulf Hansson wrote: > > In a step to consolidate code around fetching the runtime PM active/suspend > > time for a device, let's re-factor the existing pm_runtime_suspended_time() > > and add a new c

Re: [PATCH 1/2] PM / Runtime: Consolidate code to get active/suspended time

2019-03-11 Thread Rafael J. Wysocki
On Tuesday, March 5, 2019 1:55:26 PM CET Ulf Hansson wrote: > In a step to consolidate code around fetching the runtime PM active/suspend > time for a device, let's re-factor the existing pm_runtime_suspended_time() > and add a new corresponding pm_runtime_active_time(). Make the latter > shared in