It is not possible to remove the state before driver model is uninited, since the devices are allocated in the memory buffer. Also it is not possible to uninit driver model afterwards, since the RAM has been freed.
Drop the uninit altogether, since it is not actually necessary. Signed-off-by: Simon Glass <s...@chromium.org> --- arch/sandbox/cpu/cpu.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) Applied to u-boot-dm/next, thanks!