[CPUFREQ] [1/2] add __find_governor helper and clean up some error handling.