cpufreq: acpi-cpufreq: Simplify boost-related code
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 26 Dec 2015 23:25:35 +0000 (00:25 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 1 Jan 2016 02:49:51 +0000 (03:49 +0100)
commit17135782b816383b426d280c350467b23ef9c10c
treeaa5e9489609cd8c97c23e9cd712129689f349b28
parent41669da03060c5e55e9d3061ddede624f01d7262
cpufreq: acpi-cpufreq: Simplify boost-related code

The store_boost() routine is only used by store_cpb(), so move
the code from it directly to that function and rename _store_boost()
to set_boost() to make its name reflect the name of the driver
callback pointing to it.

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