dm: core: Allow uclass to set up a device's child after it is probed
authorBin Meng <bmeng.cn@gmail.com>
Mon, 15 Oct 2018 09:20:57 +0000 (02:20 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 14 Nov 2018 17:16:27 +0000 (09:16 -0800)
commit651d0c019a428ca8b14352210c1ce7804dd51fae
tree899f50340f961295b0b7e4cfac051e9d823d20d4
parenta6d4b0608b79023c703ca2ad1cbdfa784160449b
dm: core: Allow uclass to set up a device's child after it is probed

Some buses need to set up their child devices after they are probed.
Support a common child_post_probe() method for the uclass.

With this change, the two APIs uclass_pre_probe_device() and
uclass_post_probe_device() become symmetric.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/core/uclass.c
include/dm/uclass.h