commit | 3abe1115355900172a8681f5e6fa01ca71a9b916 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Nov 18 08:14:31 2018 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Nov 29 09:30:05 2018 -0700 |
tree | 9c2aeebe14de6b7c227845d8b2df0372bc81cd8f | |
parent | d0b4f68d199c075f5d734cf184f7eaf1a642083d [diff] |
dm: core: Add a few more specific child-finding functions Add two functions which can find a child device by uclass or by name. The first is useful with Multi-Function-Devices (MFDs) to find one of a particular type. The second is useful when only the name is known. Signed-off-by: Simon Glass <sjg@chromium.org>