mach-msm: cpufreq: port smooth scaling from galaxy s2