From: Viresh Kumar Date: Wed, 2 Oct 2013 08:43:19 +0000 (+0530) Subject: cpufreq: add new routine cpufreq_verify_within_cpu_limits() X-Git-Tag: v3.13-rc1~96^2~12^2~4^2~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be49e3465f222b4b796be8a21d14afbfd8f5d20f;p=pandora-kernel.git cpufreq: add new routine cpufreq_verify_within_cpu_limits() Most of the users of cpufreq_verify_within_limits() calls it for limiting with min/max from policy->cpuinfo. We can make that code simple by introducing another routine which will do this for them automatically. This patch adds another routine cpufreq_verify_within_cpu_limits() and updates others to use it. Signed-off-by: Viresh Kumar Acked-by: Dirk Brandewie Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed