diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-04-29 22:58:39 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-05-04 09:41:20 +0000 |
commit | 822148c5e737b5c69758148ebc68f1a9faf8bfd3 (patch) | |
tree | 0e5fd75012e8ad02d3d737b19d74b0691f21ce5c /src/mainboard/lenovo/s230u | |
parent | fbcfefe5f3f85daff84a454f822fe6c8ca4c02af (diff) |
treewide: Drop ACPI_VIDEO_DEVICE macro
It was always defined to the same value, and only used twice.
Change-Id: I2736eb7ea2cf15475f7bb99d7d12450730eb8be0
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40864
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo/s230u')
-rw-r--r-- | src/mainboard/lenovo/s230u/acpi/ec.asl | 2 | ||||
-rw-r--r-- | src/mainboard/lenovo/s230u/dsdt.asl | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/lenovo/s230u/acpi/ec.asl b/src/mainboard/lenovo/s230u/acpi/ec.asl index c626350ab8..3db858f89f 100644 --- a/src/mainboard/lenovo/s230u/acpi/ec.asl +++ b/src/mainboard/lenovo/s230u/acpi/ec.asl @@ -117,7 +117,7 @@ Device (EC0) /* Video output switch hotkey */ Method (_Q16, 0, NotSerialized) { - Notify (ACPI_VIDEO_DEVICE, 0x82) + Notify (\_SB.PCI0.GFX0, 0x82) ^HKEY.MHKQ (0x1007) } diff --git a/src/mainboard/lenovo/s230u/dsdt.asl b/src/mainboard/lenovo/s230u/dsdt.asl index 37ad7b8b79..651cb749bb 100644 --- a/src/mainboard/lenovo/s230u/dsdt.asl +++ b/src/mainboard/lenovo/s230u/dsdt.asl @@ -4,7 +4,6 @@ #define THINKPAD_EC_GPE 23 #define BRIGHTNESS_UP \_SB.PCI0.GFX0.INCB #define BRIGHTNESS_DOWN \_SB.PCI0.GFX0.DECB -#define ACPI_VIDEO_DEVICE \_SB.PCI0.GFX0 #define EC_LENOVO_H8_ME_WORKAROUND 1 #include <acpi/acpi.h> |