[PATCH v2] thermal/drivers/cpufreq_cooling: Update cpufreq_state only if state has changed