diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-08-03 06:06:15 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-09-01 16:50:38 +0300 |
commit | 8fa5b631f32238a16ae3db0db5b354f7b9eb20cb (patch) | |
tree | 9475cc924805ec0f2aec76dfd2aa14f9e820ad34 /mm/highmem.c | |
parent | 6bfb7c7434f75d29241413dc7e784295ba56de98 (diff) | |
download | linux-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 'mm/highmem.c')
0 files changed, 0 insertions, 0 deletions