ACPI: bus: Add iterator for dependent devices
authorDaniel Scally <djrscally@gmail.com>
Wed, 21 Sep 2022 23:04:36 +0000 (00:04 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 24 Sep 2022 17:12:32 +0000 (19:12 +0200)
commit62c8bc0d27a784b09114d67c33e8fa83f350fa77
treec668cd57f1447a6bf7d07fc743394cfa10791f3f
parentcca8a7efea6402f463239a1bb337d01b0cad7b2e
ACPI: bus: Add iterator for dependent devices

Add a helper macro to iterate over ACPI devices that are flagged
as consumers of an initial supplier ACPI device.

Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Daniel Scally <djrscally@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/acpi/acpi_bus.h