Revert "Update cpufreq_ondemand.c"

This reverts commit c29aa3f851b5172b0538a8014d4c7a8f487562f0.