cpufreq: get rid of 'tpolicy' from __cpufreq_add_dev()
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 2 Jan 2015 07:04:32 +0000 (12:34 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 23 Jan 2015 21:49:34 +0000 (22:49 +0100)
commit7f0c020ab6ecb513394de9b02df33a5cfc62084f
tree4f1637267433cf91e219e6a1ab6d62b26aad922d
parent22a7cfb01415cfa4284af20555942c427af452e0
cpufreq: get rid of 'tpolicy' from __cpufreq_add_dev()

There is no need of this separate variable, use 'policy' instead.

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