cpufreq: Use cpumask_copy instead of cpumask_or to copy a mask
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 15 Oct 2015 16:05:21 +0000 (21:35 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 28 Oct 2015 08:21:11 +0000 (09:21 +0100)
commit0998a03a3a4d35290993f86ffed0e311e8dd78f5
tree2efd150a8e4016fef7bee454f7156a1e81046657
parent083701b13c79a908fb400dc24aaa80aad07ac462
cpufreq: Use cpumask_copy instead of cpumask_or to copy a mask

->related_cpus is empty at this point of time and copying ->cpus to it
or orring ->related_cpus with ->cpus would result in the same value. But
cpumask_copy makes it rather clear.

Reviewed-by: Saravana Kannan <skannan@codeaurora.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c