cpufreq: Clean up cpufreq_parse_governor()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 23 Nov 2017 00:23:16 +0000 (01:23 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 4 Dec 2017 14:35:40 +0000 (15:35 +0100)
commit045149e6a22119e5bf0d16a0b24a4173a2abb71d
tree818f9d7a7be17e41bd2a5362aeb2ac3d8a1f9df3
parentae64f9bd1d3621b5e60d7363bc20afb46aede215
cpufreq: Clean up cpufreq_parse_governor()

Drop an unnecessary local variable from cpufreq_parse_governor()
and rearrange the code in there to make it easier to follow.

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