aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorShreyas B. Prabhu <shreyas@linux.vnet.ibm.com>2016-07-08 11:50:51 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2016-07-15 20:18:42 +1000
commit957efcedeef4b02f2f7e5776d64448e5c40462b4 (patch)
tree0a613b31c1f98caa26fdc32e5263cf8e099eb57c /tools/perf/scripts
parentcpuidle/powernv: Use CPUIDLE_STATE_MAX instead of MAX_POWERNV_IDLE_STATES (diff)
downloadlinux-957efcedeef4b02f2f7e5776d64448e5c40462b4.tar.gz
linux-957efcedeef4b02f2f7e5776d64448e5c40462b4.zip
cpuidle/powernv: cleanup cpuidle-powernv.c
- Use stack instead of kzalloc'ed memory for variables while probing device tree for idle states. - Set cap for number of idle states that can be added to cpuidle_state_table - Minor change in way we check of_property_read_u32_array for error for sake of consistency - Drop unnecessary "&" while assigning function pointer Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: linux-pm@vger.kernel.org Signed-off-by: Shreyas B. Prabhu <shreyas@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions