e49a1e1ee078 ("thermal/core: fix error code in __thermal_cooling_device_register()") c408b3d1d9bb ("thermal: Validate new state in cur_state_store()")