This patch series makes some minor optimizations for cpufreq.c to make
codes cleaner.
Lifeng Zheng (7):
cpufreq: Disable cpufreq-based invariance when fail to register driver
cpufreq: Init policy->rwsem before it may be possibly used
cpufreq: Contain scaling_cur_freq.attr in cpufreq_attrs
cpufreq: Remove duplicate check in __cpufreq_offline()
cpufreq: Move the check of cpufreq_driver->get into
cpufreq_verify_current_freq()
cpufreq: Refactor code about starting governor in cpufreq_set_policy()
cpufreq: Exit governor when failed to start old governor
drivers/cpufreq/cpufreq.c | 53 +++++++++++++++++++++------------------
1 file changed, 28 insertions(+), 25 deletions(-)
--
2.33.0