commit | e234b074c8ebe736f74cc40a8953accb66b82d04 | [log] [tgz] |
---|---|---|
author | Luis Henriques <luis.henriques@canonical.com> | Mon May 11 22:48:38 2015 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu May 14 00:58:39 2015 +0200 |
tree | 8e118ea838e7707b1ecd64f75ae06ff2d502de11 | |
parent | 030bbdbf4c833bc69f502eae58498bc5572db736 [diff] |
ACPI / battery: abort initialization earlier if acpi_disabled If ACPI is disabled there's no need to schedule an async function call, the driver initialization can be aborted earlier in acpi_battery_init(). Signed-off-by: Luis Henriques <luis.henriques@canonical.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>