v2:
- Put the Energy Model related functions inside specific guards
instead of using the '__maybe_unused' flag.
A warning was reported when the cppc_cpufreq driver is built
with CONFIG_ENERGY_MODEL=n at:
https://lore.kernel.org/all/626c99d3-edaf-4544-7e64-5b3653591086@hisilicon.com/
The patch should be applied on top of:
https://lore.kernel.org/all/20220521032438.2504155-1-zhengbin13@huawei.com/
Pierre Gondois (1):
cpufreq: CPPC: Fix unused-function warning
drivers/cpufreq/cppc_cpufreq.c | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
--
2.25.1