Skip to content
Commit 2acb9bda authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

cpufreq: Explain the kobject_put() in cpufreq_policy_alloc()



It may not be particularly clear why the kobject_put() after
failing kobject_init_and_add() in cpufreq_policy_alloc() is not
redundant, so add a comment to explain that.

Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent df24014a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment