mirror-linux/include/linux/device
Danilo Krummrich 08a5579224 driver-core: move devres_for_each_res() to base.h
devres_for_each_res() is only used by .../firmware_loader/main.c, which
already includes base.h.

The usage of devres_for_each_res() by code outside of driver-core is
questionable, hence move it to base.h.

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/20260119162920.77189-1-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
2026-01-22 17:13:36 +01:00
..
bus.h driver core: make bus_find_device_by_acpi_dev() stub prototype aligned 2026-01-10 01:03:53 +01:00
class.h driver core: class: Remove needless return in void API class_remove_file() 2025-02-20 12:47:56 +01:00
devres.h driver-core: move devres_for_each_res() to base.h 2026-01-22 17:13:36 +01:00
driver.h driver core: Introduce device_iter_t for device iterating APIs 2025-01-10 15:26:12 +01:00
faux.h driver core: add a faux bus for use when a simple device/bus is needed 2025-02-13 16:58:51 +01:00