diff options
author | 2022-09-22 00:04:35 +0100 | |
---|---|---|
committer | 2022-09-24 19:12:32 +0200 | |
commit | cca8a7efea6402f463239a1bb337d01b0cad7b2e (patch) | |
tree | eb7ce6efbf056a9a0703df30358d8c15f60390b4 /drivers/fpga/fpga-bridge.c | |
parent | ACPI: property: Use acpi_dev_parent() (diff) | |
download | wireguard-linux-cca8a7efea6402f463239a1bb337d01b0cad7b2e.tar.xz wireguard-linux-cca8a7efea6402f463239a1bb337d01b0cad7b2e.zip |
ACPI: scan: Add acpi_dev_get_next_consumer_dev()
In commit b83e2b306736 ("ACPI: scan: Add function to fetch dependent
of ACPI device") we added a means of fetching the first device to
declare itself dependent on another ACPI device in the _DEP method.
One assumption in that patch was that there would only be a single
consuming device, but this has not held.
Replace that function with a new function that fetches the next consumer
of a supplier device. Where no "previous" consumer is passed in, it
behaves identically to the original function.
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>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions