Skip to contentSkip to conversation

ACPI: updating the Kconfig file

PATCH Applied Zhang Rui 2 participants 2 messages Dec 6, 2010 – Dec 14, 2010 ACPI

lore
Share & tools
lore

Zhang Rui

author
#0 lore raw

PATCH 3/7 ACPI: updating the Kconfig file

Update the drivers/acpi/Kconfig file.

---
 drivers/acpi/Kconfig |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/acpi/Kconfig +2 -4
Index: linux-2.6/drivers/acpi/Kconfig
===================================================================
@@ -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.
 
reviewer
#1 lore raw
Quoted 12 lines · Zhang Rui

Update the drivers/acpi/Kconfig file.

---
 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