dm: core: Allocate parent data separate from probing parent 39/268139/1
authorSimon Glass <sjg@chromium.org>
Mon, 30 Dec 2019 04:19:18 +0000 (21:19 -0700)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 16 Dec 2021 11:38:24 +0000 (20:38 +0900)
commit93ad5fde43700ef4e696d45172219deb9fd0be01
tree1cad957fc804dfb6138a3e84eee4ba14867648bb
parentd97c0dfad60fc24c83a7f5f60776f4ed818e6ca8
dm: core: Allocate parent data separate from probing parent

At present the parent is probed before the child's ofdata_to_platdata()
method is called. Adjust the logic slightly so that probing parents is
not done until afterwards.

Change-Id: Ifa963cc3b287a746bc263a99a1526d3a36c2bbc7
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c