]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/wmi: Add wmidev_invoke_procedure()
authorArmin Wolf <W_Armin@gmx.de>
Mon, 6 Apr 2026 20:32:32 +0000 (22:32 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 13 Apr 2026 11:11:18 +0000 (14:11 +0300)
commit7e2d964f417ec13763eecfecc5d2813f63cb8da0
tree2112feaa9eeecb0d25603c2f7f601c0c0f9e627f
parent0ec7f158dc01e354ba83d808e46346dba826e353
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>
Documentation/wmi/driver-development-guide.rst
drivers/platform/wmi/core.c
include/linux/wmi.h