Re: PM: add two device managed helpers

Greg Kroah-Hartman
2021-07-28T06:23:31Z

On Wed, Jul 28, 2021 at 12:02:00AM +0300, Dmitry Baryshkov wrote:
> Qualcomm clock controller code (and most probably other drivers) would
> benefit from having devres helpers for pm_runtime_enable() and
> pm_clk_create(). Add those two helpers.
>

I do not want to add new "helpers" without seeing them actually used in
the kernel at the same time, so that we can verify they work and make
code easier to understand.

So please feel free to resubmit this as a patch series that uses them,
adding apis that no one uses is not a good idea.

thanks,

greg k-h