"Rafael J. Wysocki" <raf...@kernel.org> writes: > On Mon, Jan 30, 2017 at 4:47 AM, Michael Ellerman <m...@ellerman.id.au> wrote: >> "Gautham R. Shenoy" <e...@linux.vnet.ibm.com> writes: >> >>> From: "Gautham R. Shenoy" <e...@linux.vnet.ibm.com> >>> >>> 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. >>> >>> Acked-by: Balbir Singh <bsinghar...@gmail.com> >>> Signed-off-by: Gautham R. Shenoy <e...@linux.vnet.ibm.com> >>> --- >>> drivers/cpuidle/cpuidle-powernv.c | 89 >>> +++++++++++++++++++++++---------------- >>> include/linux/cpuidle.h | 1 + >> >> I was going to merge this, but I see you've touched cpuidle.h, so I feel >> like I should get an ACK from the cpuidle folks. >> >> It's a fairly uncontroversial change, but it's their API. > > OK, please add an ACK from me to it then.
Thanks. cheers