thinkpad-acpi: fix BEEP ACPI handler warnings
commit58a5e5988b91bc78c2f5d0edbc89fb27deb37e8d
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 13 May 2011 12:22:02 +0000 (13 09:22 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 13 May 2011 12:22:02 +0000 (13 09:22 -0300)
tree8628b2b56e246b8adac96f98daf9c789d2a22b17
parent364fa9dd45de84fdd5a84f1be230272a80d03784
thinkpad-acpi: fix BEEP ACPI handler warnings

Some ThinkPads want two arguments for BEEP, while others want just
one, causing ACPICA to log warnings like this:

ACPI Warning (nseval-0177): Excess arguments - method [BEEP] needs 1,
found 2 [20080926]

Deal with it.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
drivers/platform/x86/thinkpad_acpi.c