cpufreq: define generic .attr, .exit() and .verify() routines
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 3 Oct 2013 14:57:55 +0000 (20:27 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 15 Oct 2013 22:50:23 +0000 (00:50 +0200)
commit184345129c53e76069c209f9912ed7c457eceb31
treeaac6a1142dce29a1c622c69fcca0b4da05e31b2d
parentbe49e3465f222b4b796be8a21d14afbfd8f5d20f
cpufreq: define generic .attr, .exit() and .verify() 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 introduces generic .attr, .exit() and .verify() cpufreq drivers.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/freq_table.c
include/linux/cpufreq.h