Re: [PATCH v3 1/6] ACPI: scan: Extend acpi_walk_dep_device_list()

From: Wolfram Sang
Date: Mon Feb 22 2021 - 09:13:56 EST


On Mon, Feb 22, 2021 at 01:07:30PM +0000, Daniel Scally wrote:
> The acpi_walk_dep_device_list() is not as generalisable as its name
> implies, serving only to decrement the dependency count for each
> dependent device of the input. Extend the function to instead accept
> a callback which can be applied to all the dependencies in acpi_dep_list.
> Replace all existing calls to the function with calls to a wrapper, passing
> a callback that applies the same dependency reduction.
>
> Suggested-by: Rafael J. Wysocki <rafael@xxxxxxxxxx>
> Signed-off-by: Daniel Scally <djrscally@xxxxxxxxx>

I trust you guys:

Acked-by: Wolfram Sang <wsa@xxxxxxxxxx> # for changing I2C core

I might need an immutable branch, though, if this is somehow possible.

Attachment: signature.asc
Description: PGP signature