summaryrefslogtreecommitdiff
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2026-01-16 21:41:10 +0100
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-01-20 15:47:51 +0200
commitb990a06f7ec6dc3ceecd8015c3b421690f267122 (patch)
treece0588a06555f46bfb73e3c809aa6797e54f58e1 /Documentation/driver-api
parent29dfba69c3ddb7945cd772042c6a9ce770c1ba22 (diff)
platform/wmi: Add helper functions for WMI string conversions
WMI strings are encoded using UTF16-LE characters, forcing WMI drivers to manually convert them to/from standard UTF8 strings. Add a two helper functions for those tasks. Signed-off-by: Armin Wolf <W_Armin@gmx.de> Link: https://patch.msgid.link/20260116204116.4030-4-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/driver-api')
-rw-r--r--Documentation/driver-api/wmi.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/driver-api/wmi.rst b/Documentation/driver-api/wmi.rst
index db835b43c937..b847bcdcbb09 100644
--- a/Documentation/driver-api/wmi.rst
+++ b/Documentation/driver-api/wmi.rst
@@ -16,5 +16,8 @@ which will be bound to compatible WMI devices by the driver core.
.. kernel-doc:: include/linux/wmi.h
:internal:
+.. kernel-doc:: drivers/platform/wmi/string.c
+ :export:
+
.. kernel-doc:: drivers/platform/wmi/core.c
:export: