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)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 29 Jun 2022 17:40:45 +0000 (19:40 +0200)
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>
drivers/acpi/ec.c

index a1b871a..f6a0228 100644 (file)
@@ -2208,13 +2208,6 @@ static const struct dmi_system_id acpi_ec_no_wakeup[] = {
                },
        },
        {
-               .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 = {
                        DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),