mirror of
https://github.com/frank-w/u-boot.git
synced 2026-01-13 07:07:28 +08:00
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. Signed-off-by: Simon Glass <sjg@chromium.org>