mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] platform/x86: Allow retrieving the number of WMI object instances
@ 2023-04-30 20:31 Armin Wolf
  2023-04-30 20:31 ` [PATCH 1/2] platform/x86: wmi: " Armin Wolf
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Armin Wolf @ 2023-04-30 20:31 UTC (permalink / raw)
  To: hdegoede, markgross
  Cc: Mario.Limonciello, prasanth.ksr, jorgealtxwork, james,
	Dell.Client.Kernel, platform-driver-x86, linux-kernel

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-05-09 10:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-30 20:31 [PATCH 0/2] platform/x86: Allow retrieving the number of WMI object instances Armin Wolf
2023-04-30 20:31 ` [PATCH 1/2] platform/x86: wmi: " Armin Wolf
2023-04-30 20:41   ` Hans de Goede
2023-04-30 21:01     ` Armin Wolf
2023-05-01  9:31       ` Hans de Goede
2023-04-30 20:31 ` [PATCH 2/2] platform/x86: dell-sysman: Improve instance detection Armin Wolf
2023-05-09 10:10 ` [PATCH 0/2] platform/x86: Allow retrieving the number of WMI object instances Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®