ACPI / battery: ensure acpi_battery_init() has finish
authorLuis Henriques <luis.henriques@canonical.com>
Mon, 11 May 2015 21:49:05 +0000 (22:49 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 13 May 2015 22:58:40 +0000 (00:58 +0200)
commiteca21d9167213bc9217450613a671553ab45c225
tree078a9760e7b71567dbe3e86cdfdccf6c179e7a6b
parent479faaf00fde35e80a5be1389938b38e422d799d
ACPI / battery: ensure acpi_battery_init() has finish

Make sure that async function scheduled with async_schedule() has already
been executed.

Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/battery.c