[PATCH v7 11/15] thermal: devfreq_cooling: work on a copy of device status