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 <sean...@gmail.com> --- drivers/core/device-remove.c | 4 ++-- drivers/core/device.c | 21 ++++++++++----------- drivers/core/devres.c | 2 +- drivers/core/dump.c | 2 +- 4 files changed, 14 insertions(+), 15 deletions(-) Applied to u-boot-dm, thanks!