summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2026-04-06 23:32:32 +0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-04-13 14:11:18 +0300
commit7e2d964f417ec13763eecfecc5d2813f63cb8da0 (patch)
tree2112feaa9eeecb0d25603c2f7f601c0c0f9e627f /Documentation
parent0ec7f158dc01e354ba83d808e46346dba826e353 (diff)
downloadlinux-7e2d964f417ec13763eecfecc5d2813f63cb8da0.tar.xz
platform/wmi: Add wmidev_invoke_procedure()
Some WMI methods return no values, so the whole postprocessing of the result data is not needed for them. Add a special function for calling such WMI methods to prepare for future changes of the main wmidev_invoke_method() function. Signed-off-by: Armin Wolf <W_Armin@gmx.de> Link: https://patch.msgid.link/20260406203237.2970-2-W_Armin@gmx.de Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/wmi/driver-development-guide.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/wmi/driver-development-guide.rst b/Documentation/wmi/driver-development-guide.rst
index fbc2d9b12fe9..5b94402874c4 100644
--- a/Documentation/wmi/driver-development-guide.rst
+++ b/Documentation/wmi/driver-development-guide.rst
@@ -106,7 +106,8 @@ WMI method drivers
WMI drivers can call WMI device methods using wmidev_invoke_method(). For each WMI method
invocation the WMI driver needs to provide the instance number and the method ID, as well as
-a buffer with the method arguments and optionally a buffer for the results.
+a buffer with the method arguments and optionally a buffer for the results. When calling WMI
+methods that do not return any values, wmidev_invoke_procedure() should be used instead.
The layout of said buffers is device-specific and described by the Binary MOF data associated
with a given WMI device. Said Binary MOF data also describes the method ID of a given WMI method