]> Git Repo - linux.git/commit - drivers/cpuidle/cpuidle-powernv.c
cpuidle/powernv: cleanup cpuidle-powernv.c
authorShreyas B. Prabhu <[email protected]>
Fri, 8 Jul 2016 06:20:51 +0000 (11:50 +0530)
committerMichael Ellerman <[email protected]>
Fri, 15 Jul 2016 10:18:42 +0000 (20:18 +1000)
commit957efcedeef4b02f2f7e5776d64448e5c40462b4
tree0a613b31c1f98caa26fdc32e5263cf8e099eb57c
parent169f3fae0c6d0024e6a957df9977e04695bf52f2
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 <[email protected]>
Cc: Daniel Lezcano <[email protected]>
Cc: [email protected]
Signed-off-by: Shreyas B. Prabhu <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
drivers/cpuidle/cpuidle-powernv.c
This page took 0.053049 seconds and 4 git commands to generate.