Re: [PATCH v6 06/10] PM / EM: change name of em_pd_energy to em_cpu_energy
From: Daniel Lezcano
Date: Thu Apr 23 2020 - 11:29:07 EST
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@xxxxxxx>
Acked-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>