dect
/
linux-2.6
Archived
13
0
Fork 0

thinkpad-acpi: silence bogus complain during rmmod

Fix this bogus warning during module shutdown, when
backlight event reporting is enabled:

"thinkpad_acpi: required events 0x00018000 not enabled!"

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
Henrique de Moraes Holschuh 2009-12-09 01:36:25 +00:00 committed by Len Brown
parent 347a26860e
commit 6b30eb7d21
1 changed files with 2 additions and 1 deletions

View File

@ -2189,7 +2189,8 @@ static int hotkey_mask_set(u32 mask)
fwmask, hotkey_acpi_mask);
}
hotkey_mask_warn_incomplete_mask();
if (tpacpi_lifecycle != TPACPI_LIFE_EXITING)
hotkey_mask_warn_incomplete_mask();
return rc;
}