cpufreq: add missing code from last commit