Revert "ACPI battery: fix async boot oops"
This reverts commit 5d38258ec0
, since the
underlying problem got fixed properly in the previous commit ("async:
Fix module loading async-work regression").
Cc: Arkadiusz Miskiewicz <a.miskiewicz@gmail.com>
Cc: Vegard Nossum <vegard.nossum@gmail.com>
Cc: Len Brown <len.brown@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Родитель
d6de2c80e9
Коммит
b0cbc861a3
|
@ -903,7 +903,7 @@ static struct acpi_driver acpi_battery_driver = {
|
|||
},
|
||||
};
|
||||
|
||||
static void acpi_battery_init_async(void *unused, async_cookie_t cookie)
|
||||
static void __init acpi_battery_init_async(void *unused, async_cookie_t cookie)
|
||||
{
|
||||
if (acpi_disabled)
|
||||
return;
|
||||
|
|
Загрузка…
Ссылка в новой задаче