Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit badd8c58 authored by Viresh Kumar's avatar Viresh Kumar Committed by alexax66
Browse files

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: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>

Oiginal commit: https://github.com/powervm/ibmvscsis/commit/8fa5b631f32238a16ae3db0db5b354f7b9eb20cb
parent 368beb07
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment