summaryrefslogtreecommitdiff
path: root/drivers/sh
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2013-10-02 14:13:15 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-10-16 00:50:22 +0200
commit77db50c4eb1991d6e88254390ec368e1d23a8fa5 (patch)
treeeb0b2c9a8436be57c25422dcb65609702210a3f0 /drivers/sh
parent27a862e98341226a50835f29aa26ffa528215ecc (diff)
cpufreq: Optimize cpufreq_frequency_table_verify()
cpufreq_frequency_table_verify() is rewritten here to make it more logical and efficient. - merge multiple lines for variable declarations together. - quit early if any frequency between min/max is found. - don't call cpufreq_verify_within_limits() in case any valid freq is found as it is of no use. - rename the count variable as found and change its type to boolean. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions