diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-08-03 08:36:15 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-09-01 15:50:38 +0200 |
commit | 8fa5b631f32238a16ae3db0db5b354f7b9eb20cb (patch) | |
tree | 9475cc924805ec0f2aec76dfd2aa14f9e820ad34 /arch/sparc | |
parent | 6bfb7c7434f75d29241413dc7e784295ba56de98 (diff) |
cpufreq: use memcpy() to copy policy
cpufreq_get_policy() is useful if the pointer to policy isn't available
in advance. But if it is available, then there is no need to call
cpufreq_get_policy(). Directly use memcpy() to copy the policy.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions