Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4016152imw; Thu, 7 Jul 2022 11:12:35 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vK2mn8srtcZvFu30ly6U5RipF8BQwvCJyc6mHWp9wNUNgvVYxbb4S8hLh98dUe6V2/Cjlb X-Received: by 2002:a05:6402:34ce:b0:43a:a4bb:27a6 with SMTP id w14-20020a05640234ce00b0043aa4bb27a6mr879270edc.158.1657217555400; Thu, 07 Jul 2022 11:12:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657217555; cv=none; d=google.com; s=arc-20160816; b=Cdlv8L0gZLX8wNFUHDIaxhihelvZ38IJVAo0uOdko90p7/zsREyn+oD0Bz/sw+xCf9 k0acaZbDS3AnPKxC/MYxBOZtSzDzZXjvtTnIYHrk6fkUAsNargXCaGwwy4I36hNh0RDb 0mPIdeu7aOEFLo0JDKfiYyziFC+QPjRbO775MidXdURgF8fwdoLFeRWW7i19BeGBRtuy ZdRT6KETBffb0u5+nPxl95lIYg/5QIZBCnTDudMBS5m9XsidagWSXeqhhuOouux7pqKX 7TXefyGYec6mZuWvpdgOSeBfyEraHeX+jTm/h3v9ySePD1vtF7y/LlPOA8VmpWruhBPr O6qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=diCuBKCZ8nHe4saywtBOHEfbVxOc7+pYhuNGF2YSFI0=; b=ybT4IoxYGz9EPzyIsA3Klt5XnKt5dO8PTAut3AaDz+Fvks8fvMZAHieXevbWo//78d PFE3strNV4dyH9FBJ/5AlPGFsSdpaLyT2zxS4w4Cg2gax4v3p0dUk5q+RXFW9p2qc+vH jHCXgqf8JF7l/Cv1ljxFD4jqKUkg+kro4LVbxpthfq03lcBN/Nn7ItkJIXxcu+lhsZGQ tgybwcCGMKMvnOK161zucRQHKqw6jsw9XVaqCE4yuadR9+m5VRYgyQfcrmykaCJ7zI5+ rgiIT9N+GeLXeidUTRwlrQNYL+fVME0kR4rEb3h11JnWFZiN+4W7UPLp5HNBT5TkvczP K62A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tuxedocomputers.com header.s=default header.b=O8hKuRvO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tuxedocomputers.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd8-20020a170907968800b0072ae88744a0si1993674ejc.277.2022.07.07.11.12.08; Thu, 07 Jul 2022 11:12:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxedocomputers.com header.s=default header.b=O8hKuRvO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tuxedocomputers.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235933AbiGGSKI (ORCPT + 99 others); Thu, 7 Jul 2022 14:10:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232340AbiGGSKC (ORCPT ); Thu, 7 Jul 2022 14:10:02 -0400 Received: from srv6.fidu.org (srv6.fidu.org [IPv6:2a01:4f8:231:de0::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F24F237FF for ; Thu, 7 Jul 2022 11:10:00 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by srv6.fidu.org (Postfix) with ESMTP id F3539C8009A; Thu, 7 Jul 2022 20:09:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= tuxedocomputers.com; h=content-transfer-encoding:mime-version :references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from; s=default; t=1657217397; x=1659031798; bh=dJ JoXrGDVHikR0rNuf8Zm1ygRJi+F4cuAxXmhFMTy3Y=; b=O8hKuRvOCpAZr1Kakl maXNIf5t5Fc0MxjPOgDdusIhRJGJwIT1ume5bF9eeHUG0yugKqPPNfNxbt9OfAoN UnJhOqKLkZYGOpESci86qUjOXrU3NGVaTPdsjbxQ77lPb0vp1O3CvY5fzedF39Vq 76lDEdhOubc3nWTb5QLSOPUmA= X-Virus-Scanned: Debian amavisd-new at srv6.fidu.org Received: from srv6.fidu.org ([127.0.0.1]) by localhost (srv6.fidu.org [127.0.0.1]) (amavisd-new, port 10026) with LMTP id bx4ZQWgbx0Un; Thu, 7 Jul 2022 20:09:57 +0200 (CEST) Received: from wsembach-tuxedo.fritz.box (host-212-18-30-247.customer.m-online.net [212.18.30.247]) (Authenticated sender: wse@tuxedocomputers.com) by srv6.fidu.org (Postfix) with ESMTPA id 9F02AC8009E; Thu, 7 Jul 2022 20:09:57 +0200 (CEST) From: Werner Sembach To: rafael@kernel.org, lenb@kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] ACPI: video: Shortening quirk list by identifying Clevo by board_name only Date: Thu, 7 Jul 2022 20:09:53 +0200 Message-Id: <20220707180953.605246-2-wse@tuxedocomputers.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220707180953.605246-1-wse@tuxedocomputers.com> References: <20220707180953.605246-1-wse@tuxedocomputers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Taking a recent change in the i8042 quirklist to this one: Clevo board_names are somewhat unique, and if not: The generic Board_-/Sys_Vendor string "Notebook" doesn't help much anyway. So identifying the devices just by the board_name helps keeping the list significantly shorter and might even hit more devices requiring the fix. Signed-off-by: Werner Sembach Fixes: c844d22fe0c0 ("ACPI: video: Force backlight native for Clevo NL5xRU and NL5xNU") Cc: stable@vger.kernel.org --- drivers/acpi/video_detect.c | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c index cdde2e069d63..6615f59ab7fd 100644 --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c @@ -430,23 +430,6 @@ static const struct dmi_system_id video_detect_dmi_table[] = { .callback = video_detect_force_native, .ident = "Clevo NL5xRU", .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "TUXEDO"), - DMI_MATCH(DMI_BOARD_NAME, "NL5xRU"), - }, - }, - { - .callback = video_detect_force_native, - .ident = "Clevo NL5xRU", - .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "SchenkerTechnologiesGmbH"), - DMI_MATCH(DMI_BOARD_NAME, "NL5xRU"), - }, - }, - { - .callback = video_detect_force_native, - .ident = "Clevo NL5xRU", - .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "Notebook"), DMI_MATCH(DMI_BOARD_NAME, "NL5xRU"), }, }, @@ -470,23 +453,6 @@ static const struct dmi_system_id video_detect_dmi_table[] = { .callback = video_detect_force_native, .ident = "Clevo NL5xNU", .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "TUXEDO"), - DMI_MATCH(DMI_BOARD_NAME, "NL5xNU"), - }, - }, - { - .callback = video_detect_force_native, - .ident = "Clevo NL5xNU", - .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "SchenkerTechnologiesGmbH"), - DMI_MATCH(DMI_BOARD_NAME, "NL5xNU"), - }, - }, - { - .callback = video_detect_force_native, - .ident = "Clevo NL5xNU", - .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "Notebook"), DMI_MATCH(DMI_BOARD_NAME, "NL5xNU"), }, }, -- 2.34.1