cpufreq: Don't pass CPU to cpufreq_add_dev_{symlink|interface}()
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 31 Jul 2013 12:35:14 +0000 (14:35 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 7 Aug 2013 21:02:49 +0000 (23:02 +0200)
commit308b60e71541518f3fe97171b4daf71adc607f3d
tree68fe14f51491ed4e07019e6934352d3c00c57ea7
parente8fdde1011ea45792e60f14f620b01f78cb0d34d
cpufreq: Don't pass CPU to cpufreq_add_dev_{symlink|interface}()

Pointer to struct cpufreq_policy is already passed to these routines
and we don't need to send policy->cpu to them as well.  So, get rid
of this extra argument and use policy->cpu everywhere.

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