[PATCH 6/7] cpuidle: add a cpuidle_device init function