Each uclass has a driver name which we can use to look up the uclass. This is useful for logging, where the uclass ID is used as the category. Add a function to handle this, as well as a test. Change-Id: Id221809d6f9f818b52a5bf88f4e12d409a070f05 Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 6e43d1b19982b1756b7c607569d1778e556d6577) |
||
|---|---|---|
| .. | ||
| platform_data | ||
| device-internal.h | ||
| device.h | ||
| fdtaddr.h | ||
| lists.h | ||
| of.h | ||
| of_access.h | ||
| of_addr.h | ||
| of_extra.h | ||
| ofnode.h | ||
| pinctrl.h | ||
| platdata.h | ||
| read.h | ||
| root.h | ||
| test.h | ||
| uclass-id.h | ||
| uclass-internal.h | ||
| uclass.h | ||
| util.h | ||