]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc22baa24c8307ecffed7711c62ddedd866ca66d0
treec668cd57f1447a6bf7d07fc743394cfa10791f3f
parent34fd0490952be7a2b63c9b33e74a0718754773a1
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