Messages in this thread | | | Date | Tue, 4 Jun 2013 10:49:06 +0530 | Subject | Re: [PATCH v2 2/3] cpufreq: Remove unused function __cpufreq_driver_getavg | From | Viresh Kumar <> |
| |
On 4 June 2013 01:18, Stratos Karafotis <stratosk@semaphore.gr> wrote: > Calculation of frequency target in ondemand governor changed and it is
s/frequency target/target frequency
> independent from measured average frequency. > > Remove unused__cpufreq_driver_getavg function and getavg member from > cpufreq_driver struct. Also, remove the callback getavg in > acpi_cpufreq_driver. > > Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr> > --- > drivers/cpufreq/Makefile | 2 +- > drivers/cpufreq/acpi-cpufreq.c | 5 ----- > drivers/cpufreq/cpufreq.c | 12 ------------ > include/linux/cpufreq.h | 6 ------ > 4 files changed, 1 insertion(+), 24 deletions(-) > > diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile > index 6ad0b91..aebd4ef 100644 > --- a/drivers/cpufreq/Makefile > +++ b/drivers/cpufreq/Makefile > @@ -23,7 +23,7 @@ obj-$(CONFIG_GENERIC_CPUFREQ_CPU0) += cpufreq-cpu0.o > # powernow-k8 can load then. ACPI is preferred to all other hardware-specific drivers. > # speedstep-* is preferred over p4-clockmod. > > -obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o mperf.o
Should this be done in 3/3 ?
| |