diff options
author | Zhang Rui <rui.zhang@intel.com> | 2011-01-09 22:16:30 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-01-12 00:36:17 -0500 |
commit | 6d855fcdd24d2491455527c4999b4d04363f1980 (patch) | |
tree | 19faadd4e6d1edc0d0eacca076d50902f7f0b3fe /drivers/acpi/sbs.c | |
parent | cef6e8a3790d6bdc305496629c357a56001d59a6 (diff) |
ACPI: delete CONFIG_ACPI_PROCFS_POWER and power procfs I/F in 2.6.39
sysfs I/F for ACPI power devices, including AC and Battery,
has been working in upstream kenrel since 2.6.24, Sep 2007.
In 2.6.37, we made the sysfs I/F always built in and this option
disabled by default.
Now, we plan to remove this option and the ACPI power procfs
interface in 2.6.39.
First, update the feature-removal-schedule to announce this change.
Second, add runtime warnings in ACPI AC/Battery/SBS driver, so that
users will notice this change even if "make oldconfig" is used.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/sbs.c')
-rw-r--r-- | drivers/acpi/sbs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/sbs.c b/drivers/acpi/sbs.c index e5dbedb16bbf..51ae3794ec7f 100644 --- a/drivers/acpi/sbs.c +++ b/drivers/acpi/sbs.c | |||
@@ -484,6 +484,8 @@ acpi_sbs_add_fs(struct proc_dir_entry **dir, | |||
484 | const struct file_operations *state_fops, | 484 | const struct file_operations *state_fops, |
485 | const struct file_operations *alarm_fops, void *data) | 485 | const struct file_operations *alarm_fops, void *data) |
486 | { | 486 | { |
487 | printk(KERN_WARNING PREFIX "Deprecated procfs I/F for SBS is loaded," | ||
488 | " please retry with CONFIG_ACPI_PROCFS_POWER cleared\n"); | ||
487 | if (!*dir) { | 489 | if (!*dir) { |
488 | *dir = proc_mkdir(dir_name, parent_dir); | 490 | *dir = proc_mkdir(dir_name, parent_dir); |
489 | if (!*dir) { | 491 | if (!*dir) { |