From: Rafael J. Wysocki Date: Wed, 16 Sep 2015 00:17:49 +0000 (+0200) Subject: cpufreq: acpi-cpufreq: Use cpufreq_cpu_get_raw() in ->get() X-Git-Tag: omap-for-v4.3/fixes-rc5~106^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f0bd44e937468446d080b98b5669844744c24a1;p=pandora-kernel.git cpufreq: acpi-cpufreq: Use cpufreq_cpu_get_raw() in ->get() cpufreq_cpu_get() called by get_cur_freq_on_cpu() is overkill, because the ->get() callback is always invoked in a context in which all of the conditions checked by cpufreq_cpu_get() are guaranteed to be satisfied. Use cpufreq_cpu_get_raw() instead of it and drop the corresponding cpufreq_cpu_put() from get_cur_freq_on_cpu(). Signed-off-by: Rafael J. Wysocki Acked-by: Viresh Kumar --- Reading git-diff-tree failed