dm: simplify uclass_foreach_dev() implementation
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 10 Aug 2015 16:09:43 +0000 (01:09 +0900)
committerSimon Glass <sjg@chromium.org>
Mon, 31 Aug 2015 13:56:44 +0000 (07:56 -0600)
commit71f1e3f19d26c7956de5c37035478fcaa9e979e7
tree743c22490ef1225c13fcde7e4f968daaeb396d7e
parentf875bbb49111c308b90b9ca74d1b79f69498b278
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