[PATCH V3 2/5] Thermal: fix bug of counting cpu frequencies.