From: Dmitry Osipenko <digetx@gmail.com>
To: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Thierry Reding <thierry.reding@gmail.com>,
Jonathan Hunter <jonathanh@nvidia.com>,
Viresh Kumar <vireshk@kernel.org>, Nishanth Menon <nm@ti.com>,
MyungJoo Ham <myungjoo.ham@samsung.com>,
Stephen Boyd <sboyd@kernel.org>,
Kyungmin Park <kyungmin.park@samsung.com>,
Chanwoo Choi <cw00.choi@samsung.com>,
linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-pm@vger.kernel.org
Subject: Re: [PATCH v2 1/4] opp: Add more resource-managed variants of dev_pm_opp_of_add_table()
Date: Mon, 4 Oct 2021 17:52:27 +0300 [thread overview]
Message-ID: <4d1b8e24-ce85-aa2d-5720-d6e91cfb157b@gmail.com> (raw)
In-Reply-To: <20211004110421.agep6hxoa6qo7wy2@vireshk-i7>
04.10.2021 14:04, Viresh Kumar пишет:
> On 20-09-21, 20:22, Dmitry Osipenko wrote:
>> Add resource-managed variants of dev_pm_opp_of_add_table_indexed() and
>> dev_pm_opp_of_add_table_noclk(), allowing drivers to remove boilerplate
>> code.
>>
>> Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
>> ---
>> drivers/opp/of.c | 46 +++++++++++++++++++++++++++++++++++-------
>> include/linux/pm_opp.h | 12 +++++++++++
>> 2 files changed, 51 insertions(+), 7 deletions(-)
>>
>> diff --git a/drivers/opp/of.c b/drivers/opp/of.c
>> index 2a97c6535c4c..bd01ecb1d85c 100644
>> --- a/drivers/opp/of.c
>> +++ b/drivers/opp/of.c
>> @@ -1081,6 +1081,17 @@ static void devm_pm_opp_of_table_release(void *data)
>> dev_pm_opp_of_remove_table(data);
>> }
>>
>> +static int devm_of_add_table_indexed(struct device *dev, int index, bool getclk)
>
> Made this _devm_of_add_table_indexed() and applied this patch. Thanks.
>
> What about rest of the series ?
>
I assume you should take it all via the OPP tree since Chanwoo gave the
acks, otherwise immutable branch is needed from you.
next prev parent reply other threads:[~2021-10-04 14:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-20 17:22 [PATCH v2 0/4] Make probe() of Tegra devfreq driver completely resource-managed Dmitry Osipenko
2021-09-20 17:22 ` [PATCH v2 1/4] opp: Add more resource-managed variants of dev_pm_opp_of_add_table() Dmitry Osipenko
2021-10-04 11:04 ` Viresh Kumar
2021-10-04 14:52 ` Dmitry Osipenko [this message]
2021-09-20 17:22 ` [PATCH v2 2/4] PM / devfreq: Add devm_devfreq_add_governor() Dmitry Osipenko
2021-09-22 7:49 ` Chanwoo Choi
2021-09-20 17:22 ` [PATCH v2 3/4] PM / devfreq: tegra30: Use resource-managed helpers Dmitry Osipenko
2021-09-22 8:11 ` Chanwoo Choi
2021-09-20 17:22 ` [PATCH v2 4/4] PM / devfreq: tegra30: Check whether clk_round_rate() returns zero rate Dmitry Osipenko
2021-10-05 4:25 ` [PATCH v2 0/4] Make probe() of Tegra devfreq driver completely resource-managed Viresh Kumar
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=4d1b8e24-ce85-aa2d-5720-d6e91cfb157b@gmail.com \
--to=digetx@gmail.com \
--cc=cw00.choi@samsung.com \
--cc=jonathanh@nvidia.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=myungjoo.ham@samsung.com \
--cc=nm@ti.com \
--cc=sboyd@kernel.org \
--cc=thierry.reding@gmail.com \
--cc=viresh.kumar@linaro.org \
--cc=vireshk@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).