cpufreq: Fix and clean up show_cpuinfo_cur_freq()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 14 Mar 2017 23:12:16 +0000 (00:12 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 15 Mar 2017 23:12:40 +0000 (00:12 +0100)
commit9b4f603e7a9f4282aec451063ffbbb8bb410dcd9
tree3c585f9ac16b1794a32992b089b0c50d54124c5c
parent4495c08e84729385774601b5146d51d9e5849f81
cpufreq: Fix and clean up show_cpuinfo_cur_freq()

There is a missing newline in show_cpuinfo_cur_freq(), so add it,
but while at it clean that function up somewhat too.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: All applicable <stable@vger.kernel.org>
drivers/cpufreq/cpufreq.c