Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp6265396rwb; Tue, 9 Aug 2022 12:03:18 -0700 (PDT) X-Google-Smtp-Source: AA6agR5OypnfAIfarrC7Qxhn2/HPSpxT5j62UoyeUBH7ibx1i8VkVwQdGLSb6ijI1quoxUleYG66 X-Received: by 2002:a17:90b:4ccb:b0:1f5:87:a17f with SMTP id nd11-20020a17090b4ccb00b001f50087a17fmr27257723pjb.7.1660071798117; Tue, 09 Aug 2022 12:03:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660071798; cv=none; d=google.com; s=arc-20160816; b=IFFVyg03e2bEEIWCO2kTMumDRKBuzQtPngAdDHmxgk7FdANgd8qnpPiYX3z/0pDAg6 qsqR06rJ/NPeWYFVkhQgjaLJl9O7317jnfClf/q9aj5FZvxBsoWeUYM/KuYHj/gro1c+ SykQ4dhHA/M05ASjGXa+8x4q6UIBRUfdhkFgb1DXLyB4rSx1qieyNR/QSi4bmgLg2MMB 5hwPJPOS8WeP3pxW30JGfnLTTpqtXd6REjdMmbFuPjyj6y8ve+3AhkwVl5cejvHtb55k 6YHuUkVVoL0oj2QnKpZPBCckQLeNhgeKPNpU7Y/O4N6mP/P9DGmCloLKtl40mwZh+nMY cQ2w== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=oBkYHXDtVRPcTs6yU1T8oHCoekwplbrB3qMwDvmOXbA=; b=YlRrsYuVwvMbw904/6x6uCv2WhvhP/sU45SUTRKUBzM+LefTfauwnZ6GfScUx6QVMV 1EIuFWco1t6RvbU4170SJGmn6V9ni/85LiKQyC0czyi+AbueII4ofJHZNsFzkN1QKeRz J/Ky+EtOorbcTzw7y4+V+DtWeXIx8DSCzxajmxj7iAFv30HIUYO3xLh+4Og2yhM5zXO0 s3drKXqdgqIh5scJ1PQF/7vTybOycBs8i2evG7Mm5nC9tRxB58ThBKlyfYoTFhMiTiLd 5ijSL5e8EGgCD2IuNOaHA43vqjKecC42aYoKWu5p0qxw7xBCwBqq0X+OkuYCpCYNkzb/ OYHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fiMOiOQL; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m1-20020a170902db0100b0016d0ee8a096si15459773plx.345.2022.08.09.12.02.39; Tue, 09 Aug 2022 12:03:18 -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=@linuxfoundation.org header.s=korg header.b=fiMOiOQL; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343578AbiHISHz (ORCPT + 99 others); Tue, 9 Aug 2022 14:07:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343758AbiHISHH (ORCPT ); Tue, 9 Aug 2022 14:07:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C9C9A46D; Tue, 9 Aug 2022 11:03:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id ECD1161012; Tue, 9 Aug 2022 18:03:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64F64C433D7; Tue, 9 Aug 2022 18:03:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660068189; bh=dGnVn5Z9grRssWnblV0hmoYJQANPk3JcoW+xhK13lyo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fiMOiOQLaWrcOXeHbg8zKxiK4BmLh7xlX0P6Jd+OIZmj8GLPiP5MFrQTOEdZXvJZa Im6KjGl2A7eoiiajleW00Er2E5cq0EcWXgPiLI8+2U4CpzO99mbmSwvEmGqipQuhxl BPCGXrA7gdghqK1kISxRZJLgPS4t+M0SOM091d4U= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Werner Sembach , Hans de Goede , "Rafael J. Wysocki" Subject: [PATCH 5.4 03/15] ACPI: video: Shortening quirk list by identifying Clevo by board_name only Date: Tue, 9 Aug 2022 20:00:21 +0200 Message-Id: <20220809175510.421778760@linuxfoundation.org> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220809175510.312431319@linuxfoundation.org> References: <20220809175510.312431319@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 From: Werner Sembach commit f0341e67b3782603737f7788e71bd3530012a4f4 upstream. 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: All applicable Reviewed-by: Hans de Goede Signed-off-by: Rafael J. Wysocki Signed-off-by: Greg Kroah-Hartman --- drivers/acpi/video_detect.c | 34 ---------------------------------- 1 file changed, 34 deletions(-) --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c @@ -387,23 +387,6 @@ static const struct dmi_system_id video_ .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"), }, }, @@ -427,23 +410,6 @@ static const struct dmi_system_id video_ .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"), }, },