Skip to content

Commit 5984b40

Browse files
Wer-Wolfjwrdegoede
authored andcommitted
platform/x86: wmi: Update WMI driver API documentation
The WMI driver core now passes the WMI event data to legacy notify handlers, so WMI devices sharing notification IDs are now being handled properly. Fixes: e04e2b7 ("platform/x86: wmi: Pass event data directly to legacy notify handlers") Signed-off-by: Armin Wolf <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
1 parent 7b954b9 commit 5984b40

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Documentation/driver-api/wmi.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@ WMI Driver API
77
The WMI driver core supports a more modern bus-based interface for interacting
88
with WMI devices, and an older GUID-based interface. The latter interface is
99
considered to be deprecated, so new WMI drivers should generally avoid it since
10-
it has some issues with multiple WMI devices and events sharing the same GUIDs
11-
and/or notification IDs. The modern bus-based interface instead maps each
12-
WMI device to a :c:type:`struct wmi_device <wmi_device>`, so it supports
13-
WMI devices sharing GUIDs and/or notification IDs. Drivers can then register
14-
a :c:type:`struct wmi_driver <wmi_driver>`, which will be bound to compatible
15-
WMI devices by the driver core.
10+
it has some issues with multiple WMI devices sharing the same GUID.
11+
The modern bus-based interface instead maps each WMI device to a
12+
:c:type:`struct wmi_device <wmi_device>`, so it supports WMI devices sharing the
13+
same GUID. Drivers can then register a :c:type:`struct wmi_driver <wmi_driver>`
14+
which will be bound to compatible WMI devices by the driver core.
1615

1716
.. kernel-doc:: include/linux/wmi.h
1817
:internal:

0 commit comments

Comments
 (0)