[PATCH V2 2/6] thermal: Add generic cpufreq cooling implementation