Files
Mark Langsdorf a04903a5a4 driver-core: move devres_for_each_res() to base.h
JIRA: https://issues.redhat.com/browse/RHEL-156429

commit 08a55792245a7bd395c947ff88b08b6abdd56f93
Author: Danilo Krummrich <dakr@kernel.org>
Date: Thu, 22 Jan 2026 17:13:36 +0000

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>
Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>
2026-04-15 10:48:45 -04:00
..