diff options
author | Lukasz Luba <lukasz.luba@arm.com> | 2020-05-27 12:58:54 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-06-24 18:16:42 +0300 |
commit | 0e0ffa855d1590e54ec0033404a49e2e57e294fe (patch) | |
tree | 2e313af4cb629121ac00a7eab7dfe5715a6f2ff0 /include/linux/device.h | |
parent | 7b7570ad0d76410bdefe61d77aa624900e2396ce (diff) | |
download | linux-0e0ffa855d1590e54ec0033404a49e2e57e294fe.tar.xz |
OPP: refactor dev_pm_opp_of_register_em() and update related drivers
The Energy Model framework supports not only CPU devices. Drop the CPU
specific interface with cpumask and add struct device. Add also a return
value, user might use it. This new interface provides easy way to create
a simple Energy Model, which then might be used by e.g. thermal subsystem.
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/device.h')
0 files changed, 0 insertions, 0 deletions