summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorDeepthi Dharwar2014-01-14 11:56:09 +0100
committerBenjamin Herrenschmidt2014-01-29 07:02:22 +0100
commitb69dbba059d9048b9909ed9898086dd3fbe22be7 (patch)
tree2b9f0119eb06e23b373c357f5d4d5750895dfc76 /drivers/media
parentpowerpc/pseries/cpuidle: Move processor_idle.c to drivers/cpuidle. (diff)
downloadkernel-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/media')
0 files changed, 0 insertions, 0 deletions