Make cpufreq_boost_trigger_state() return error when boost isn't supported
by any policy.
Changelog:
v2:
- change the error to -EOPNOTSUPP
- remove the comment and blank line
- split the optimization into another patch
---
Discussions of previous version:
v1: https://lore.kernel.org/all/20251126031916.3641176-1-zhenglifeng1@huawei.com/
Lifeng Zheng (2):
cpufreq: Return -EOPNOTSUPP if no policy is boost supported
cpufreq: cpufreq_boost_trigger_state() optimization
drivers/cpufreq/cpufreq.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
--
2.33.0