From: Daniel Lezcano Date: Wed, 31 Oct 2012 16:44:47 +0000 (+0000) Subject: cpuidle: prepare the cpuidle core to handle multiple drivers X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~88^2~11^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13dd52f11a04e616900f565d6a1e5138e58d579f;p=pandora-kernel.git cpuidle: prepare the cpuidle core to handle multiple drivers This patch is a preparation for the multiple cpuidle drivers support. As the next patch will introduce the multiple drivers with the Kconfig option and we want to keep the code clean and understandable, this patch defines a set of functions for encapsulating some common parts and splits what should be done under a lock from the rest. [rjw: Modified the subject and changelog slightly.] Signed-off-by: Daniel Lezcano Acked-by: Peter De Schrijver Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed