From: Srivatsa S. Bhat Date: Mon, 29 Jul 2013 22:55:25 +0000 (+0530) Subject: cpufreq: Perform light-weight init/teardown during suspend/resume X-Git-Tag: v3.12-rc1~178^2~4^2~1^2~15^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5302c3fb2e62f4ca5e43e060491ba299f58c5231;p=pandora-kernel.git cpufreq: Perform light-weight init/teardown during suspend/resume Now that we have the infrastructure to perform a light-weight init/tear-down, use that in the cpufreq CPU hotplug notifier when invoked from the suspend/resume path. This also ensures that the file permissions of the cpufreq sysfs files are preserved across suspend/resume, something which commit a66b2e (cpufreq: Preserve sysfs files across suspend/resume) originally intended to do, but had to be reverted due to other problems. Signed-off-by: Srivatsa S. Bhat Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed