Skip to content

cpufreq: trivial cleanups

Viresh Kumar linux-pm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17cpufreq: remove dangling commentdrivers/cpufreq/cpufreq.c+0 -40 replies
2/17cpufreq: remove extra parenthesisdrivers/cpufreq/cpufreq.c+1 -10 replies
3/17cpufreq: don't need line break in show_scaling_cur_freq()drivers/cpufreq/cpufreq.c+1 -20 replies
4/17cpufreq: merge 'if' blocks in __cpufreq_remove_dev_prepare()drivers/cpufreq/cpufreq.c+1 -20 replies
5/17cpufreq: s/__find_governor/find_governordrivers/cpufreq/cpufreq.c+5 -50 replies
6/17cpufreq: No need to check for has_target()drivers/cpufreq/cpufreq.c+1 -10 replies
7/17cpufreq: pass policy to cpufreq_out_of_syncdrivers/cpufreq/cpufreq.c+6 -140 replies
8/17cpufreq: pass policy to __cpufreq_get()drivers/cpufreq/cpufreq.c+5 -60 replies
9/17cpufreq: update driver_data->flags only if we are registering driverdrivers/cpufreq/cpufreq.c+3 -30 replies
10/17cpufreq: get rid of CONFIG_{HOTPLUG_CPU|SMP} messdrivers/cpufreq/cpufreq.c+1 -100 replies
11/17cpufreq: get rid of 'tpolicy' from __cpufreq_add_dev()drivers/cpufreq/cpufreq.c+4 -40 replies
12/17cpufreq: use light-weight cpufreq_cpu_get_raw() in __cpufreq_add_devdrivers/cpufreq/cpufreq.c+2 -40 replies
13/17cpufreq: limit the scope of l_p_j variablesdrivers/cpufreq/cpufreq.c+5 -100 replies
14/17cpufreq: check cpufreq_policy_list instead of scanning policies for all CPUsdrivers/cpufreq/cpufreq.c+5 -160 replies
15/17cpufreq: don't check if cpu > nr_cpu_idsdrivers/cpufreq/cpufreq.c+1 -10 replies
16/17cpufreq: remove check for cpufreq_disabled() from cpufreq_cpu_{get|put}()drivers/cpufreq/cpufreq.c+0 -63 replies
17/17cpufreq: move some initialization stuff to cpufreq_policy_alloc()drivers/cpufreq/cpufreq.c+2 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/17] cpufreq: trivial cleanups

Hi Rafael et al

Along with the big changes I have for cpufreq core simplification, I also accumulated these trivial cleanups. In order to not confuse the much dedicated series on solving the real problems, I am sending these separately.

These are independent of the stats cleanups sent earlier and so it doesn't matter which one you apply first.

Pushed here:
git://git.linaro.org/people/viresh.kumar/linux.git cpufreq/core/trivial-cleanups

@Prarit/Saravana: It would be helpful if you guys can go through this as well :)

Viresh Kumar (17):
cpufreq: remove dangling comment
cpufreq: remove extra parenthesis
cpufreq: don't need line break in show_scaling_cur_freq()
cpufreq: merge 'if' blocks in __cpufreq_remove_dev_prepare()
cpufreq: s/__find_governor/find_governor
cpufreq: No need to check for has_target()
cpufreq: pass policy to cpufreq_out_of_sync
cpufreq: pass policy to __cpufreq_get()
cpufreq: update driver->flags only if we are registering driver
cpufreq: get rid of CONFIG_{HOTPLUG_CPU|SMP} mess
cpufreq: get rid of 'tpolicy' from __cpufreq_add_dev()
cpufreq: use light-weight cpufreq_cpu_get_raw() in __cpufreq_add_dev
cpufreq: limit the scope of l_p_j variables
cpufreq: check cpufreq_policy_list instead of getting policies for all
CPUs
cpufreq: don't check if cpu > nr_cpu_ids
cpufreq: remove check for cpufreq_disabled() from

    cpufreq_cpu_{get|put}()

cpufreq: move some initialization stuff to cpufreq_policy_alloc()

 drivers/cpufreq/cpufreq.c | 129 ++++++++++++++--------------------------------
 1 file changed, 40 insertions(+), 89 deletions(-)
Signature · 1 line
2.2.0