From: Viresh Kumar Date: Wed, 2 Oct 2013 08:43:15 +0000 (+0530) Subject: cpufreq: Optimize cpufreq_frequency_table_verify() X-Git-Tag: v3.13-rc1~96^2~12^2~4^2~110 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77db50c4eb1991d6e88254390ec368e1d23a8fa5;p=pandora-kernel.git 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 Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed