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