From: Viresh Kumar Date: Thu, 3 Oct 2013 14:58:30 +0000 (+0530) Subject: cpufreq: call cpufreq_driver->get() after calling ->init() X-Git-Tag: v3.13-rc1~96^2~12^2~4^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da60ce9f2faca87013fd3cab1c3bed5183608c3d;p=pandora-kernel.git cpufreq: call cpufreq_driver->get() after calling ->init() Almost all drivers set policy->cur with current CPU frequency in their ->init() part. This can be done for all of them at core level and so they wouldn't need to do it. This patch adds supporting code in cpufreq core for calling get() after we have called init() for a policy. Signed-off-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed