summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2014-03-19 06:54:58 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-03-19 14:10:24 +0100
commit0b443ead714f0cba797a7f2476dd756f22b5421e (patch)
treeed27366834ff0740fddbba8ce4f0e7ae59a8188e /arch/arm/mach-pxa
parentcpufreq: Do not allow ->setpolicy drivers to provide ->target (diff)
downloadlinux-0b443ead714f0cba797a7f2476dd756f22b5421e.tar.xz
linux-0b443ead714f0cba797a7f2476dd756f22b5421e.zip
cpufreq: remove unused notifier: CPUFREQ_{SUSPENDCHANGE|RESUMECHANGE}
Two cpufreq notifiers CPUFREQ_RESUMECHANGE and CPUFREQ_SUSPENDCHANGE have not been used for some time, so remove them to clean up code a bit. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> [rjw: Changelog] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r--arch/arm/mach-pxa/viper.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-pxa/viper.c b/arch/arm/mach-pxa/viper.c
index 29905b127ad9..41f27f667ca8 100644
--- a/arch/arm/mach-pxa/viper.c
+++ b/arch/arm/mach-pxa/viper.c
@@ -885,9 +885,6 @@ static int viper_cpufreq_notifier(struct notifier_block *nb,
viper_set_core_cpu_voltage(freq->new, 0);
}
break;
- case CPUFREQ_RESUMECHANGE:
- viper_set_core_cpu_voltage(freq->new, 0);
- break;
default:
/* ignore */
break;