acpi: remove CONFIG_ACPI_PROCFS_POWER option
Subsystems (2)
PATCH 1/5 acpi: remove CONFIG_ACPI_PROCFS_POWER option
The long time deprecated procfs interface for ACPI power devices has been scheduled for removal since linux 2.6.39.
Signed-off-by Davidlohr Bueso <[email protected]>
--- Documentation/feature-removal-schedule.txt | 11 - drivers/acpi/Kconfig | 17 -- drivers/acpi/Makefile | 1 - drivers/acpi/ac.c | 128 +----------- drivers/acpi/battery.c | 328 +--------------------------- drivers/acpi/cm_sbs.c | 105 --------- drivers/acpi/sbs.c | 333 +--------------------------- 7 files changed, 8 insertions(+), 915 deletions(-) delete mode 100644 drivers/acpi/cm_sbs.c
Documentation/feature-removal-schedule.txt +0 -11
@@ -181,17 +181,6 @@ Who: Zhang Rui <[email protected]> --------------------------- -What: CONFIG_ACPI_PROCFS_POWER -When: 2.6.39 -Why: sysfs I/F for ACPI power devices, including AC and Battery, - has been working in upstream kernel since 2.6.24, Sep 2007. - In 2.6.37, we make the sysfs I/F always built in and this option - disabled by default. - Remove this option and the ACPI power procfs interface in 2.6.39. -Who: Zhang Rui <[email protected]> - ---------------------------- - What: /proc/acpi/event When: February 2008 Why: /proc/acpi/event has been replaced by events via the input layer
drivers/acpi/Kconfig +0 -17
@@ -56,23 +56,6 @@ config ACPI_PROCFS Say N to delete /proc/acpi/ files that have moved to /sys/ -config ACPI_PROCFS_POWER - bool "Deprecated power /proc/acpi directories" - depends on PROC_FS - help - For backwards compatibility, this option allows - deprecated power /proc/acpi/ directories to exist, even when - they have been replaced by functions in /sys. - The deprecated directories (and their replacements) include: - /proc/acpi/battery/* (/sys/class/power_supply/*) - /proc/acpi/ac_adapter/* (sys/class/power_supply/*) - This option has no effect on /proc/acpi/ directories - and functions, which do not yet exist in /sys - This option, together with the proc directories, will be - deleted in 2.6.39. - - Say N to delete power /proc/acpi/ directories that have moved to /sys/ - config ACPI_EC_DEBUGFS tristate "EC read/write access through /sys/kernel/debug/ec" default n
drivers/acpi/Makefile +0 -1
@@ -41,7 +41,6 @@ acpi-y += event.o acpi-y += sysfs.o acpi-$(CONFIG_DEBUG_FS) += debugfs.o acpi-$(CONFIG_ACPI_NUMA) += numa.o -acpi-$(CONFIG_ACPI_PROCFS_POWER) += cm_sbs.o ifdef CONFIG_ACPI_VIDEO acpi-y += video_detect.o endif
drivers/acpi/ac.c +2 -126
185 lines not on this page · raw message
drivers/acpi/battery.c +2 -326
377 lines not on this page · raw message
drivers/acpi/cm_sbs.c deleted +0 -105
105 lines not on this page · raw message
drivers/acpi/sbs.c +4 -329
401 lines not on this page · raw message
Signature · 1 line
1.7.4.1