summaryrefslogtreecommitdiff
path: root/Documentation/kernel-per-CPU-kthreads.txt
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-07-22 22:12:10 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-07-22 22:12:10 +0200
commitf56c50e322eed07526a08edefa29fc8bab1e93df (patch)
tree30a62b866c66966abf225fe58fc3eb19b02d661b /Documentation/kernel-per-CPU-kthreads.txt
parent3427616b2a5aa7f34716278aa6a140378a00a36e (diff)
downloadlinux-next-f56c50e322eed07526a08edefa29fc8bab1e93df.tar.gz
cpufreq: acpi-cpufreq: Fix up the handling of cpb sysfs attribute
The cpb sysfs attribute is only exposed by the ACPI cpufreq driver after a runtime check. For this purpose, the driver keeps a NULL placeholder in its table of sysfs attributes and replaces the NULL with a pointer to an attribute structure if it decides to expose cpb. That is confusing, so make the driver set the pointer to the cpb attribute structure upfront and replace it with NULL if the attribute should not be exposed instead. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'Documentation/kernel-per-CPU-kthreads.txt')
0 files changed, 0 insertions, 0 deletions