diff options
author | Lukasz Luba <lukasz.luba@arm.com> | 2020-05-27 12:58:52 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-06-24 18:16:42 +0300 |
commit | f0b5694791ce70dba16758c3b838d5ddc7731b02 (patch) | |
tree | e3242d71737d92b60ce58311fb034f66d691689f /Documentation/power/energy-model.rst | |
parent | 07891f15d91317b2220a0b610a2d7e324a88105d (diff) | |
download | linux-f0b5694791ce70dba16758c3b838d5ddc7731b02.tar.xz |
PM / EM: change name of em_pd_energy to em_cpu_energy
Energy Model framework now supports 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@linaro.org>
Acked-by: Quentin Perret <qperret@google.com>
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/power/energy-model.rst')
0 files changed, 0 insertions, 0 deletions