commit | 0a5f6f869f1c2c6e9f75d83203754937014cbe47 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Oct 05 20:42:13 2016 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Tue Oct 11 11:55:33 2016 +0800 |
tree | 998b48a943323c397a2c1b856672b77841858039 | |
parent | 5023bd7a804e09d0bf4937d8fecb5d85af6dba3c [diff] |
dm: core: Add a function to get a uclass name 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 <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>