Re: [PATCH] cpufreq: Fix incorrect usage of clamp_val()
From: Rafael J. Wysocki <hidden>
Date: 2016-05-31 20:40:51
From: Rafael J. Wysocki <hidden>
Date: 2016-05-31 20:40:51
On Tuesday, May 31, 2016 04:49:42 PM Viresh Kumar wrote:
clamp_val() doesn't change anything by itself, rather it returns the
clamped value.
Fix it.
Fixes: 0ac587b32f49 ("cpufreq: Use clamp_val() in __cpufreq_driver_target()")
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
Hi Rafael,
Please merge this with the offending commit if you are fine with rebase,
else apply this one as well.Done.
Sorry for blindly copying code.
Well, I got that wrong myself after all ... Thanks, Rafael