hwmon: (hp-wmi-sensors) Get WMI instance count from WMI driver core
authorJames Seo <james@equiv.tech>
Sat, 22 Jul 2023 17:25:13 +0000 (10:25 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 21 Aug 2023 13:04:30 +0000 (06:04 -0700)
commit10a7a334d3a1f2d888a42a3c956813274ffb8a9c
tree3dc186bd69e32e45cd236a2edcdd92eed55b72e7
parent4f65c15cf70eb22c074889af60b9d2bcffbb375a
hwmon: (hp-wmi-sensors) Get WMI instance count from WMI driver core

Commit 2a2b13ae50cf ("platform/x86: wmi: Allow retrieving the number of
WMI object instances") means we no longer need to find this ourselves.

Signed-off-by: James Seo <james@equiv.tech>
Link: https://lore.kernel.org/r/20230722172513.9324-2-james@equiv.tech
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/hp-wmi-sensors.c