summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq_ondemand.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-02-16 00:58:47 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-03-09 14:41:03 +0100
commit57eb832f90e645dcb97d651ad052c0537cc1b3a7 (patch)
tree838994064a7f00ef7f2edab4cab9813648315a68 /drivers/cpufreq/cpufreq_ondemand.c
parentcpufreq: governor: Fix nice contribution computation in dbs_check_cpu() (diff)
downloadlinux-57eb832f90e645dcb97d651ad052c0537cc1b3a7.tar.xz
linux-57eb832f90e645dcb97d651ad052c0537cc1b3a7.zip
cpufreq: governor: Clean up load-related computations
Clean up some load-related computations in dbs_check_cpu() and cpufreq_governor_start() to get rid of unnecessary operations and type casts and make the code easier to read. No functional changes. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/cpufreq_ondemand.c')
0 files changed, 0 insertions, 0 deletions