Since the ofdata_to_platdata() method can allocate resources, add it as a new devres phase.
Signed-off-by: Simon Glass <s...@chromium.org> --- drivers/core/devres.c | 18 +++++++++++++----- include/test/test.h | 3 ++- test/dm/devres.c | 14 +++++++++++--- test/dm/test-fdt.c | 11 +++++++++++ 4 files changed, 37 insertions(+), 9 deletions(-) Applied to u-boot-dm, thanks!