From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
Pavel Machek <pavel@ucw.cz>,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <bjorn.andersson@linaro.org>,
linux-arm-msm@vger.kernel.org
Subject: Re: PM: add two device managed helpers
Date: Wed, 28 Jul 2021 08:23:25 +0200 [thread overview]
Message-ID: <YQD33b6kjSk3AIAa@kroah.com> (raw)
In-Reply-To: <20210727210202.717181-1-dmitry.baryshkov@linaro.org>
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
next prev 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 PM: add two device managed helpers 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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YQD33b6kjSk3AIAa@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=agross@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=rjw@rjwysocki.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox