ACPI: updating the Kconfig file
PATCH 3/7 ACPI: updating the Kconfig file
Update the drivers/acpi/Kconfig file.
Signed-off-by Zhang Rui <[email protected]>
--- drivers/acpi/Kconfig | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/acpi/Kconfig +2 -4
@@ -52,11 +52,9 @@ config ACPI_PROCFS deprecated /proc/acpi/ files to exist, even when they have been replaced by functions in /sys. The deprecated files (and their replacements) include: + /proc/acpi/ac/* (/sys/class/power_supply) + /proc/acpi/battery/* (/sys/class/power_supply/) - /proc/acpi/processor/*/throttling (/sys/class/thermal/ - cooling_device*/*) - /proc/acpi/video/*/brightness (/sys/class/backlight/) - /proc/acpi/thermal_zone/*/* (/sys/class/thermal/) This option has no effect on /proc/acpi/ files and functions which do not yet exist in /sys.
Len Brown
reviewerQuoted 12 lines · Zhang Rui
Update the
drivers/acpi/Kconfigfile.Signed-off-by Zhang Rui <[email protected]>--- drivers/acpi/Kconfig | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)Index: linux-2.6/drivers/acpi/Kconfig
===================================================================
drivers/acpi/Kconfig config ACPI_PROCFS · line 56
Quoted 5 lines
drivers/acpi/Kconfig +2
-0@@ -52,11 +52,9 @@ config ACPI_PROCFS deprecated /proc/acpi/ files to exist, even when they have been replaced by functions in /sys. The deprecated files (and their replacements) include: + /proc/acpi/ac/* (/sys/class/power_supply) + /proc/acpi/battery/* (/sys/class/power_supply/)
skipped those two lines, since we skipped patch 1/7
drivers/acpi/Kconfig config ACPI_PROCFS · line 59
Quoted 4 lines
drivers/acpi/Kconfig +0
-4- /proc/acpi/processor/*/throttling (/sys/class/thermal/ - cooling_device*/*) - /proc/acpi/video/*/brightness (/sys/class/backlight/) - /proc/acpi/thermal_zone/*/* (/sys/class/thermal/)
merged these into previous patch, which is at least 1/3rd accurate:-)
thanks,
Len Brown, Intel Open Source Technology Center