OSDN Git Service

powerpc/powernv/idle: Rename pnv_first_spr_loss_level variable
authorPratik Rajesh Sampat <psampat@linux.ibm.com>
Tue, 21 Jul 2020 15:37:07 +0000 (21:07 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Jul 2020 07:43:36 +0000 (17:43 +1000)
commitdcbbfa6b05daca94ebcdbce80a7cf05c717d2942
treef8a71fd61c121eae3bf8bdce806d4c9d6d14190d
parent8747bf36f312356f8a295a0c39ff092d65ce75ae
powerpc/powernv/idle: Rename pnv_first_spr_loss_level variable

Replace the variable name from using "pnv_first_spr_loss_level" to
"deep_spr_loss_state".

pnv_first_spr_loss_level is supposed to be the earliest state that
has OPAL_PM_LOSE_FULL_CONTEXT set, in other places the kernel uses the
"deep" states as terminology. Hence renaming the variable to be coherent
to its semantics.

Signed-off-by: Pratik Rajesh Sampat <psampat@linux.ibm.com>
Acked-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200721153708.89057-3-psampat@linux.ibm.com
arch/powerpc/platforms/powernv/idle.c