diff options
author | Deepthi Dharwar <deepthi@linux.vnet.ibm.com> | 2014-01-14 16:26:09 +0530 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-01-29 17:02:22 +1100 |
commit | b69dbba059d9048b9909ed9898086dd3fbe22be7 (patch) | |
tree | 2b9f0119eb06e23b373c357f5d4d5750895dfc76 /drivers/mtd/inftlmount.c | |
parent | 962e7bd4976516c34fc9ef51d536aab801980767 (diff) | |
download | blackbird-op-linux-b69dbba059d9048b9909ed9898086dd3fbe22be7.tar.gz blackbird-op-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/mtd/inftlmount.c')
0 files changed, 0 insertions, 0 deletions