diff options
| author | Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> | 2013-07-30 02:54:11 +0400 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-08-08 01:02:48 +0400 |
| commit | e9698cc5d2749c5b74e137f94a95d7e505b097e8 (patch) | |
| tree | 2687d73dd78e85412cec1104b2d6630e987ef921 /tools/perf/scripts/python | |
| parent | 23d328994b548d6822b88fe7e1903652afc354e0 (diff) | |
| download | linux-e9698cc5d2749c5b74e137f94a95d7e505b097e8.tar.xz | |
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 <srivatsa.bhat@linux.vnet.ibm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
