]> git.sur5r.net Git - u-boot/commit
dm: core: Add safe device iteration macros
authorSimon Glass <sjg@chromium.org>
Mon, 9 Nov 2015 06:47:52 +0000 (23:47 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:27:51 +0000 (20:27 -0700)
commit7aeac5bc8c5903b8d27188a21b39f0b2c4bd13c1
treed2bc124ba0ef8028c5e183e8112b317b30621f43
parent45bfa47e123cdb0df8e273e3f0c84907c7394f6a
dm: core: Add safe device iteration macros

Add iteration macros which support unbinding a device within the loop.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/dm/device.h
include/dm/uclass.h