LKML Archive on
help / color / mirror / Atom feed
From: Greg Kroah-Hartman <>
To: Dmitry Baryshkov <>
Cc: "Rafael J. Wysocki" <>,
	Pavel Machek <>,,,
	Andy Gross <>,
	Bjorn Andersson <>,
Subject: Re: PM: add two device managed helpers
Date: Wed, 28 Jul 2021 08:23:25 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

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.


greg k-h

  parent reply	other threads:[~2021-07-28  6:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-27 21:02 Dmitry Baryshkov
2021-07-27 21:02 ` [PATCH 1/2] PM: runtime: add devm_pm_runtime_enable helper Dmitry Baryshkov
2021-07-27 21:02 ` [PATCH 2/2] PM: clk: add devm_pm_clk_create helper Dmitry Baryshkov
2021-07-28  6:23 ` Greg Kroah-Hartman [this message]
2021-07-28 10:40 ` PM: add two device managed helpers Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \
    --subject='Re: PM: add two device managed helpers' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).