ACPI video: make procfs I/F depend on CONFIG_ACPI_PROCFS
authorZhang Rui <rui.zhang@intel.com>
Thu, 15 Jul 2010 02:46:43 +0000 (10:46 +0800)
committerLen Brown <len.brown@intel.com>
Sun, 15 Aug 2010 04:34:06 +0000 (00:34 -0400)
commit6e37c658aefa57c472b2dbf1de88dbd3c67cdb52
treeb16e489f5a371a8d60e86245e27fddc2b946d8a1
parentd09fe55510257f1acd21ea80a9bdd7c72b5895b3
ACPI video: make procfs I/F depend on CONFIG_ACPI_PROCFS

Mark ACPI video driver procfs I/F deprecated, including:
/proc/acpi/video/*/info
/proc/acpi/video/*/DOS
/proc/acpi/video/*/ROM
/proc/acpi/video/*/POST
/proc/acpi/video/*/POST_info
/proc/acpi/video/*/*/info
/proc/acpi/video/*/*/state
/proc/acpi/video/*/*/EDID
and
/proc/acpi/video/*/*/brightness, because
1. we already have the sysfs I/F /sysclass/backlight/ as the replacement
of /proc/acpi/video/*/*/brightness.
2. the other procfs I/F is not useful for userspace.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/Kconfig
drivers/acpi/video.c