lenovo/x60: Unify volume button handling with common code.

Change-Id: I45fe44a91f9f83a510b204e01dbaff9e8a9696ca
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/5099
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
Vladimir Serbinenko 2014-02-02 18:44:42 +01:00
parent e92155fbe6
commit 5ca914bc64
2 changed files with 0 additions and 25 deletions

View File

@ -227,7 +227,6 @@ Device(EC)
^HKEY.RHK (0x18) ^HKEY.RHK (0x18)
} }
#if CONFIG_BOARD_LENOVO_X201
Method (_Q1C, 0, NotSerialized) Method (_Q1C, 0, NotSerialized)
{ {
^HKEY.RHK (0x19) ^HKEY.RHK (0x19)
@ -237,7 +236,6 @@ Device(EC)
{ {
^HKEY.RHK (0x1A) ^HKEY.RHK (0x1A)
} }
#endif
Device (HKEY) Device (HKEY)
{ {

View File

@ -20,26 +20,3 @@
*/ */
#include <ec/lenovo/h8/acpi/ec.asl> #include <ec/lenovo/h8/acpi/ec.asl>
Scope(\_SB.PCI0.LPCB.EC)
{
/* Volume down */
Method(_Q1C, 0, NotSerialized)
{
Trap(SMI_SAVE_CMOS)
}
/* Volume up */
Method(_Q1D, 0, NotSerialized)
{
Trap(SMI_SAVE_CMOS)
}
/* Mute key pressed */
Method(_Q1E, 0, NotSerialized)
{
Trap(SMI_SAVE_CMOS)
}
}