-
由 Lukasz Luba 提交于
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: Nkernel test robot <lkp@intel.com> Signed-off-by: NLukasz Luba <lukasz.luba@arm.com> Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
caeea9e6