[U-Boot] [PATCH v4 3/7] uclass: Add dev_get_uclass_index() to get the uclass/index of a device

Simon Glass sjg at chromium.org
Fri Aug 17 12:48:37 UTC 2018


On 9 August 2018 at 08:17, Jean-Jacques Hiblot <jjhiblot at ti.com> 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 <jjhiblot at ti.com>
>
> ---
>
> Changes in v4: None
> 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 <sjg at chromium.org>


More information about the U-Boot mailing list