]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Use device_foreach_child where possible
authorSean Anderson <seanga2@gmail.com>
Wed, 30 Mar 2022 16:26:40 +0000 (12:26 -0400)
committerSimon Glass <sjg@chromium.org>
Tue, 28 Jun 2022 02:09:51 +0000 (03:09 +0100)
commit501a9a7ed803ac948adb392e541f9da9bafad60e
treeba8d53d511cc84bebb3aa93ade42d8af350237cd
parent8b52f237f0f8ae63c930fa8459c39ab87367bad1
dm: core: Use device_foreach_child where possible

We have some nice macros for iterating over devices in device.h, but they
are not used by the driver core. Convert all the users I could find.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
drivers/core/device-remove.c
drivers/core/device.c
drivers/core/devres.c
drivers/core/dump.c