]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit31a3119ab7c39780c238ccd1ab044da58350a443
treeaa5e9489609cd8c97c23e9cd712129689f349b28
parent825a803bba7f04c5b5c7e271cab49cbdcf8b8ced
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