[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230430203153.5587-1-W_Armin@gmx.de>
Date: Sun, 30 Apr 2023 22:31:51 +0200
From: Armin Wolf <W_Armin@....de>
To: hdegoede@...hat.com, markgross@...nel.org
Cc: Mario.Limonciello@....com, prasanth.ksr@...l.com,
jorgealtxwork@...il.com, james@...iv.tech,
Dell.Client.Kernel@...l.com, platform-driver-x86@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] platform/x86: Allow retrieving the number of WMI object instances
This patch series allows WMI drivers to retrieve the number of
WMI object instances. This functionality 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.
Changes since RFC v2:
- modify wmi_instance_count() to return an integer
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 | 13 +++---
drivers/platform/x86/wmi.c | 41 +++++++++++++++++++
include/linux/acpi.h | 2 +
include/linux/wmi.h | 2 +
4 files changed, 50 insertions(+), 8 deletions(-)
--
2.30.2
Powered by blists - more mailing lists