cpufreq: Use sizeof(*ptr) convetion for computing sizes