[PATCH 0/6] cpufreq: cleanups

From: Viresh Kumar
Date: Wed Jun 19 2019 - 07:40:57 EST


Hi Rafael,

I accumulated these while reworking the freq-constraint series and it
would be nice if these can get in before I send the next version of
freq-constraint stuff.

These are mostly cleanups and code consolidation for better management
of code. Compile and boot tested only.

Thanks.

Viresh Kumar (6):
cpufreq: Remove the redundant !setpolicy check
cpufreq: Replace few CPUFREQ_CONST_LOOPS checks with has_target()
cpufreq: Remove the has_target() check from notifier handler
cpufreq: Use has_target() instead of !setpolicy
cpufreq: Reuse cpufreq_update_current_freq() in __cpufreq_get()
cpufreq: Avoid calling cpufreq_verify_current_freq() from
handle_update()

drivers/cpufreq/cpufreq.c | 115 +++++++++++++++++---------------------
1 file changed, 52 insertions(+), 63 deletions(-)

--
2.21.0.rc0.269.g1a574e7a288b