-
由 Viresh Kumar 提交于
"cpufreq" directory in policy->cpu is never created using sysfs_create_link(), but using kobject_init_and_add(). And so we shouldn't call sysfs_remove_link() for policy->cpu(). sysfs stuff for policy->cpu is automatically removed when we call kobject_put() for dying policy. Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org> Tested-by: NDirk Brandewie <dirk.brandewie@gmail.com> Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
73bf0fc2