summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/sa1100-cpufreq.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2013-10-03 16:58:23 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-10-16 00:50:27 +0200
commitdd9f263956727320a2bcba8ffae7e9ab4a5be8a6 (patch)
tree7625e8f1e7aba5ebf75001f1f1af9fb64337aa5f /drivers/cpufreq/sa1100-cpufreq.c
parentcpufreq: s5pv210: Use generic cpufreq routines (diff)
downloadlinux-dd9f263956727320a2bcba8ffae7e9ab4a5be8a6.tar.xz
linux-dd9f263956727320a2bcba8ffae7e9ab4a5be8a6.zip
cpufreq: sa11x0: Use generic cpufreq routines
Most of the CPUFreq drivers do similar things in .exit() and .verify() routines and .attr. So its better if we have generic routines for them which can be used by cpufreq drivers then. This patch uses these generic routines in the sa11x0 driver. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/sa1100-cpufreq.c')
-rw-r--r--drivers/cpufreq/sa1100-cpufreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/sa1100-cpufreq.c b/drivers/cpufreq/sa1100-cpufreq.c
index 37fce2f15711..80a4fde0021f 100644
--- a/drivers/cpufreq/sa1100-cpufreq.c
+++ b/drivers/cpufreq/sa1100-cpufreq.c
@@ -228,7 +228,7 @@ static int __init sa1100_cpu_init(struct cpufreq_policy *policy)
static struct cpufreq_driver sa1100_driver __refdata = {
.flags = CPUFREQ_STICKY,
- .verify = sa11x0_verify_speed,
+ .verify = cpufreq_generic_frequency_table_verify,
.target = sa1100_target,
.get = sa11x0_getspeed,
.init = sa1100_cpu_init,