Re: [U-Boot] [PATCH 05/12] dm: core: Add a function to get a uclass name

2016-10-05 Thread Bin Meng
On Mon, Oct 3, 2016 at 11:12 AM, Simon Glass wrote: > It is useful in debug() statements to display the name of the uclass for a > device. Add a simple function to provide this. > > Signed-off-by: Simon Glass > --- > > drivers/core/uclass.c | 9 + > include/dm/uclass.h | 8 >

[U-Boot] [PATCH 05/12] dm: core: Add a function to get a uclass name

2016-10-02 Thread Simon Glass
It is useful in debug() statements to display the name of the uclass for a device. Add a simple function to provide this. Signed-off-by: Simon Glass --- drivers/core/uclass.c | 9 + include/dm/uclass.h | 8 2 files changed, 17 insertions(+) diff --git a/drivers/core/uclass.c