[CPUFREQ][6/8] acpi-cpufreq: Eliminate get of current freq on notification
commit7650b281b091f39f5e97f13b45ab3813b1526b65
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Tue, 3 Oct 2006 19:36:30 +0000 (3 12:36 -0700)
committerDave Jones <davej@redhat.com>
Sun, 15 Oct 2006 23:57:11 +0000 (15 19:57 -0400)
tree06b379b4eeb980720e80bb4e6777a090d0163c30
parent64be7eedb2fd0d41614739b265b22708aa81734c
[CPUFREQ][6/8] acpi-cpufreq: Eliminate get of current freq on notification

Only change the frequency if the state previously set is different
from what we are trying to set. We don't really have to get the current
frequency at this point.

Signed-off-by: Denis Sadykov <denis.m.sadykov@intel.com>
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c