summaryrefslogtreecommitdiffstats
path: root/drivers/pnp
diff options
context:
space:
mode:
authorDaniel Scally <djrscally@gmail.com>2022-09-22 00:04:35 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-09-24 19:12:32 +0200
commitcca8a7efea6402f463239a1bb337d01b0cad7b2e (patch)
treeeb7ce6efbf056a9a0703df30358d8c15f60390b4 /drivers/pnp
parent98378956a407392109817278c6edd464252c7a83 (diff)
downloadlinux-cca8a7efea6402f463239a1bb337d01b0cad7b2e.tar.gz
linux-cca8a7efea6402f463239a1bb337d01b0cad7b2e.tar.bz2
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/pnp')
0 files changed, 0 insertions, 0 deletions