cpufreq: No need to check for has_target()
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 2 Jan 2015 07:04:27 +0000 (12:34 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 23 Jan 2015 21:49:34 +0000 (22:49 +0100)
commit2e1cc3a5d7efa42d3aa4aaa77b9b2c3a51bb6073
tree773d4aef74ddf411b39a00ebb77f6494d83ad2ec
parent42f91fa1166f1d6c9fba37f167dd3c3f846be00a
cpufreq: No need to check for has_target()

Either we can be setpolicy or target type, nothing else. And so the
else part of setpolicy will automatically be of has_target() type.
And so we don't need to check it again.

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