commit | a11341a5a3dd17d645999e6bba9acca3eba80aa6 | [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 | dc3efdc2b07836d83273c6de9272d6cc52faa107 [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>