Revert "ACPI / AC: Remove AC's proc directory."
authorLan Tianyu <tianyu.lan@intel.com>
Sun, 6 Jul 2014 23:13:46 +0000 (01:13 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 6 Jul 2014 23:13:46 +0000 (01:13 +0200)
commite63f6e28dda6de3de2392ddca321e211fd860925
tree5608dadbb38b25cd7631a904bf5040d28149ed28
parentcd3de83f147601356395b57a8673e9c5ff1e59d1
Revert "ACPI / AC: Remove AC's proc directory."

Revert commit ab0fd674d6ce (ACPI / AC: Remove AC's proc directory.),
because some old tools (e.g. kpowersave from kde 3.5.10) are still
using /proc/acpi/ac_adapter.

Fixes: ab0fd674d6ce (ACPI / AC: Remove AC's proc directory.)
Reported-and-tested-by: Sorin Manolache <sorinm@gmail.com>
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/ac.c