mbox series

[RFC,v2,0/2] platform/x86: Allow retrieving the number of WMI object instances

Message ID 20230426212848.108562-1-W_Armin@gmx.de (mailing list archive)
Headers show
Series platform/x86: Allow retrieving the number of WMI object instances | expand

Message

Armin Wolf April 26, 2023, 9:28 p.m. UTC
This experimental patch series allows WMI drivers to retrieve
the number of WMI object instances. This functionallity benefits
several current and upcoming WMI drivers, the dell-wmi-sysman driver
is converted to use this new API as an example.

The changes are compile-tested only, the change to the dell-wmi-sysman
driver also needs to be tested on real hardware.

Armin Wolf (2):
  platform/x86: wmi: Allow retrieving the number of WMI object instances
  platform/x86: dell-sysman: Improve instance detection

 .../x86/dell/dell-wmi-sysman/sysman.c         | 15 ++++---
 drivers/platform/x86/wmi.c                    | 40 +++++++++++++++++++
 include/linux/acpi.h                          |  2 +
 include/linux/wmi.h                           |  2 +
 4 files changed, 51 insertions(+), 8 deletions(-)

--
2.30.2