ACPI / battery: move some ACPI_BATTERY_* definitions to header
authorAlexander Mezin <mezin.alexander@gmail.com>
Tue, 11 Mar 2014 17:58:46 +0000 (00:58 +0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 19 Mar 2014 00:57:46 +0000 (01:57 +0100)
commitf03be3525f1fac98b03a994522a7d78e9a70fe52
tree039c18de5cd8496c701f208a641a04b060e2a2b3
parentdcb99fd9b08cfe1afe426af4d8d3cbc429190f15
ACPI / battery: move some ACPI_BATTERY_* definitions to header

ACPI_BATTERY_CLASS is used in multiple places.
Also, I'll use ACPI_BATTERY_NOTIFY_STATUS inside AC driver in
one of following patches.

So, create a header file and move ACPI_BATTERY_CLASS and
ACPI_BATTERY_NOTIFY_* definitions into it.
Also, remove copy of ACPI_BATTERY_CLASS from sbs.c

Signed-off-by: Alexander Mezin <mezin.alexander@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/battery.c
drivers/acpi/battery.h [new file with mode: 0644]
drivers/acpi/sbs.c