-
- Downloads
cpufreq: Don't create empty /sys/devices/system/cpu/cpufreq directory
When we don't have any file in cpu/cpufreq directory we shouldn't create it. Specially with the introduction of per-policy governor instance patchset, even governors are moved to cpu/cpu*/cpufreq/governor-name directory and so this directory is just not required. Lets have it only when required. Signed-off-by:Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Showing
- drivers/cpufreq/acpi-cpufreq.c 2 additions, 2 deletionsdrivers/cpufreq/acpi-cpufreq.c
- drivers/cpufreq/cpufreq.c 44 additions, 4 deletionsdrivers/cpufreq/cpufreq.c
- drivers/cpufreq/cpufreq_governor.c 6 additions, 0 deletionsdrivers/cpufreq/cpufreq_governor.c
- include/linux/cpufreq.h 4 additions, 0 deletionsinclude/linux/cpufreq.h
Loading
Please register or sign in to comment