]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 31 Jul 2013 12:35:14 +0000 (14:35 +0200)
commit6da39480e467d47c87832912b6e33a3fd562930f
tree8606de0b910647d029d4c5c4d4a15c0ad015a4b1
parente5845d4ce8294fe8b97422eb04b120ae8a49acce
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