Fix cpu offline but cat scaling_cur_freq is the same as online bug.
Changes in v2: - Fix the CHECKPATCH warnings.
Schspa Shi (2): cpufreq: Abort show()/store() for half-initialized policies cpufreq: make interface functions and lock holding state clear
drivers/cpufreq/cpufreq.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-)