From: Srivatsa S. Bhat Date: Mon, 29 Jul 2013 22:54:11 +0000 (+0530) Subject: cpufreq: Add helper to perform alloc/free of policy structure X-Git-Tag: v3.12-rc1~178^2~4^2~1^2~15^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9698cc5d2749c5b74e137f94a95d7e505b097e8;p=pandora-kernel.git cpufreq: Add helper to perform alloc/free of policy structure Separate out the allocation of the cpufreq policy structure (along with its error handling) to a helper function. This makes the code easier to read and also helps with some upcoming code reorganization. Signed-off-by: Srivatsa S. Bhat Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed