Re: [PATCH 07/11] cpufreq: mvebu: Remove OPPs using dev_pm_opp_remove()

From: Viresh Kumar
Date: Wed Sep 19 2018 - 17:41:02 EST


On 19-09-18, 17:20, Gregory CLEMENT wrote:
> Hi Viresh,
>
> On mer., sept. 12 2018, Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
>
> > dev_pm_opp_cpumask_remove_table() is going to change in the next commit
> > and will not remove dynamic OPPs automatically. They must be removed
> > with a call to dev_pm_opp_remove().
>
> So now that mean when adding more than 2 OPPs, we should have the list
> of them available in the driver to be able to remove them, right?

Right. Maybe we will add a separate API to remove all dynamic ones in
one go but I couldn't find any platform which needs to do it right
now.

> > Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
>
> Reviewed-by: Gregory CLEMENT <gregory.clement@xxxxxxxxxxx>

Thanks.

--
viresh