Some fixes in cpufreq.c.