Re: [PATCH 1/2][RFC] PM-runtime: Move all runtime usage related function to runtime.c

From: Chen Yu
Date: Sat Jun 06 2020 - 13:17:28 EST


On Sat, Jun 06, 2020 at 03:05:35AM +0800, Chen Yu wrote:
> In order to track all the runtime usage count change, move the code
> related to runtime usage count change from pm_runtime.h to runtime.c,
> so that in runtime.c we can leverage trace event to do the tracking.
> Meanwhile export pm_runtime_get_noresume() and pm_runtime_put_noidle()
> so the module can use them.
>
> No functional change.
>
There is a compile issue found by lkp, will send a
new version out.

Thanks,
Chenyu