cpufreq: Pass policy pointer to cpufreq_parse_governor()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 23 Nov 2017 00:24:05 +0000 (01:24 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 4 Dec 2017 14:35:41 +0000 (15:35 +0100)
commitae0ff89f36b282ef32ff0f73e847352ea625464c
treee744d21eb85a8517a7fafdbb55897268c885edee
parent045149e6a22119e5bf0d16a0b24a4173a2abb71d
cpufreq: Pass policy pointer to cpufreq_parse_governor()

Pass policy pointer to cpufreq_parse_governor() instead of passing
pointers to two members of it so as to make the code slightly more
straightforward.

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