Thread (14 messages) 14 messages, 4 authors, 2017-01-25

Re: [PATCH v5 3/5] cpuidle:powernv: Add helper function to populate powernv idle states.

From: Balbir Singh <bsingharora@gmail.com>
Date: 2017-01-12 10:15:16
Also in: linux-devicetree, linuxppc-dev, lkml

On Tue, Jan 10, 2017 at 02:37:02PM +0530, Gautham R. Shenoy wrote:
From: "Gautham R. Shenoy" <redacted>

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 <redacted>
-- 
Acked-by: Balbir Singh <bsingharora@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help