diff options
author | Lukasz Luba <lukasz.luba@arm.com> | 2022-03-02 12:29:15 +0100 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2022-03-03 05:05:04 +0100 |
commit | caeea9e6671984c3865918459d756b961a24bb49 (patch) | |
tree | c7f3acb38b3efa8d88e40a66d118f1614d0e27b0 /drivers/opp/of.c | |
parent | OPP: Add "opp-microwatt" supporting code (diff) | |
download | linux-caeea9e6671984c3865918459d756b961a24bb49.tar.xz linux-caeea9e6671984c3865918459d756b961a24bb49.zip |
PM: EM: add macro to set .active_power() callback conditionally
The Energy Model is able to use new power values coming from DT. Add a new
macro which is helpful in setting the .active_power() callback
conditionally in setup time. The dual-macro implementation handles both
kernel configurations: w/ EM and w/o EM built-in.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/opp/of.c')
0 files changed, 0 insertions, 0 deletions