fix drivers/cpufreq/cpufreq_smartass2.c compilation

When CONFIG_HAS_EARLYSUSPEND not set in config, compilation fails
also this patch fixes build warning on compilation in this file
fix kernel/power/consoleearlysuspend.c compilation

it looks like merge error commit  ac751efa6a0d70f2c9daef5c7e3a92270f5c2dff
change function  names, as this file not compie by default that error
didn't noticed