[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211004110421.agep6hxoa6qo7wy2@vireshk-i7>
Date: Mon, 4 Oct 2021 16:34:21 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Dmitry Osipenko <digetx@...il.com>
Cc: Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
Viresh Kumar <vireshk@...nel.org>, Nishanth Menon <nm@...com>,
MyungJoo Ham <myungjoo.ham@...sung.com>,
Stephen Boyd <sboyd@...nel.org>,
Kyungmin Park <kyungmin.park@...sung.com>,
Chanwoo Choi <cw00.choi@...sung.com>,
linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org
Subject: Re: [PATCH v2 1/4] opp: Add more resource-managed variants of
dev_pm_opp_of_add_table()
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@...il.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 ?
--
viresh
Powered by blists - more mailing lists