cpufreq: Drop unnecessary cpus locking from store()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 26 May 2022 11:51:21 +0000 (17:21 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 14 Jun 2022 13:50:55 +0000 (15:50 +0200)
commit9ab9b9d3fb9231cdcfda8e0fb3d9c24a2f95ed26
tree1f5edecd3c23a645b744283c173e273587a7241b
parent336e51283ae376835b30b9edfcddd8e7b7615798
cpufreq: Drop unnecessary cpus locking from store()

This change was introduced long back by commit 4f750c930822 ("cpufreq:
Synchronize the cpufreq store_*() routines with CPU hotplug").

Since then, both cpufreq and hotplug core have been reworked and have
much better locking in place. The race mentioned in commit 4f750c930822
isn't possible anymore.

Drop the unnecessary locking.

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