cpufreq: No need to verify cpufreq_driver in show_scaling_cur_freq()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 27 Aug 2020 05:24:15 +0000 (10:54 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 27 Aug 2020 10:51:25 +0000 (12:51 +0200)
commit681fe68448ef370f1d7213cab38013ab8e9d8ff0
tree4ed85c956aaa6efc1368969ffce79b7a0c5a6a67
parent1c502821992d505747ee222bd358fee9cd836d18
cpufreq: No need to verify cpufreq_driver in show_scaling_cur_freq()

"cpufreq_driver" is guaranteed to be valid here, no need to check it
here.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c