cpufreq: Call cpufreq_policy_put_kobj() from cpufreq_policy_free()
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 8 Jun 2015 12:55:30 +0000 (18:25 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 10 Jun 2015 23:02:40 +0000 (01:02 +0200)
cpufreq_policy_put_kobj() is actually part of freeing the policy and can
be called from cpufreq_policy_free() directly instead of a separate
call.

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

Simple merge