On 27-12-15, 00:27, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki <rafael.j.wyso...@intel.com> > > Notice that the boost_supported field in struct cpufreq_driver is > redundant, because the driver's ->set_boost callback may be left > unset if "boost" is not supported. Moreover, the only driver > populating the ->set_boost callback is acpi_cpufreq, so make it > avoid populating that callback if "boost" is not supported, rework > the core to check ->set_boost instead of boost_supported to > verify "boost" support and drop boost_supported which isn't > used any more. > > Signed-off-by: Rafael J. Wysocki <rafael.j.wyso...@intel.com> > --- > drivers/cpufreq/acpi-cpufreq.c | 5 ++--- > drivers/cpufreq/cpufreq.c | 22 +++++++--------------- > include/linux/cpufreq.h | 1 - > 3 files changed, 9 insertions(+), 19 deletions(-)
Acked-by: Viresh Kumar <viresh.ku...@linaro.org> -- viresh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/