ACPI / battery: call ACPI notifier chain in acpi_battery_notify
authorAlexander Mezin <mezin.alexander@gmail.com>
Tue, 11 Mar 2014 17:58:47 +0000 (00:58 +0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 19 Mar 2014 00:57:46 +0000 (01:57 +0100)
commit411e0f77bdf79cdb80b61ab78acc6513c9ff8f97
tree02a7d02f6bb55fea5cc4d3ca3a45e9833b7fbb09
parentf03be3525f1fac98b03a994522a7d78e9a70fe52
ACPI / battery: call ACPI notifier chain in acpi_battery_notify

Allow other drivers to subscribe to battery status notifications.
Just like AC driver does.

Signed-off-by: Alexander Mezin <mezin.alexander@gmail.com>
Acked-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/battery.c