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)
commit3654c5cc810e9b1f7eadf19780d1bc5f37e1ae6e
treea3543f9e2e6fd0fda29d2f412ccf298e28be4997
parent2fc3384dc75bf7333384c7a16d12c796f61c3f56
cpufreq: Call cpufreq_policy_put_kobj() from cpufreq_policy_free()

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