dm: simplify uclass_foreach_dev() implementation
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 10 Aug 2015 16:09:43 +0000 (01:09 +0900)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 10:19:15 +0000 (12:19 +0200)
commit682872b8e93bd4b68d3dc93bc738800f9f545ae8
treecdd0273d1e7edf7a11c3995aca10aeca793f4b05
parent5438875c4ddfae1ac65a8fd2f7fb4f6b8b27bdba
dm: simplify uclass_foreach_dev() implementation

This can be simply written with list_for_each_entry(), maybe
this macro was not necessary in the first place.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Simon Glass <sjg@chromium.org>
include/dm/uclass.h