summaryrefslogtreecommitdiff
path: root/arch/score
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-08-03 06:06:15 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-09-01 16:50:38 +0300
commit8fa5b631f32238a16ae3db0db5b354f7b9eb20cb (patch)
tree9475cc924805ec0f2aec76dfd2aa14f9e820ad34 /arch/score
parent6bfb7c7434f75d29241413dc7e784295ba56de98 (diff)
downloadlinux-8fa5b631f32238a16ae3db0db5b354f7b9eb20cb.tar.xz
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/score')
0 files changed, 0 insertions, 0 deletions