]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ACPI: EC: Remove duplicate ThinkPad X1 Carbon 6th entry from DMI quirks
authorHans de Goede <hdegoede@redhat.com>
Mon, 20 Jun 2022 09:25:43 +0000 (11:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Aug 2022 09:17:31 +0000 (11:17 +0200)
[ Upstream commit 78969e9aa00cbadd702debe4f6acef366d6d644a ]

Somehow the "ThinkPad X1 Carbon 6th" entry ended up twice in the
struct dmi_system_id acpi_ec_no_wakeup[] array. Remove one of
the entries.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/acpi/ec.c

index e5b92958c299ed3b07e800591e34a1844b95b566..defc5796b5084e56165bdea047f2d7860ff6022b 100644 (file)
@@ -2118,13 +2118,6 @@ static const struct dmi_system_id acpi_ec_no_wakeup[] = {
                        DMI_MATCH(DMI_PRODUCT_FAMILY, "Thinkpad X1 Carbon 6th"),
                },
        },
-       {
-               .ident = "ThinkPad X1 Carbon 6th",
-               .matches = {
-                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
-                       DMI_MATCH(DMI_PRODUCT_FAMILY, "ThinkPad X1 Carbon 6th"),
-               },
-       },
        {
                .ident = "ThinkPad X1 Yoga 3rd",
                .matches = {