ACPI: Revert "ACPI / Battery: Remove battery's proc directory"
authorLan Tianyu <tianyu.lan@intel.com>
Sun, 4 May 2014 03:07:25 +0000 (11:07 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jun 2014 17:28:26 +0000 (10:28 -0700)
commitda33adbd92be1217c55adf3f164b35ff2238fd32
tree6d0a223ec628060c84ea37ca83a03ec4642a6360
parentef0dcd4fd05a21b411a345f88acf4d841b8e34c4
ACPI: Revert "ACPI / Battery: Remove battery's proc directory"

commit 3a670cc79342c36d308decd5f90351830ed1685c upstream.

The commit 1e2d9cd and 7d7ee95 remove ACPI Proc Battery
directory and breaks some old userspace tools. This patch
is to revert commit 1e2d9cd.

Fixes: 1e2d9cdfb449 (ACPI / Battery: Remove battery's proc directory)
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/battery.c