]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
platform/x86: asus-wmi: remove unused keyboard backlight quirk
authorAntheas Kapenekakis <lkml@antheas.dev>
Thu, 22 Jan 2026 07:50:42 +0000 (08:50 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 28 Jan 2026 12:02:33 +0000 (14:02 +0200)
The quirk for selecting whether keyboard backlight should be controlled
by HID or WMI is not needed anymore, so remove the file containing it.

Reviewed-by: Denis Benato <benato.denis96@gmail.com>
Acked-by: Benjamin Tissoires <bentiss@kernel.org>
Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev>
Link: https://patch.msgid.link/20260122075044.5070-10-lkml@antheas.dev
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
include/linux/platform_data/x86/asus-wmi-leds-ids.h [deleted file]

diff --git a/include/linux/platform_data/x86/asus-wmi-leds-ids.h b/include/linux/platform_data/x86/asus-wmi-leds-ids.h
deleted file mode 100644 (file)
index 034a039..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef __PLATFORM_DATA_X86_ASUS_WMI_LEDS_IDS_H
-#define __PLATFORM_DATA_X86_ASUS_WMI_LEDS_IDS_H
-
-#include <linux/dmi.h>
-#include <linux/types.h>
-
-/* To be used by both hid-asus and asus-wmi to determine which controls kbd_brightness */
-#if IS_REACHABLE(CONFIG_ASUS_WMI) || IS_REACHABLE(CONFIG_HID_ASUS)
-static const struct dmi_system_id asus_use_hid_led_dmi_ids[] = {
-       {
-               .matches = {
-                       DMI_MATCH(DMI_PRODUCT_FAMILY, "ROG Zephyrus"),
-               },
-       },
-       {
-               .matches = {
-                       DMI_MATCH(DMI_PRODUCT_FAMILY, "ROG Strix"),
-               },
-       },
-       {
-               .matches = {
-                       DMI_MATCH(DMI_PRODUCT_FAMILY, "ROG Flow"),
-               },
-       },
-       {
-               .matches = {
-                       DMI_MATCH(DMI_PRODUCT_FAMILY, "ProArt P16"),
-               },
-       },
-       {
-               .matches = {
-                       DMI_MATCH(DMI_BOARD_NAME, "GA403U"),
-               },
-       },
-       {
-               .matches = {
-                       DMI_MATCH(DMI_BOARD_NAME, "GU605M"),
-               },
-       },
-       {
-               .matches = {
-                       DMI_MATCH(DMI_BOARD_NAME, "RC71L"),
-               },
-       },
-       { },
-};
-#endif
-
-#endif /* __PLATFORM_DATA_X86_ASUS_WMI_LEDS_IDS_H */