Simon Glass 6e43d1b199 dm: core: Add a function to look up a uclass by name
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>
2018-02-03 10:08:40 -07:00
..
2017-09-11 21:43:58 -06:00
2018-01-22 23:09:14 +01:00
2017-10-04 12:00:21 -04:00