Thread (44 messages) 44 messages, 8 authors, 2021-05-17

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

From: Wolfram Sang <wsa@kernel.org>
Date: 2021-02-22 14:13:59
Also in: linux-acpi, linux-i2c, lkml, platform-driver-x86

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@kernel.org>
Signed-off-by: Daniel Scally <djrscally@gmail.com>
I trust you guys:

Acked-by: Wolfram Sang <wsa@kernel.org> # for changing I2C core

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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help