ACPI: Split out control for /proc/acpi entries from battery, ac, and sbs.
authorAlexey Starikovskiy <astarikovskiy@suse.de>
Mon, 19 Nov 2007 13:33:45 +0000 (16:33 +0300)
committerLen Brown <len.brown@intel.com>
Mon, 19 Nov 2007 16:21:50 +0000 (11:21 -0500)
commitfdcedbba2f98c94bfbac9f6e712ab765f997b8dc
tree438968c5718fa25eebd332d7ac7a4e2ee4114a29
parent2ffbb8377c7a0713baf6644e285adc27a5654582
ACPI: Split out control for /proc/acpi entries from battery, ac, and sbs.

Introduce new ACPI_PROCFS_POWER (default Yes) config option and move
procfs code in battery, ac, and sbs drivers under it.
This is done to allow ACPI_PROCFS to be default No.

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/Kconfig
drivers/acpi/Makefile
drivers/acpi/ac.c
drivers/acpi/battery.c
drivers/acpi/sbs.c