[PATCH 6/8] cpuidle: Encapsulate code in __cpuidle_unregister_device