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
..
2018-01-28 17:12:36 +01:00
2017-06-01 07:03:01 -06:00
2017-10-04 12:00:21 -04:00
2017-10-04 12:00:21 -04:00
2017-10-04 12:00:21 -04:00
2018-01-24 11:28:44 -05:00
2018-01-15 11:35:38 -05:00
2017-10-04 12:00:21 -04:00