Home
last modified time | relevance | path

Searched hist:"73 bf0fc2b03d1f4fdada0ec430dc20bfb089cfd5" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/cpufreq/
H A Dcpufreq.cdiff 73bf0fc2b03d1f4fdada0ec430dc20bfb089cfd5 Tue Feb 05 15:21:14 CST 2013 Viresh Kumar <viresh.kumar@linaro.org> cpufreq: Don't remove sysfs link for policy->cpu

"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: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: Dirk Brandewie <dirk.brandewie@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>