]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: asus-wmi: export symbols used for read/write WMI
authorLuke D. Jones <luke@ljones.dev>
Sun, 2 Nov 2025 21:53:11 +0000 (22:53 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 10 Nov 2025 14:46:01 +0000 (16:46 +0200)
commit22ea7b9d96e26147b7a3ea1be7aa106cc700907c
tree696f3c18a79318b0b9b13f5ca68992370aafa658
parentff49362eca17114bf36240f7531c2060127778d1
platform/x86: asus-wmi: export symbols used for read/write WMI

Export symbols for reading/writing WMI symbols using a namespace.
Existing functions:
- asus_wmi_evaluate_method
- asus_wmi_set_devstate
New function:
- asus_wmi_get_devstate_dsts

The new function is intended for use with DSTS WMI method only and
avoids requiring the asus_wmi driver data to select the WMI method.

Co-developed-by: Denis Benato <denis.benato@linux.dev>
Signed-off-by: Denis Benato <denis.benato@linux.dev>
Signed-off-by: Luke D. Jones <luke@ljones.dev>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://patch.msgid.link/20251102215319.3126879-2-denis.benato@linux.dev
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/asus-wmi.c
include/linux/platform_data/x86/asus-wmi.h