Re: [PATCH v4 1/5] PM / OPP: Introduce a power estimation helper

From: Quentin Perret
Date: Mon Feb 04 2019 - 13:21:55 EST


On Monday 04 Feb 2019 at 10:03:03 (-0800), Matthias Kaehlcke wrote:
> There is the option to remove the OPP check from the cpufreq drivers
> and instead return an error from dev_pm_opp_of_register_em(), but with
> the more complex error handling it might be more hassle than it's
> worth.

Agreed. And that would make the API a bit weird I guess, so I preferred
the simple solution.

> Reviewed-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>

Thanks !
Quentin