[PATCH V2 6/6] cpufreq: ondemand: update update_sampling_rate() to make it more efficient