uclass: Use uclass_foreach_dev() macro instead of open coding
authorLiviu Dudau <Liviu.Dudau@foss.arm.com>
Fri, 28 Sep 2018 13:12:55 +0000 (14:12 +0100)
committerSimon Glass <sjg@chromium.org>
Wed, 14 Nov 2018 17:16:28 +0000 (09:16 -0800)
commit81f351d6e7ebb371de8ea849fc21dd07dc2eff24
tree9097708fe12d8e6245018b927de658f62b240c36
parent216460ec12cce2a6b7fa83f42a48ed20d448e0dc
uclass: Use uclass_foreach_dev() macro instead of open coding

Use the uclass_foreach_dev() macro instead of the open coded version.

Signed-off-by: Liviu Dudau <liviu.dudau@foss.arm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/core/dump.c
drivers/core/uclass.c