diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2012-10-31 16:44:47 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-11-15 00:34:22 +0100 |
commit | 13dd52f11a04e616900f565d6a1e5138e58d579f (patch) | |
tree | e7ce9521c4dbd93d0be9c7acaa1ceb7b7269e1db /drivers/cpuidle/cpuidle.c | |
parent | 41682032715c2c969357c81391a442a24dd1c2c2 (diff) | |
download | op-kernel-dev-13dd52f11a04e616900f565d6a1e5138e58d579f.zip op-kernel-dev-13dd52f11a04e616900f565d6a1e5138e58d579f.tar.gz |
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 <daniel.lezcano@linaro.org>
Acked-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle/cpuidle.c')
0 files changed, 0 insertions, 0 deletions