]> Git Repo - u-boot.git/commit - test/dm/test-fdt.c
dm: core: Add a few more specific child-finding functions
authorSimon Glass <[email protected]>
Sun, 18 Nov 2018 15:14:31 +0000 (08:14 -0700)
committerSimon Glass <[email protected]>
Thu, 29 Nov 2018 16:30:05 +0000 (09:30 -0700)
commit3abe1115355900172a8681f5e6fa01ca71a9b916
tree9c2aeebe14de6b7c227845d8b2df0372bc81cd8f
parentd0b4f68d199c075f5d734cf184f7eaf1a642083d
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 <[email protected]>
drivers/core/device.c
include/dm/device.h
test/dm/test-fdt.c
This page took 0.046456 seconds and 4 git commands to generate.