diff options
author | Deepthi Dharwar | 2014-01-14 11:56:09 +0100 |
---|---|---|
committer | Benjamin Herrenschmidt | 2014-01-29 07:02:22 +0100 |
commit | b69dbba059d9048b9909ed9898086dd3fbe22be7 (patch) | |
tree | 2b9f0119eb06e23b373c357f5d4d5750895dfc76 /drivers/pnp/pnpacpi | |
parent | powerpc/pseries/cpuidle: Move processor_idle.c to drivers/cpuidle. (diff) | |
download | kernel-qcow2-linux-b69dbba059d9048b9909ed9898086dd3fbe22be7.tar.gz kernel-qcow2-linux-b69dbba059d9048b9909ed9898086dd3fbe22be7.tar.xz kernel-qcow2-linux-b69dbba059d9048b9909ed9898086dd3fbe22be7.zip |
powerpc/pseries/cpuidle: Use cpuidle_register() for initialisation.
This patch replaces the cpuidle driver and devices initialisation
calls with a single generic cpuidle_register() call
and also includes minor refactoring of the code around it.
Remove the cpu online check in snooze loop, as this code can
only locally run on a cpu only if it is online. Therefore,
this check is not required.
Signed-off-by: Deepthi Dharwar <deepthi@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/pnp/pnpacpi')
0 files changed, 0 insertions, 0 deletions