]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: print the index of the device when dumping the dm tree
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Thu, 9 Aug 2018 14:17:43 +0000 (16:17 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 21 Aug 2018 14:21:37 +0000 (16:21 +0200)
commit999b204383ffb4eee1467604a935ed3a670c460e
tree0a4faf00e9082f3348b4b6f243fc7c1bf48f536d
parente7c865620e569df493e67d3772673108fce62064
dm: print the index of the device when dumping the dm tree

Command "dm tree" dumps the devices with class, driver, name information.
Add the index of the device in the class too, because the information is
useful for the bind/unbind commands.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/core/dump.c