From: Jean-Jacques Hiblot Date: Wed, 4 Jul 2018 15:10:06 +0200 Subject: [U-Boot] [PATCH v3 3/7] uclass: Add dev_get_uclass_index() to get the uclass/index of a device In-Reply-To: References: <1529670334-21974-1-git-send-email-jjhiblot@ti.com> <1529670334-21974-4-git-send-email-jjhiblot@ti.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 30/06/2018 06:19, Simon Glass wrote: > Hi Jean-Jacques, > > On 22 June 2018 at 05:25, Jean-Jacques Hiblot wrote: >> This function is the reciprocal of uclass_find_device(). >> It will be used to print the index information in dm tree dump. >> >> Signed-off-by: Jean-Jacques Hiblot >> >> --- >> >> Changes in v3: >> - update commit log >> - fixed problem with the function name >> >> Changes in v2: None >> >> drivers/core/uclass.c | 21 +++++++++++++++++++++ >> include/dm/uclass-internal.h | 11 +++++++++++ >> 2 files changed, 32 insertions(+) >> > Reviewed-by: Simon Glass > > But this does need a sandbox test in test/dm/ofnode.c. I will not be able to add one before a few weeks. JJ >