APM idle: register apm_cpu_idle via cpuidle
authorLen Brown <len.brown@intel.com>
Sun, 10 Feb 2013 02:10:04 +0000 (21:10 -0500)
committerLen Brown <len.brown@intel.com>
Mon, 18 Feb 2013 04:34:46 +0000 (23:34 -0500)
Update APM to register its local idle routine with cpuidle.

This allows us to stop exporting pm_idle to modules on x86.

The Kconfig sub-option, APM_CPU_IDLE, now depends on on CPU_IDLE.

Compile-tested only.

Signed-off-by: Len Brown <len.brown@intel.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Jiri Kosina <jkosina@suse.cz>

No differences found