cpufreq: Use clamp_val() in __cpufreq_driver_target()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 26 May 2016 05:57:24 +0000 (11:27 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 2 Jun 2016 21:24:40 +0000 (23:24 +0200)
commit910c6e881c3a610dfd7575b96975d4df21e3a920
tree3a9cad787f82d4d5086c67d04d40543edbbe8d70
parent388612baba201bdcedfa66782f524dcc507d9f12
cpufreq: Use clamp_val() in __cpufreq_driver_target()

Use clamp_val() instead of open coding it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c