diff options
author | Akhilesh Patil <akhilesh@ee.iitb.ac.in> | 2025-08-09 19:46:58 +0530 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2025-08-11 12:19:29 +0530 |
commit | 17bd9599f07ff700b9fb7d15dfa1f1de42947a54 (patch) | |
tree | 178d032c56777dbdd9c49b1367608dba98baea96 /drivers/cpufreq/cppc_cpufreq.c | |
parent | 8640689f17fd550c3e89d2b47ecb02536c58baf3 (diff) |
cpufreq: armada-37xx: use max() to calculate target_vm
Use max() macro while calculating target_vm to simplify and improve the
armada-37xx-cpufreq driver code.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/r/202503251256.rrl65HgY-lkp@intel.com/
Reported-by: Yang Ruibin <11162571@vivo.com>
Closes: https://lore.kernel.org/lkml/2c55fb07-b29e-43e0-8697-f75d1f0df89a@vivo.com/
Signed-off-by: Akhilesh Patil <akhilesh@ee.iitb.ac.in>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/cppc_cpufreq.c')
0 files changed, 0 insertions, 0 deletions