Revert "cpu: update cpufreq.c"

This reverts commit 59476637d77553068fa543488769f69f895749a7.