diff options
| author | Liao Chang <[email protected]> | 2023-08-16 01:58:53 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2023-08-22 20:10:10 +0000 |
| commit | a436ae9434ec491eefb4ed4c77bdb9c762925976 (patch) | |
| tree | 9a910ed2e666ff99c207deea55f91456449cf32b /rust/helpers.c | |
| parent | cpufreq: intel_pstate: set stale CPU frequency to minimum (diff) | |
| download | kernel-a436ae9434ec491eefb4ed4c77bdb9c762925976.tar.gz kernel-a436ae9434ec491eefb4ed4c77bdb9c762925976.zip | |
cpufreq: Use clamp() helper macro to improve the code readability
The valid values of policy.{min, max} should be between 'min' and 'max',
so use clamp() helper macro to makes cpufreq_verify_within_limits() easier
to follow.
Signed-off-by: Liao Chang <[email protected]>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
