Re: [PATCH v7 06/15] PM / EM: change name of em_pd_energy to em_cpu_energy
From: Quentin Perret
Date: Mon May 11 2020 - 09:46:03 EST
On Monday 11 May 2020 at 12:19:03 (+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.
>
> Acked-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
> Signed-off-by: Lukasz Luba <lukasz.luba@xxxxxxx>
Acked-by: Quentin Perret <qperret@xxxxxxxxxx>