[PATCH v3 2/5] thermal: devfreq_cooling: use a copy of device status