[PATCH OLK-6.6 22/24] cpuidle: Simplify cpuidle_register_device() with guard()