On Wed, Apr 26, 2023 at 11:28:47PM +0200, Armin Wolf wrote: > Currently, the WMI driver core knows how many instances of a given > WMI object exist, but WMI drivers cannot access this information. > At the same time, some current and upcoming WMI drivers want to > have access to this information. Add wmi_instance_count() and > wmidev_instance_count() to allow WMI drivers to get the number of > WMI object instances. > > Signed-off-by: Armin Wolf <W_Armin@xxxxxx> Tested-by: James Seo <james@xxxxxxxxxx>