dm: Move device display into its own function
authorSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 12:55:10 +0000 (06:55 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 23 Jul 2014 13:07:25 +0000 (14:07 +0100)
commitfffa24d7c5998a5821c423ef07bdbc8c4d7bdcf1
tree0da47ddd50a76379de25c163ce02470065097d9f
parent5c33c9fdbb3f074676466b18c95dd64e8e6cf6d7
dm: Move device display into its own function

The device display for 'dm tree' and 'dm uclass' is mostly the same, so
move it into a common function.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/dm/cmd_dm.c