From: Deepthi Dharwar Date: Tue, 14 Jan 2014 10:56:09 +0000 (+0530) Subject: powerpc/pseries/cpuidle: Use cpuidle_register() for initialisation. X-Git-Tag: v3.14-rc1~39^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b69dbba059d9048b9909ed9898086dd3fbe22be7;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed