]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cpufreq: Remove unused function __cpufreq_driver_getavg()
authorStratos Karafotis <stratosk@semaphore.gr>
Wed, 5 Jun 2013 16:01:50 +0000 (19:01 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 15 Jul 2013 00:10:00 +0000 (02:10 +0200)
commit0ae6656e5a7fcd5b68025ca25a299661451d6a83
tree4c3c998b5e31fdca4578a17d13415a0ab3aabbf6
parent34b92c254084a117c91dc550ce522c691822a702
cpufreq: Remove unused function __cpufreq_driver_getavg()

The target frequency calculation method in the ondemand governor has
changed and it is now independent of the measured average frequency.
Consequently, the __cpufreq_driver_getavg() function and getavg
member of struct cpufreq_driver are not used any more, so drop them.

[rjw: Changelog]
Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c
include/linux/cpufreq.h