[PATCH v6 06/10] PM / EM: change name of em_pd_energy to em_cpu_energy

Daniel Lezcano daniel.lezcano at linaro.org
Thu Apr 23 15:28:54 UTC 2020


On Fri, Apr 10, 2020 at 09:42:06AM +0100, Lukasz Luba wrote:
> Energy Model framework supports now other devices than CPUs. Refactor some
> of the functions in order to prevent wrong usage. The old function
> em_pd_energy has to generic name. It must not be used without proper
> cpumask pointer, which is possible only for CPU devices. Thus, rename it
> and add proper description to warn of potential wrong usage for other
> devices.
> 
> Signed-off-by: Lukasz Luba <lukasz.luba at arm.com>

Acked-by: Daniel Lezcano <daniel.lezcano at linaro.org>


More information about the dri-devel mailing list