cpufreq: p4-clockmod: Use generic cpufreq routines
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 3 Oct 2013 14:58:14 +0000 (20:28 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 15 Oct 2013 22:50:26 +0000 (00:50 +0200)
commit522f70cefaedf414d8856677f46836f262572a35
tree3cc1cda97f6ef1913e926027faa768ab79b5fcbf
parentd5ca1649c1aebf1e5c95a33fdd80ad415f41dd1d
cpufreq: p4-clockmod: 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 p4-clockmod driver.

Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/p4-clockmod.c