diff options
author | Luis Henriques <luis.henriques@canonical.com> | 2015-05-12 00:48:38 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-05-14 01:58:39 +0300 |
commit | e234b074c8ebe736f74cc40a8953accb66b82d04 (patch) | |
tree | 8e118ea838e7707b1ecd64f75ae06ff2d502de11 /drivers/acpi/custom_method.c | |
parent | 030bbdbf4c833bc69f502eae58498bc5572db736 (diff) | |
download | linux-e234b074c8ebe736f74cc40a8953accb66b82d04.tar.xz |
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>
Diffstat (limited to 'drivers/acpi/custom_method.c')
0 files changed, 0 insertions, 0 deletions