diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-02-06 01:21:14 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-02-06 01:21:14 +0400 |
commit | 73bf0fc2b03d1f4fdada0ec430dc20bfb089cfd5 (patch) | |
tree | d2140fed485ae5c577ebcb321ef9e379cbccc3f3 /drivers/cpufreq/powernow-k6.c | |
parent | 62b36cc1c83aca1cd252772e82cbc5d9ef8ff25b (diff) | |
download | linux-73bf0fc2b03d1f4fdada0ec430dc20bfb089cfd5.tar.xz |
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>
Diffstat (limited to 'drivers/cpufreq/powernow-k6.c')
0 files changed, 0 insertions, 0 deletions