linux/include
Gautham R. Shenoy 9e9fc6f00a cpuidle:powernv: Add helper function to populate powernv idle states.
In the current code for powernv_add_idle_states, there is a lot of code
duplication while initializing an idle state in powernv_states table.

Add an inline helper function to populate the powernv_states[] table
for a given idle state. Invoke this for populating the "Nap",
"Fastsleep" and the stop states in powernv_add_idle_states.

Signed-off-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Acked-by: Balbir Singh <bsingharora@gmail.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-01-31 08:32:13 +11:00
..
acpi
asm-generic
clocksource
crypto
drm
dt-bindings
keys
kvm
linux cpuidle:powernv: Add helper function to populate powernv idle states. 2017-01-31 08:32:13 +11:00
math-emu
media
memory
misc
net
pcmcia
ras
rdma
rxrpc
scsi Merge remote-tracking branch 'mkp-scsi/fixes' into fixes 2017-01-17 17:32:54 -05:00
soc
sound
target
trace
uapi bpf: rework prog_digest into prog_tag 2017-01-16 14:03:31 -05:00
video
xen
Kbuild