cpufreq: add generic get idle functions. (franciscofranco)